mcpField
M
MCP PROXY SERVER

MCP PROXY SERVER

github.com/TBXarkFrameworks & SDKs743Updated 6w ago

About MCP PROXY SERVER

MCP PROXY SERVER is a proxy for operators who want to expose several MCP servers through one HTTP entrypoint. It aggregates tools, prompts, and resources, with multiple transport options and downstream OAuth handling.

Key features

  1. 01Aggregate tools, prompts, and resources
  2. 02Serve over SSE or streamable HTTP
  3. 03Configure stdio, SSE, and HTTP clients
  4. 04Authorize and refresh downstream OAuth tokens

Use cases

  1. 01Provide one HTTP entrypoint for multiple MCP servers
  2. 02Connect downstream servers that require interactive OAuth

MCP support

It aggregates downstream MCP servers and serves their tools, prompts, and resources to MCP clients over SSE or streamable HTTP.

Details

From the project README

MCP Proxy Server

An MCP proxy that aggregates multiple MCP servers behind a single HTTP entrypoint.

Features

  • Proxy multiple MCP clients: aggregate tools, prompts, and resources from many servers.
  • SSE and streamable HTTP: serve via Server‑Sent Events or streamable HTTP.
  • Flexible config: supports stdio, sse, and streamable-http client types.
  • OAuth client support: authorize once against downstream servers that require interactive OAuth (e.g. Notion), then let the proxy hold and refresh the token for every caller.

Documentation

Quick Start

Build from source
git clone https://github.com/tbxark/mcp-proxy.git
cd mcp-proxy
make build
./build/mcp-proxy --config path/to/config.json
Install via Go
go install github.com/tbxark/mcp-proxy@latest
Docker

The image includes support for launching MCP servers via npx and uvx.

docker run -d -p 9090:9090 -v /path/to/config.json:/config/config.json ghcr.io/tbxark/mcp-proxy:latest
# or provide a remote config
docker run -d -p 9090:9090 ghcr.io/tbxark/mcp-proxy:latest --config https://example.com/config.json

More deployment options (including docker‑compose) are in docs/deployment.md.

Configuration

See full configuration reference and examples in docs/configuration.md. An online Claude config converter is available at: https://tbxark.github.io/mcp-proxy

Usage

Command‑line flags, endpoints, and auth examples are documented in docs/usage.md.

Thanks

License

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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.