MCP-Demo
by tatocode
MCP-演示
此仓库包含一个 MCP 演示的精简版本。该项目旨在演示使用qwen API 接口的 MCP 服务和客户端的基本功能。
特征
轻量级和最小的实现。
使用
uv进行依赖管理。与
qwenAPI 集成。
Related MCP server: emqx-mcp-server
先决条件
在使用此存储库之前,请确保已安装以下内容:
Python 3.10 或更高版本
uv包管理器
设置说明
克隆存储库:
git clone https://github.com/tatocode/MCP-Demo.git cd MCP-Demo使用
uv安装依赖项:uv sync在项目的根目录中创建一个
.env文件并添加您的 API 密钥:API-KEY=xxxx将
xxxx替换为qwenAPI 的实际 API 密钥。运行项目:
uv run main.py mcp_server.py
笔记
.env文件是确保项目正常运行所必需的。请勿公开您的 API 密钥。有关
qwenAPI 的更多信息,请参阅其官方文档。
执照
本项目遵循 MIT 许可证。详情请参阅LICENSE文件。
贡献
欢迎贡献代码!欢迎随时提交 issue 或 PR,以改进本项目。
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tatocode/MCP-Demo'
If you have feedback or need assistance with the MCP directory API, please join our Discord server