Skip to content

๐Ÿงฉ MCP Gateway - A lightweight gateway service that instantly transforms existing APIs into MCP servers with zero code changes. Features Docker deployment and management UI, requiring no infrastructure modifications.

License

Notifications You must be signed in to change notification settings

mcp-ecosystem/mcp-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

MCP Gateway

๐Ÿš€ Instantly transform your existing APIs into MCP servers โ€” without changing a line of code.

English ็ฎ€ไฝ“ไธญๆ–‡ Release Docs Discord


๐ŸŽฏ Support Us on Product Hunt

We just launched MCP Gateway on Product Hunt! ๐Ÿš€
If you find this project interesting or helpful, we'd love your support.
Every upvote helps more developers discover it! โค๏ธ

MCP Gateway - Turn APIs into MCP endpoints,without changing a line of code | Product Hunt


โšก Note: MCP Gateway is under rapid development! We strive to maintain backward compatibility, but it cannot be 100% guaranteed. Please make sure to check version changes carefully when upgrading. Due to the fast iteration, documentation updates may sometimes lag behind. If you encounter any issues, feel free to search or ask for help via Discord or Issues โค๏ธ


โœจ What is MCP Gateway?

MCP Gateway is a lightweight and highly available gateway service written in Go. It enables individuals and organizations to convert their existing APIs into services compliant with the MCP Protocol โ€” all through configuration, with zero code changes.

Demo.Video.2025-04-17.mp4

๐Ÿ”ง Core Design Principles

  • โœ… Zero Intrusion: Platform-agnostic, supports deployment on bare metal, VMs, ECS, Kubernetes, etc., without modifying existing infrastructure
  • ๐Ÿ”„ Configuration-Driven: Convert legacy APIs to MCP Servers using YAML configuration โ€” no code required
  • ๐Ÿชถ Lightweight & Efficient: Designed for minimal resource usage without compromising on performance or availability
  • ๐Ÿงญ Built-in Management UI: Ready-to-use web interface to simplify setup and reduce operational overhead

๐Ÿš€ Getting Started

MCP Gateway supports a ready-to-run Docker deployment. Full deployment and configuration instructions are available in the docs.

Run with Docker

mkdir -p mcp-gateway/{configs,data}
cd mcp-gateway/
curl -sL https://raw.githubusercontent.com/mcp-ecosystem/mcp-gateway/refs/heads/main/configs/apiserver.yaml -o configs/apiserver.yaml
curl -sL https://raw.githubusercontent.com/mcp-ecosystem/mcp-gateway/refs/heads/main/configs/mcp-gateway.yaml -o configs/mcp-gateway.yaml
curl -sL https://raw.githubusercontent.com/mcp-ecosystem/mcp-gateway/refs/heads/main/.env.example -o .env.allinone

docker run -d \
           --name mcp-gateway \
           -p 8080:80 \
           -p 5234:5234 \
           -p 5235:5235 \
           -p 5335:5335 \
           -p 5236:5236 \
           -e ENV=production \
           -v $(pwd)/configs:/app/configs \
           -v $(pwd)/data:/app/data \
           -v $(pwd)/.env.allinone:/app/.env \
           --restart unless-stopped \
           ghcr.io/mcp-ecosystem/mcp-gateway/allinone:latest

For users in China, you can pull the image from Alibaba Cloud registry:

registry.ap-southeast-1.aliyuncs.com/mcp-ecosystem/mcp-gateway-allinone:latest

Visit http://localhost:8080/ to start configuring.

๐Ÿ“– Read the full guide โ†’ Quick Start ยป


๐Ÿ“‹ 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

๐Ÿ“š Documentation

For more usage patterns, configuration examples, and integration guides, please visit:

๐Ÿ‘‰ https://mcp.ifuryst.com


๐Ÿ“„ License

This project is licensed under the MIT License.

About

๐Ÿงฉ MCP Gateway - A lightweight gateway service that instantly transforms existing APIs into MCP servers with zero code changes. Features Docker deployment and management UI, requiring no infrastructure modifications.

Topics

Resources

License

Stars

Watchers

Forks

Packages