
mcp_test
测试仓库
Repository Info
About This Server
测试仓库
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
MCP测试仓库
这是一个示例仓库,包含了多个使用Model Context Protocol (MCP)协议的应用示例。MCP是一个允许应用程序与大型语言模型(如Claude)交互的协议。
仓库内容
本仓库包含以下示例:
- BMI计算服务:一个完整的MCP应用示例,可以计算BMI指数并提供健康建议
- 简单计算服务:一个基础的MCP服务示例,展示基本的工具定义和使用
- 时间服务:一个使用TypeScript的MCP服务示例
快速开始
安装依赖
pip install -r requirements.txt
运行BMI计算服务
python app.py
服务将在 http://localhost:8000 上启动。
与Claude集成
要将BMI服务与Claude Desktop集成,可以使用:
fastmcp install app.py
或复制claude_desktop_config.json到Claude Desktop的配置目录。
文件说明
app.py: 主要的BMI计算服务应用server.py: 简单MCP服务器示例requirements.txt: 项目依赖claude_desktop_config.json: Claude Desktop集成配置操作指引.md: 详细的操作指南bmi_service/: BMI计算服务的独立实现src/services/: 其他服务实现示例
更多信息
详细的使用说明和操作步骤请参考操作指引文档。
关于MCP
MCP(Model Context Protocol)是一个允许应用程序与大型语言模型交互的协议,提供三种基本功能:
- 资源(Resources):应用程序控制的上下文数据
- 工具(Tools):模型可以调用的函数
- 提示(Prompts):用户控制的交互模板
更多信息请参考:
- MCP GitHub仓库
- fastmcp GitHub仓库
Quick Start
Clone the repository
git clone https://github.com/alchaincyf/mcp_testInstall dependencies
cd mcp_test
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.