
AgentDNS·Node 通过将多个 MCP(模型上下文协议)服务器组织为灵活的可流式 HTTP(SSE)端点,支持访问所有服务器,从而轻松管理和扩展它们,...
概览
AgentDNS·Node 通过将多个 MCP(模型上下文协议)服务器组织为灵活的可流式 HTTP(SSE)端点,支持访问所有服务器、单个服务器或逻辑服务器组,从而轻松管理和扩展。 - :以最小配置无缝集成任何MCP服务器。- :通过一个简洁的网页界面实时监控状态和性能指标。- :完全兼容stdio和SSE MCP协议。- :可实时添加、移除或更新MCP服务器——无需停机。- :将服务器组织为可自定义的组,简化权限管理。- :内置用户管理,基于角色,由JWT和bcrypt驱动。- :通过我们的容器化配置即时部署。 创建一个mcp_settings.json文件来自定义服务器设置: 打开http://localhost:3000,用你的凭证登录。 : 默认凭证是admin / admin123。
概述(AI 翻译)
英文 |中文版
AgentDNS·Node 通过将多个 MCP(模型上下文协议)服务器组织为灵活的可流式 HTTP(SSE)端点,支持访问所有服务器、单个服务器或逻辑服务器组,从而轻松管理和扩展。
🚀 特色
- 扩展MCP服务器支持:以最小配置无缝集成任何MCP服务器。
- 集中式仪表盘:通过一个流畅的网页界面实时监控状态和性能指标。
- 灵活协议处理:完全兼容 stdio 和 SSE MCP 协议。
- 热插拔配置:实时添加、移除或更新MCP服务器——无需停机。
- 基于组的访问控制:将服务器组织成可自定义的组,简化权限管理。
- 安全认证:内置用户管理,基于角色,由JWT和bcrypt驱动。
- Docker-Ready:通过我们的容器化设置即时部署。
🔧 快速启动
配置
创建一个 mcp_settings.json 文件来自定义服务器设置:
Docker 部署
推荐:挂载你的自定义配置:
或者用默认设置运行:
访问仪表盘
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
AgentDNS·Node: The Unified Hub for Model Context Protocol (MCP) Servers
English | 中文版
AgentDNS·Node makes it easy to manage and scale multiple MCP (Model Context Protocol) servers by organizing them into flexible Streamable HTTP (SSE) endpoints—supporting access to all servers, individual servers, or logical server groups.
🚀 Features
- Broadened MCP Server Support: Seamlessly integrate any MCP server with minimal configuration.
- Centralized Dashboard: Monitor real-time status and performance metrics from one sleek web UI.
- Flexible Protocol Handling: Full compatibility with both stdio and SSE MCP protocols.
- Hot-Swappable Configuration: Add, remove, or update MCP servers on the fly — no downtime required.
- Group-Based Access Control: Organize servers into customizable groups for streamlined permissions management.
- Secure Authentication: Built-in user management with role-based access powered by JWT and bcrypt.
- Docker-Ready: Deploy instantly with our containerized setup.
🔧 Quick Start
Configuration
Create a mcp_settings.json file to customize your server settings:
{
"mcpServers": {
"amap": {
"command": "npx",
"args": ["-y", "@amap/amap-maps-mcp-server"],
"env": {
"AMAP_MAPS_API_KEY": "your-api-key"
}
},
"playwright": {
"command": "npx",
"args": ["@playwright/mcp@latest", "--headless"]
},
"fetch": {
"command": "uvx",
"args": ["mcp-server-fetch"]
},
"slack": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-slack"],
"env": {
"SLACK_BOT_TOKEN": "your-bot-token",
"SLACK_TEAM_ID": "your-team-id"
}
}
}
}
Docker Deployment
Recommended: Mount your custom config:
docker run -p 3000:3000 -v ./mcp_settings.json:/app/mcp_settings.json -v ./data:/app/data samanhappy/mcphub
or run with default settings:
docker run -p 3000:3000 samanhappy/mcphub
Access the Dashboard
Open http://localhost:3000 and log in with your credentials.
Note: Default credentials are
admin/admin123.
Dashboard Overview:
- Live status of all MCP servers
- Enable/disable or reconfigure servers
- Group management for organizing servers
- User administration for access control
Streamable HTTP Endpoint
As of now, support for streaming HTTP endpoints varies across different AI clients. If you encounter issues, you can use the SSE endpoint or wait for future updates.
Connect AI clients (e.g., Claude Desktop, Cursor, DeepChat, etc.) via:
http://localhost:3000/mcp
This endpoint provides a unified streamable HTTP interface for all your MCP servers. It allows you to:
- Send requests to any configured MCP server
安装
npx -y @amap/amap-maps-mcp-server配置
{
"mcpServers": {
"amap": {
"command": "npx",
"args": ["-y", "@amap/amap-maps-mcp-server"],
"env": {
"AMAP_MAPS_API_KEY": "your-api-key"
}
},
"playwright": {
"command": "npx",
"args": ["@playwright/mcp@latest", "--headless"]
},
"fetch": {
"command": "uvx",
"args": ["mcp-server-fetch"]
},
"slack": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-slack"],
"env": {
"SLACK_BOT_TOKEN": "your-bot-token",
"SLACK_TEAM_ID": "your-team-id"
}
}
}
}