用于测试的 echo-mcp 服务器
一个简单的 echo MCP(模型上下文协议)服务器,带有一个简单的echo_tool
,用于测试 MCP 客户端。它也可以作为新建 MCP 服务器的模板。
用法
安装uv并使用uvx
将服务器添加到 MCP 配置:
或者克隆 repo 并使用带有目录的uv
:
发展
测试
克隆 repo 并使用mcp-client-for-testing测试服务器的工具。
格式化和 Linting
代码已使用 ruff 格式化并进行了 lint:
用紫外线建造
使用 uv 构建包:
发布新版本
要将软件包的新版本发布到 PyPI,请创建并推送新的 Git 标签:
- 检出主分支并获取当前版本:
- 创建并推送新的 Git 标签:
推送新标签时,GitHub Actions 工作流程将自动构建包并将其发布到 PyPI。Python 包版本号将直接从 Git 标签获取。
执照
本项目遵循 MIT 许可证。详情请参阅许可证文件。
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
一个实现模型上下文协议 (MCP) 的简单服务器,用于回显消息,旨在测试 MCP 客户端。
Related MCP Servers
- AsecurityAlicenseAqualityA beginner-friendly Model Context Protocol (MCP) server that helps users understand MCP concepts, provides interactive examples, and lists available MCP servers. This server is designed to be a helpful companion for developers working with MCP. Also comes with a huge list of servers you can install.Last updated -3936JavaScriptApache 2.0
- AsecurityFlicenseAqualityA Model Context Protocol (MCP) server that provides a simple sleep/wait tool, useful for adding delays between operations such as waiting between API calls or testing eventually consistent systems.Last updated -167JavaScript
- -security-license-qualityA specialized server that helps users create new Model Context Protocol (MCP) servers by providing tools and templates for scaffolding projects with various capabilities.Last updated -1TypeScript
- AsecurityFlicenseAqualityA Model Context Protocol (MCP) server that interacts with system APIs, allowing users to check connections, search employees, register breakfast, and update chemical information by shifts.Last updated -2137JavaScript