MCP Simple Gateway
@denwakeup
关于 MCP Simple Gateway
Simple proxy server for MCP with token-based authentication support.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-simple-gateway": {
"command": "npx",
"args": [
"mcp-simple-gateway",
"--config",
"config.json"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Simple Gateway?
MCP Simple Gateway is a proxy server for the Model Context Protocol (MCP) that aggregates and manages multiple MCP servers through a single interface. It is intended for developers who need to centralize access to various MCP endpoints.
How to use MCP Simple Gateway?
Run it via CLI with npx mcp-simple-gateway --config config.json, or deploy it using Docker Compose with an image from ghcr.io/denwakeup/mcp-simple-gateway:latest. Configuration is provided as a JSON file that defines the proxy server options and a list of MCP servers to aggregate.
Key features of MCP Simple Gateway
- Aggregation of multiple MCP servers
- Token-based authentication support
- Flexible JSON-based configuration
- Docker support
- Supports SSE, stdio, and StreamableHTTP MCP transports
Use cases of MCP Simple Gateway
- Aggregating multiple MCP servers (e.g., time, filesystem, echo) behind a single proxy
- Adding token-based authentication to MCP servers that lack it
- Enabling CORS for cross-origin requests to MCP servers
- Simplifying client configuration by exposing one endpoint
FAQ from MCP Simple Gateway
What types of MCP servers are supported?
The gateway supports stdio, SSE, and StreamableHTTP MCP servers.
How do I configure authentication?
Provide an array of authentication tokens in the proxyServer.options.authTokens field. These tokens apply to all servers by default, and can be overridden per server via proxyOptions.authTokens.
Can I run MCP Simple Gateway with Docker?
Yes, a Docker Compose example is provided in the README, using the image ghcr.io/denwakeup/mcp-simple-gateway:latest.
What is the default port?
The default proxy server address and port is localhost:3000.
How do I set up CORS?
CORS configuration is optional; you can set proxyServer.options.cors using Express.js CORS middleware options.
其他 分类下的更多 MCP 服务器
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
ghidraMCP
LaurieWiredMCP Server for Ghidra
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
评论