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 与智能体 分类下的更多 MCP 服务器