Moonshot MCP Server Gateway
🚀 Moonshot MCP 服务器网关
📝✨ 描述
Moonshot MCP Server Gateway 是一款轻量级网关服务器,主要特点如下:
提供统一的连接入口,客户端可以通过连接该服务器来访问多个 MCP 服务器
简化 MCP 服务器的连接和管理流程
支持多种协议,包括网络传输、本地传输等,具体协议请参考MCP 协议文档
Related MCP server: Weaviate MCP Server
⌨️🚀 快速入门
git clone https://github.com/MarshallEriksen-shaomingyang/moonshot-mcp-server.git
cp .env.example .env
cp moonshot_config.example.toml moonshot_config.toml
# Create virtual environment
uv venv
# Activate virtual environment
source .venv/bin/activate
# Start the project
uv run server.py --mode http or uv run server.py --mode sse⚙️📋 MCP 配置详情 (moonshot_config.toml)
📑 配置文件结构
1️⃣ 服务器基本配置[服务器]
配置项 | 描述 | 必需的 |
姓名 | 服务器名称 | 是的 |
版本 | 服务器版本 | 是的 |
港口 | 监听端口 | 是的 |
主持人 | 收听地址 | 是的 |
2️⃣ MCP 子服务器配置 [mcpServers]
MCP 支持多种类型的服务器配置。每个子服务器配置都需要指定一个唯一的名称(例如[mcpServers.server_name] )以及 API 路由所需的prefix字段。
⚙️ 进程服务器(类型 =“进程”)
配置项 | 描述 | 必需的 |
命令 | 解释器命令 | 是的 |
脚本路径 | 脚本路径 | 是的 |
参数 | 启动参数 | 不 |
前缀 | API 路由前缀 | 是的 |
排除 | 排除命令 | 不 |
慢性疾病 | 工作目录 | 不 |
环境 | 环境变量 | 不 |
🌐 HTTP/HTTPS 服务器(类型 =“http”/“https”)
配置项 | 描述 | 必需的 |
网址 | 服务器 URL | 是的 |
前缀 | API 路由前缀 | 是的 |
标题 | 请求标头 | 不 |
🔌 WebSocket 服务器(类型 =“websocket”)
配置项 | 描述 | 必需的 |
网址 | WebSocket 服务器地址 | 是的 |
前缀 | API 路由前缀 | 是的 |
📦NPX 服务器(类型 =“npx”)
配置项 | 描述 | 必需的 |
包裹 | NPM 包名称 | 是的 |
参数 | 启动参数 | 不 |
前缀 | API 路由前缀 | 是的 |
环境 | 环境变量 | 不 |
项目目录 | 项目目录 | 不 |
使用包锁 | 是否使用 package-lock.json | 不 |
🐍 UVX 服务器(类型 =“uvx”)
配置项 | 描述 | 必需的 |
工具名称 | 工具名称 | 是的 |
来自_包 | 包裹名字 | 不 |
with_packages | 依赖包列表 | 不 |
参数 | 工具参数 | 不 |
前缀 | API 路由前缀 | 是的 |
环境 | 环境变量 | 不 |
项目目录 | 项目目录 | 不 |
python_version | Python 版本 | 不 |
🧩配置示例
# Basic server configuration
[server]
name = "AlphaCore Server"
version = "1.0.0"
port = 8090
host = "0.0.0.0"
# Process server example
[mcpServers.python_server]
type = "process"
command = "python3"
script_path = "server.py"
prefix = "py"
cwd = "/data/moonshot_tools"
# HTTP server example
[mcpServers.http_server]
type = "https"
url = "https://api.example.com/mcp"
prefix = "api"
# For more configuration examples, please refer to moonshot_config.example.toml🔗 MCP 工具列表:
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
MCP gateway and cloud hosting for MCP servers, agents and apps like RAG, managed from your agent.
Stateless MCP gateway and OTel span-streaming bridge for hosted MCP servers.
MCP federation gateway: route, govern and observe agent tools across clouds and MCP servers.
Governed MCP gateway: one endpoint for your tools, with credential custody and audit log.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA middleware server that enables multiple isolated instances of the same MCP servers to coexist independently with unique namespaces and configurations.20 npm82MIT
- AlicenseCqualityCmaintenanceA simple MCP server that facilitates website fetching through a configurable server platform using stdio or SSE transport, allowing integration with tools like Cursor for streamlined access.238MIT
- AlicenseNot gradedqualityDmaintenanceA central hub that aggregates multiple MCP resource servers into a single unified interface, enabling users to access tools and capabilities from multiple backend servers through one connection point.201MIT
- AlicenseAqualityDmaintenanceA hub server that connects to and manages other MCP (Model Context Protocol) servers.761MIT