README
🚀 AgentHotspot MCP 服务器
AgentHotspot MCP 服务器 允许你的 AI 智能体直接从 AgentHotspot 市场中搜索 6000 多个 MCP 连接器,为 AI 智能体开发者提供了便捷的集成和使用体验。
🚀 快速开始
AgentHotspot 是一个面向 AI 智能体开发者的市场平台。它提供了丰富的资源和工具,包括 6000 多个精心挑选的 MCP 连接器,支持一键集成到 Claude Desktop、OpenAI Agents、n8n 等平台,还为 MCP 连接器创建者提供了即时货币化工具和分析仪表盘,用于跟踪使用情况和性能。而这个 MCP 服务器则让你的 AI 智能体能够从 AgentHotspot 市场中搜索和发现开源连接器。
✨ 主要特性
- 🔍 搜索连接器:可以使用自然语言查询 AgentHotspot 目录中的连接器。
- 📦 轻量级:依赖项极少,易于安装。
- 🔧 MCP 兼容:可与任何 MCP 兼容的客户端配合使用。
📦 安装指南
前提条件
- Python 3.10 及以上版本
- 一个 MCP 兼容的客户端(如 Claude Desktop、OpenAI Agents SDK、自定义智能体等)
从源代码安装
git clone https://github.com/AgentHotspot/agenthotspot-mcp.git
cd agenthotspot-mcp
# 安装依赖项
pip install -r requirements.txt
# 安装模块
pip install -e .
💻 使用示例
独立运行服务器
# 直接运行
python3 -m agenthotspot_mcp
# 或者使用脚本运行
python3 src/agenthotspot_mcp/server.py
与 Claude Desktop 配合使用
将以下配置添加到你的 Claude Desktop 配置文件中:
macOS:~/Library/Application\ Support/Claude/claude_desktop_config.json
Windows:%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"agenthotspot": {
"command": "python3",
"args": ["-m", "agenthotspot_mcp"]
}
}
}
与 LangChain 配合使用
import asyncio
from langchain_mcp_adapters.client import MultiServerMCPClient
async def main():
client = MultiServerMCPClient({
"agenthotspot": {
"transport": "stdio",
"command": "python3",
"args": ["-m", "agenthotspot_mcp"],
}
})
tools = await client.get_tools()
print(tools)
# 剩余代码...
# (完整的智能体示例请参阅 examples/langchain_example.py)
asyncio.run(main())
📚 详细文档
项目结构
agenthotspot-mcp/
├── src/
│ └── agenthotspot_mcp/
│ ├── __init__.py # 包导出
│ ├── __main__.py # 入口点
│ └── server.py # MCP 服务器实现
├── examples/
│ ├── claude_config.json # Claude Desktop 配置示例
│ └── langchain_example.py # Python langchain 使用示例
├── pyproject.toml # 包配置
├── requirements.txt # 依赖项
├── LICENSE # MIT 许可证
├── CONTRIBUTING.md # 贡献指南
└── README.md # 本文件
贡献代码
我们欢迎大家贡献代码!请参阅 CONTRIBUTING.md 获取贡献指南。
- 分叉仓库
- 创建一个功能分支(
git checkout -b feature/amazing-feature) - 提交你的更改(
git commit -m 'Add amazing feature') - 推送到分支(
git push origin feature/amazing-feature) - 打开一个拉取请求
📄 许可证
本项目遵循 MIT 许可证,请参阅 LICENSE 文件获取详细信息。
🔗 链接
- 🌐 网站:agenthotspot.com
- 📦 连接器:浏览 6000 多个连接器
- 🐦 Twitter/X:@agenthotspot
- 🐙 GitHub:AgentHotspot
- 📧 支持:support@agenthotspot.com
由 AgentHotspot 团队用心打造
扫码联系在线客服