mcp-demos
《从原理到实战:掌握 MCP》系列文章的示例代码库
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
Model Context Protocol with Neo4j Python-based implementation. Trusted by 700+ developers. Trusted by 700+ developers. Trusted by 700+ developers.
An LLM agent that conducts deep research (local and web) on any given topic and generates a long report with citations. Built for the Model Context Protocol to
Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth! Python-based implementation. Trusted by 11000+ developers.
AWS MCP Servers — helping you get the most out of AWS, wherever you use MCP. Python-based implementation. Trusted by 6900+ developers.
AI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP. Python-based implementation. Trusted by 4100+ developers.
A simple, secure MCP-to-OpenAPI proxy server Python-based implementation. Trusted by 3500+ developers. Trusted by 3500+ developers.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP