Skip to main content
Glama

🚀 Moonshot MCP 服务器网关

📝✨ 描述

Moonshot MCP Server Gateway 是一款轻量级网关服务器,主要特点如下:

  • 提供统一的连接入口,客户端可以通过连接该服务器来访问多个 MCP 服务器

  • 简化 MCP 服务器的连接和管理流程

  • 支持多种协议,包括网络传输、本地传输等,具体协议请参考MCP 协议文档

⌨️🚀 快速入门

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 工具列表:

-
security - not tested
A
license - permissive license
-
quality - not tested

Related MCP Servers

  • -
    security
    A
    license
    -
    quality
    A middleware server that enables multiple isolated instances of the same MCP servers to coexist independently with unique namespaces and configurations.
    Last updated -
    4
    75
    MIT License
  • A
    security
    A
    license
    A
    quality
    A 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.
    Last updated -
    2
    36
    MIT License
  • A
    security
    A
    license
    A
    quality
    A hub server that connects to and manages other MCP (Model Context Protocol) servers.
    Last updated -
    7
    25
    56
    MIT License
  • -
    security
    F
    license
    -
    quality
    A simple MCP server that provides read-only access to Cloudways hosting resources, including servers, applications, monitoring data, and team management features.
    Last updated -
    3
    • Apple

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MarshallEriksen-shaomingyang/moonshot-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server