项目011 - MCP工具集成
一个全面的模型上下文协议(MCP)项目,具备CursorLens监控功能及多种MCP服务器集成。
🚀 特点
- CursorLens(可译为“光标镜头”或根据具体语境调整为更贴切的表述)用于AI编码会话的高级监控与分析仪表盘
- Echo MCP 服务器用于测试和调试MCP连接的简单回声功能
- 多个MCP(可能指“模块化控制系统”或具体上下文中的其他含义)集成:
- Playwright(浏览器自动化) - DuckDuckGo(网页搜索) - GitHub 集成 - Hugging Face - 内存管理 - 顺序思维 - 上下文7
📋 前提条件
- Node.js 和 npm/pnpm
- Python 3.8及以上版本
- Docker(可选,用于容器化服务)
- Git
🔧 设置
1. 克隆仓库
git clone https://github.com/quintary1/project-011.git
cd project-0112. 配置MCP设置
复制MCP配置模板并添加您的API令牌:
cp .cursor/mcp.json.template .cursor/mcp.json编辑 .cursor/mcp.json 并替换占位符值:
YOUR_GITHUB_TOKEN_HERE- 您的GitHub个人访问令牌YOUR_HUGGINGFACE_TOKEN_HERE- 你的Hugging Face API密钥
3. 安装Python依赖项
pip install -r requirements.txt4. 设置CursorLens(可选)
导航至 CursorLens 目录并按照设置说明进行操作:
cd CursorLens
pnpm install见 \CURSORLENS_SETUP_SUMMARY.md\ 翻译为中文是:“光标透镜设置概要.md” 以获取详细的设置说明。
5. 设置Echo MCP服务器(可选)
导航到 echo-mcp-server 目录:
cd echo-mcp-server
pip install -r requirements.txt📚 文档
🎯 使用方法
运行Echo服务器
python echo_server.py运行测试
python test_echo_mcp.py
# or
bash test_echo_mcp.sh运行 CursorLens
cd CursorLens
pnpm dev🔒 安全提示
⚠️ 重要的永远不要让你的 .cursor/mcp.json 包含真实API令牌的文件。该文件会被git忽略,但在提交前请务必再次检查。
📝 项目结构
project-011/
├── .cursor/ # Cursor IDE configuration
├── CursorLens/ # Monitoring dashboard
├── echo-mcp-server/ # Echo MCP server implementation
├── browser_use_mcp.py # Browser automation MCP
├── echo_server.py # Echo server implementation
├── requirements.txt # Python dependencies
└── README.md # This file🤝 贡献
欢迎贡献!请随时提交拉取请求。
📄 许可证
查看各个组件的许可证:
- CursorLens:检查
CursorLens/LICENSE - Echo MCP 服务器:检查
echo-mcp-server/LICENSE
🔗 链接
- 仓库:
- 问题:
📧 联系方式
如需咨询或获取支持,请在GitHub上提交一个问题。
