
MCP-Gateway
🧩 Une passerelle légère et haute performance pour convertir les services reposants et GRPC existants en MCP-Server avec des changements d'infrastructure zéro. Intégré go.
3 years
Works with Finder
74
Github Watches
5
Github Forks
74
Github Stars
MCP Gateway
MCP Gateway is a lightweight yet highly available gateway service developed in Go, designed to help individuals and businesses easily convert their existing API services (RESTful, gRPC, etc.) into MCP-Servers through configuration under the wave of MCP (Model Control Protocol).
Clear Purpose and Key Features:
- 🌐 Platform Agnostic: Can be integrated easily in any environment—bare metal, virtual machines, ECS, K8s—without touching the infrastructure.
- 🔁 Multi-protocol Conversion: Supports converting RESTful and gRPC APIs to MCP-Server through configuration.
- ⚡️ High Performance and Replication-Friendly: Lightweight without compromising availability and performance.
- 🧭 User-Friendly Management UI: Minimizes learning and maintenance costs.
https://github.com/user-attachments/assets/2a812a14-85cf-45d6-9f37-cc08d8579b33
Features
- ⚙️ Zero-intrusion integration
- 🪶 Lightweight and easy to deploy
- 💡 Transparent pass-through for headers, parameters, body, and response
- 🧭 Intuitive admin interface
TODOs
- Convert RESTful API to MCP-Server
- Convert gRPC to MCP-Server
- Request/Response body transformation
- Management interface
- Session persistence
- MCP SSE support
- MCP Streamable HTTP support
- Migratable and restorable sessions
- Pre-request authentication
- Configuration versioning
- Distributed configuration persistence
- Multi-replica service support
- Docker support
- Kubernetes integration
- Helm chart support
Quick Start
Backend Service
Gateway Service
-
Clone the project
git clone https://github.com/mcp-ecosystem/mcp-gateway.git cd mcp-gateway
-
Install dependencies
go mod download
-
Run the service
go run ./cmd/mcp-gateway/main.go
Management Service
-
Clone the project
git clone https://github.com/mcp-ecosystem/mcp-gateway.git cd mcp-gateway
-
Install dependencies
go mod download
-
Run the service
go run cmd/apiserver/main.go
Frontend Development
-
Navigate to the frontend directory
cd web
-
Install dependencies
npm install
-
Start the development server
npm run dev
Project Structure
.
├── cmd/ # Backend service entry points
├── configs/ # Configuration files
├── internal/ # Internal packages
├── pkg/ # Shared packages
├── web/ # Frontend code
└── docs/ # Project documentation
Configuration
Configuration files are located in the configs
directory and support YAML format. Key configuration items include:
- 🖥️ Server settings
- 🔀 Routing rules
- 🔐 Tool permissions
- ⚙️ System parameters
Contribution Guide
- Fork the project
- Create a feature branch
- Commit your changes
- Push to your branch
- Create a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
相关推荐
🔥 1Panel fournit une interface Web intuitive et un serveur MCP pour gérer des sites Web, des fichiers, des conteneurs, des bases de données et des LLM sur un serveur Linux.
🧑🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.
⛓️RULEGO est un cadre de moteur de règle d'orchestration des composants de nouvelle génération légère, intégrée, intégrée et de nouvelle génération pour GO.
Flock est une plate-forme à faible code de workflow pour construire rapidement des chatbots, un chiffon et coordonner des équipes multi-agents, alimentée par Langgraph, Langchain, Fastapi et NextJs. (Flock 是一个基于 Workflow 工作流的低代码平台 , 用于快速构建聊天机器人、 Rag 、 Agent 和 和 , 采用 采用 采用 采用 Langgraph 、 Langchain 、 Fastapi 和 ,))
PDF Traduction de papier scientifique avec formats conservés - 基于 AI 完整保留排版的 PDF 文档全文双语翻译 , 支持 Google / Deepl / Olllama / Openai 等服务 , 提供 CLI / GUI / MCP / DOCKER / ZOTERO
Plateforme d'automatisation de workflow à code équitable avec des capacités d'IA natives. Combinez le bâtiment visuel avec du code personnalisé, de l'auto-hôte ou du cloud, 400+ intégrations.
Créez facilement des outils et des agents LLM à l'aide de fonctions Plain Bash / JavaScript / Python.
😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 QQ / 微信 (企业微信、个人微信) / 飞书 / 钉钉 / Discord / Telegram / Slack 等平台 | 支持 Chatgpt 、 Deepseek 、 Dify 、 Claude 、 GEMINI 、 XAI 、 PPIO 、 OLLAMA 、 LM Studio 、阿里云百炼、火山方舟、 Siliconflow 、 Qwen 、 Moonshot 、 ChatGlm 、 Sillytraven 、 MCP 等 LLM 的机器人 / Agent | Plateforme de bots de messagerie instantanée basés sur LLM, prend en charge Discord, Telegram, WeChat, Lark, Dingtalk, QQ, Slack
Reviews

user_BwOynC9B
The mcp-gateway by mcp-ecosystem has been a game-changer for my projects. Its seamless integration and easy-to-navigate interface make it a standout tool. I highly recommend it to anyone looking to enhance their workflow. The support and documentation provided are top-notch, ensuring a smooth user experience from start to finish.

user_1OIvZJ7e
As a dedicated user of mcp-gateway, I am thoroughly impressed by its seamless integration capabilities and ease of use. The intuitive interface and robust functionality provided by the mcp-ecosystem team make managing connections simple and efficient. This gateway has significantly improved my workflow and I highly recommend it to anyone looking to enhance their application connectivity.

user_pvcHMZwn
The mcp-gateway by mcp-ecosystem is an impressive product I've been using extensively. It offers seamless integration and robust performance, making it a reliable choice for any project. The user experience is top-notch, and the welcome information provided helps users get started with ease. Highly recommended!

user_2rOjsdML
I've been using the mcp-gateway from mcp-ecosystem and it's been stellar. The seamless integration and ease of use stand out. As a loyal MCP user, this gateway simplifies connectivity and enhances efficiency. The user-friendly interface and the robust performance have exceeded my expectations. Highly recommend for anyone looking to streamline their MCP applications!

user_DvYtBq1G
I've been using the mcp-gateway by the mcp-ecosystem for some time now and it has drastically improved my workflows. The seamless integration and user-friendly interface make it an indispensable tool for my daily operations. Highly recommend giving it a try for anyone looking for robust and efficient solutions!

user_1BxBabfU
mcp-gateway is a fantastic product from the mcp-ecosystem that has significantly streamlined my workflow. Its seamless integration and robust performance have allowed me to manage processes more efficiently. The interface is intuitive, and the support resources are excellent. Highly recommended for anyone looking to boost productivity and enhance their operational capabilities.

user_yFxl14vX
The mcp-gateway by mcp-ecosystem is a robust and efficient tool for seamless integration within the MCP ecosystem. As a loyal user, I've found it indispensable in connecting various services, thereby streamlining workflows. The intuitive design and reliable performance make it a top choice for developers looking to bridge multiple applications effortlessly. Highly recommend!

user_QRUPTSyG
The mcp-gateway by mcp-ecosystem is an outstanding product that has vastly improved my workflow. Its seamless integration and user-friendly interface make it a top choice for developers looking for a reliable gateway solution. Highly recommended for anyone in need of a robust and efficient tool!

user_3DvIhMED
I've been using mcp-gateway for several months now, and it has significantly streamlined my workflow. The seamless integration with the entire mcp-ecosystem is impressive, and the user-friendly interface makes it easy to navigate. I highly recommend it to anyone looking to enhance their productivity.

user_SMsADJzw
As a dedicated user of the mcp-gateway, I must say it has completely streamlined my workflow. The seamless integration and user-friendly interface make it a top-notch tool in the mcp-ecosystem. I highly recommend it to anyone looking to enhance their productivity!