mcp-quickstart

このプロジェクトは、Model Context Protocol (MCP) サーバーを簡単にセットアップするためのクイックスタートガイドです。Bunを使用して依存関係をインストールし、サーバーのパスを設定する手順が示されています。特に、Claudeデスクトップアプリとの連携が強調されており、天気情報を取得するための具体的な設定方法が提供されています。

GitHubスター

13

ユーザー評価

未評価

お気に入り

0

閲覧数

39

フォーク

2

イシュー

2

README
MCP Server Quickstart

Setup a Model Context Protocol (MCP) server in 60 seconds.

https://github.com/user-attachments/assets/19a2248a-64f4-4e0b-aedc-55eb51c7cbfe

Usage
  1. Ensure you have Bun installed.
  2. Clone the repo and install dependencies:
    git clone https://github.com/dexaai/mcp-quickstart.git mcp-quickstart && cd mcp-quickstart && bun install
    
  3. Copy the absolute path to the server:
    realpath server.ts | pbcopy
    
  4. Open the Claude desktop app config:
    vim ~/Library/Application\ Support/Claude/claude_desktop_config.json
    
  5. Add the server config with the path from step 3 instead of <path/to/repo>/server.ts.
    {
      "mcpServers": {
        "weather-quickstart": {
          "command": "bun",
          "args": ["<path/to/repo>/server.ts"]
        }
      }
    }
    
  6. Restart the Claude desktop app and ask for the weather.