Mcp Demos

by jinzcdev

12 202 downloads Not rated yet MIT

About

Mcp Demos is a repository of example projects that demonstrate how to build applications using the Model Context Protocol (MCP). It includes three subprojects: a Node.js weather server, a Python file system server, and an MCP client demo. It is intended for developers learning…

Details

License
MIT

Explore

- Node.js weather MCP server with forecasts and alerts
- Python file system MCP server with multiple file operations
- MCP client demo that connects to multiple servers
- Shows available tools from each connected server
- Each subproject is self-contained with its own setup
- Based on official MCP examples

Each subproject has its own installation and running instructions. Refer to the README.md file inside each subproject’s directory for details.

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

项目列表

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

通用安装步骤

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

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.