MCP.so
ログイン

Claude MCP Protocol Practice

@harshal-14

基本情報

カテゴリ

AI とエージェント

トランスポート

stdio

作者

harshal-14

Claude MCP Protocol Practice について

MCP server example practice

Claude MCP Protocol Practice の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "mcp_server_101": {
      "command": "uv",
      "args": [
        "run",
        "weather.py"
      ]
    }
  }
}

Claude MCP Protocol Practice のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Claude MCP Protocol Practice?

This repository is a practice session for the MIT Hack Decentralized AI summit. It includes basic steps to create a Claude MCP (Model Context Protocol) server up and running in under 5 minutes on Windows, with examples for a weather app and a SQLite bakery database.

How to use Claude MCP Protocol Practice?

For the weather server: navigate to the weather directory and run uv run weather.py. For the SQLite example: clone the MCP servers repository, build a Docker image, and update your claude_config.json with the appropriate command and arguments.

Key features of Claude MCP Protocol Practice

  • Weather app with alerts and forecast from a government API.
  • SQLite bakery database with low-stock alerts.
  • Set up a Claude MCP server in under 5 minutes.
  • Uses uv package manager for Python projects.
  • Docker container for the SQLite MCP server.
  • Configuration via the claude_config.json file.

Use cases of Claude MCP Protocol Practice

  • Practicing creation of MCP servers from scratch.
  • Querying weather alerts and forecasts through an LLM.
  • Managing bakery inventory with automated low-stock alerts.
  • Learning how to integrate a SQLite database with Claude Desktop.

よくある質問

1

What prerequisite is needed?

Make sure you run `pip install uv` before starting the weather server.

2

How do I configure Claude for the weather server?

Navigate to File → Settings → Developer → Edit Config and provide the absolute path to your Python file in `claude_config.json`.

3

What commands run the weather server?

Change to the `weather` directory and execute `uv run weather.py`.

4

How do I set up the SQLite bakery database?

Clone the MCP servers repository, navigate to the `sqlite` directory, build the Docker image (`docker build -t mcp/sqlite .`), update Claude’s config with the Docker command, then create the `ingredients` table and populate it with 10 ingredients.

5

What tools does the weather server provide?

The server makes tools available to the LLM for getting alerts and forecasts from a government API.

コメント

「AI とエージェント」の他のコンテンツ