MCP cover image
See in Github
2025-06-06

🧩轻巧且高性能的网关,用于将现有的RESTFOL和GRPC服务转换为MCP服务器,其基础架构更改。内置。

74

Github Watches

5

Github Forks

74

Github Stars

MCP Gateway

English 简体中文

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

  1. Clone the project

    git clone https://github.com/mcp-ecosystem/mcp-gateway.git
    cd mcp-gateway
    
  2. Install dependencies

    go mod download
    
  3. Run the service

    go run ./cmd/mcp-gateway/main.go
    

Management Service

  1. Clone the project

    git clone https://github.com/mcp-ecosystem/mcp-gateway.git
    cd mcp-gateway
    
  2. Install dependencies

    go mod download
    
  3. Run the service

    go run cmd/apiserver/main.go
    

Frontend Development

  1. Navigate to the frontend directory

    cd web
    
  2. Install dependencies

    npm install
    
  3. 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

  1. Fork the project
  2. Create a feature branch
  3. Commit your changes
  4. Push to your branch
  5. Create a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

相关推荐

  • Aurity Ltd
  • Create and Publish Business Websites in seconds. AI will gather all the details about your website and generate link to your website.

  • John Rafferty
  • Text your favorite pet, after answering 10 questions about their everyday lives!

  • Convincible Ltd
  • You're in a stone cell – can you get out? A classic choose-your-adventure interactive fiction game, based on a meticulously-crafted playbook. With a medieval fantasy setting, infinite choices and outcomes, and dice!

  • Ian O'Connell
  • Provide players' names or enter Quickstart to start the game!

  • Matthieu Savioux
  • Evaluates language quality of texts, responds with a numerical score between 50-150.

  • analogchat.com
  • Efficient Spotify assistant for personalized music data.

  • seabiscuit.ai
  • Discover A More Robust Business: Craft tailored value proposition statements, develop a comprehensive business model canvas, conduct detailed PESTLE analysis, and gain strategic insights on enhancing business model elements like scalability, cost structure, and market competition strategies. (v1.18)

  • Carl Oscar Aaro
  • Structured recipes for food and desserts – ingredient lists and step-by-step recipe instructions from any input. Become surprised, try something new or breathe life into grandma's old recipe notebook.

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • n8n-io
  • 具有本机AI功能的公平代码工作流程自动化平台。将视觉构建与自定义代码,自宿主或云相结合,400+集成。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • Azure
  • 该存储库用于开发Azure MCP服务器,将Azure的功能带给您的代理商。

  • langgenius
  • alibaba
  • metorial
  • 数百个MCP服务器的容器化版本📡📡

  • caio-moliveira
  • 创建该项目是为了证明我们如何与不同的模型上下文协议(MCP)连接。

  • rulego
  • ⛓️Rulego是一种轻巧,高性能,嵌入式,下一代组件编排规则引擎框架。

  • Byaidu
  • PDF科学纸翻译带有保留格式的pdf -基于ai完整保留排版的pdf文档全文双语翻译

    Reviews

    2.6 (10)
    Avatar
    user_BwOynC9B
    2025-04-23

    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.

    Avatar
    user_1OIvZJ7e
    2025-04-23

    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.

    Avatar
    user_pvcHMZwn
    2025-04-23

    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!

    Avatar
    user_2rOjsdML
    2025-04-23

    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!

    Avatar
    user_DvYtBq1G
    2025-04-23

    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!

    Avatar
    user_1BxBabfU
    2025-04-23

    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.

    Avatar
    user_yFxl14vX
    2025-04-23

    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!

    Avatar
    user_QRUPTSyG
    2025-04-23

    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!

    Avatar
    user_3DvIhMED
    2025-04-23

    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.

    Avatar
    user_SMsADJzw
    2025-04-23

    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!