Moonshot MCP Server Gateway
A lightweight gateway server that provides a unified connection entry point for accessing multiple MCP servers, supporting various protocols including Network and Local Transports.
README
🚀 Moonshot MCP Server Gateway
📝✨ Description
Moonshot MCP Server Gateway is a lightweight gateway server with the following main features:
- Provides a unified connection entry point, allowing clients to access multiple MCP servers by connecting to this server
- Simplifies the connection and management process of MCP servers
- Supports multiple protocols, including Network Transports, Local Transports, etc. For specific protocols, please refer to the MCP Protocol Documentation
⌨️🚀 Quick Start
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
⚙️📋 MCP Configuration Details (moonshot_config.toml)
📑 Configuration File Structure
1️⃣ Server Basic Configuration [server]
| Config Item | Description | Required |
|---|---|---|
| name | Server name | Yes |
| version | Server version | Yes |
| port | Listening port | Yes |
| host | Listening address | Yes |
2️⃣ MCP Sub-server Configuration [mcpServers]
MCP supports multiple types of server configurations. Each sub-server configuration needs to specify a unique name (e.g., [mcpServers.server_name]) and a required prefix field for API routing.
⚙️ Process Server (type = "process")
| Config Item | Description | Required |
|---|---|---|
| command | Interpreter command | Yes |
| script_path | Script path | Yes |
| args | Startup parameters | No |
| prefix | API routing prefix | Yes |
| exclude | Commands to exclude | No |
| cwd | Working directory | No |
| env | Environment variables | No |
🌐 HTTP/HTTPS Server (type = "http"/"https")
| Config Item | Description | Required |
|---|---|---|
| url | Server URL | Yes |
| prefix | API routing prefix | Yes |
| headers | Request headers | No |
🔌 WebSocket Server (type = "websocket")
| Config Item | Description | Required |
|---|---|---|
| url | WebSocket server address | Yes |
| prefix | API routing prefix | Yes |
📦 NPX Server (type = "npx")
| Config Item | Description | Required |
|---|---|---|
| package | NPM package name | Yes |
| args | Startup parameters | No |
| prefix | API routing prefix | Yes |
| env | Environment variables | No |
| project_directory | Project directory | No |
| use_package_lock | Whether to use package-lock.json | No |
🐍 UVX Server (type = "uvx")
| Config Item | Description | Required |
|---|---|---|
| tool_name | Tool name | Yes |
| from_package | Package name | Yes |
| with_packages | Dependency package list | No |
| args | Tool parameters | No |
| prefix | API routing prefix | Yes |
| env | Environment variables | No |
| project_directory | Project directory | No |
| python_version | Python version | No |
🧩 Configuration Example
# 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 List:
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.