trackmcp
Back to directory

《从原理到实战:掌握 MCP》系列文章的示例代码库

9 stars PythonServers & Infrastructure Updated Aug 26, 2025
mcpmcp-server

Documentation

《从原理到实战:掌握 MCP》系列文章的示例代码库

本仓库将在后续维护一系列使用 Model Context Protocol (MCP) 的示例项目,用于展示如何使用 MCP 协议构建应用程序。

项目列表

  • **weather-server-node**: 官方示例,基于 Node.js 的天气服务 MCP 服务器,提供天气预报和天气警报功能。
  • **simple-filesystem-server-python**: 基于 Python 的简易文件系统服务器,支持多种文件操作。
  • **mcp-client-demo**: MCP 客户端示例,创建多个 MCP 连接并打印各服务器的可用工具。

通用安装步骤

每个子项目都有自己的安装和运行说明,请参阅各个项目目录中的 README.md 文件。

Frequently asked questions

What is mcp-demos?

mcp-demos is 《从原理到实战:掌握 MCP》系列文章的示例代码库

How do I install mcp-demos?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is mcp-demos open source?

Yes — it is hosted on GitHub at https://github.com/jinzcdev/mcp-demos and has 9 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP