MCP Evaluation Server
一个基于FastMCP的MCP工具评估服务器,提供工具搜索、评估和分类功能。
功能特性
- 🔍 工具搜索:支持关键词、分类、评分等多维度搜索
- 🏆 热门工具:提供各类评分的热门工具排行榜
- 📊 详细评估:包含他山评分、实用性评分等多维度评估
- 📂 分类管理:按工具分类进行统计和展示
- 🏥 健康检查:实时监控服务状态
- 🚀 高性能:基于FastMCP框架,响应迅速
安装
从PyPI安装
pip install mcp-evaluation-server
使用uv安装
uv add mcp-evaluation-server
使用uvx运行(推荐)
无需安装,直接运行:
uvx mcp-evaluation-server
作为MCP服务器使用
本服务器可以作为MCP(Model Context Protocol)服务器在支持的AI客户端中使用,如Cursor、Cherry Studio等。
在Cursor中使用
-
打开Cursor设置
- 按下
Ctrl+,(Windows/Linux) 或Cmd+,(Mac) - 进入
Extensions→MCP
- 按下
-
添加MCP服务器配置 在
mcp.json配置文件中添加:{ "mcpServers": { "mcp-evaluation": { "command": "uvx", "args": ["mcp-evaluation-server"] } } }
-
重启Cursor
- 完成配置后重启Cursor使设置生效
-
使用功能
- 重启后,您可以在对话中直接询问关于MCP工具的问题
- 例如:"搜索GitHub相关的MCP工具"
- 或:"获取评分最高的MCP工具"
在Cherry Studio中使用
-
打开Cherry Studio
- 启动Cherry Studio应用
-
进入MCP设置
- 点击设置图标
- 找到MCP服务器配置选项
-
添加服务器 添加以下配置:
- 服务器名称:
mcp-evaluation - 命令:
uvx - 参数:
mcp-evaluation-server
- 服务器名称:
-
启用服务器
- 启用刚添加的MCP服务器
- 重启Cherry Studio
-
开始使用
- 在对话中可以直接使用MCP工具评估功能
- 询问工具推荐、评分等信息
程序化使用
Python API调用
import asyncio
from mcp_evaluation_server import (
search_mcp_tools,
get_top_tools,
get_tool_evaluation
)
async def main():
# 搜索工具
results = await search_mcp_tools(query="github", limit=10)
print(f"找到 {len(results['tools'])} 个工具")
# 获取热门工具
top_tools = await get_top_tools(sort_by="tashan_score", limit=5)
print(f"热门工具: {[tool['name'] for tool in top_tools['tools']]}")
# 获取工具评估
evaluation = await get_tool_evaluation("github-mcp-server")
print(f"评估分数: {evaluation['evaluation']['comprehensive_score']}")
asyncio.run(main())
直接启动服务器
# 使用uvx启动MCP服务器(推荐)
uvx mcp-evaluation-server
# 使用uvx启用调试模式
uvx mcp-evaluation-server --log-level DEBUG
# 或使用已安装的命令
mcp-evaluation-server
开发
本地开发
# 克隆仓库
git clone <repository-url>
cd mcp-evaluation-server
# 使用uv安装开发依赖
uv add --dev pytest pytest-asyncio pytest-cov black isort mypy
# 运行测试
pytest tests/
# 代码格式化
black mcp_evaluation_server/
isort mcp_evaluation_server/
# 类型检查
mypy mcp_evaluation_server/
贡献指南
- Fork 项目
- 创建功能分支 (
git checkout -b feature/AmazingFeature) - 提交更改 (
git commit -m 'Add some AmazingFeature') - 推送到分支 (
git push origin feature/AmazingFeature) - 打开 Pull Request
故障排除
常见问题
-
安装失败
# 尝试使用uvx直接运行(无需安装) uvx mcp-evaluation-server # 或使用uv安装 uv add mcp-evaluation-server # 或使用pip安装 pip install mcp-evaluation-server
-
MCP服务器连接失败
- 确保网络连接正常
- 检查AI客户端的MCP配置是否使用
uvx - 重启AI客户端
- 尝试直接运行测试:
uvx mcp-evaluation-server
-
权限问题
# 测试uvx是否可用 uvx mcp-evaluation-server --help
日志调试
# 使用uvx启用调试模式
uvx mcp-evaluation-server --log-level DEBUG
# 查看帮助信息
uvx mcp-evaluation-server --help
支持的AI客户端
官方支持
- Cursor: 完全支持,通过MCP配置
- Cherry Studio: 完全支持,通过MCP配置
- Claude: 完全支持,通过MCP配置
其他支持MCP的客户端
任何支持MCP协议的AI客户端都可以使用此服务器,包括:
- Continue
- Codeium
- 其他基于MCP的开发工具
许可证
本项目采用 MIT 许可证 - 查看 LICENSE 文件了解详情。
支持
- 🐛 问题反馈: GitHub Issues
- 📖 源码: GitHub Repository
免责声明
本工具仅用于评估和推荐目的,工具评分仅供参考。用户应自行评估和决定是否使用特定工具。
更新日志
v0.1.0
- 初始版本发布
- 支持MCP协议
- 工具搜索和评估功能
- Cursor和Cherry Studio集成支持
- 数据库连接已内置,无需额外配置
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file mcp_evaluation_server-0.3.2.tar.gz.
File metadata
- Download URL: mcp_evaluation_server-0.3.2.tar.gz
- Upload date:
- Size: 56.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0805f06a039969b13622c719a9e98377700c230a7137344e150e140d4f4bfb4
|
|
| MD5 |
a2c8885b28f6945d07b0da1ce42d75ab
|
|
| BLAKE2b-256 |
2a4c4322f26cfc4ebd5804a4c4be3cd8644407bc97071f25418d4ecc62eeab93
|