MCP Proxy
A thin proxy that allows clients to connect to MCP servers over HTTP without streaming transport.
mcp-proxy
A thin MCP proxy. It allows clients to connect MCP servers via HTTP without streaming transport. It enables to put it on a simple infrastructure.
How to install
go install github.com/ubie-oss/mcp-proxy
How to use
Prepare your mcp config file
Create a config file. The format is similar to Claude's. $VARNAME will be replaced with environment variables. It supports both json and yaml.
{
"mcpServers": {
"server1": {
"command": "npx",
"args": ["module1"],
"env": {
"VAR1": "$SERVER1_VAR1",
"VAR2": "$SERVER1_VAR2"
}
},
"server2": {
"command": "npx",
"args": ["module2"],
"env": {
"VAR1": "$SERVER2_VAR1",
"VAR2": "$SERVER2_VAR2"
},
"_extensions": {
"tools": {
"allow": [
"tool1",
"tool2"
],
"deny": [
"tool11",
"tool12"
]
}
}
}
}
}
mcpServers:
server1:
command: "npx"
args:
- "module1"
env:
VAR1: $SERVER1_VAR1
VAR2: $SERVER1_VAR2
server2:
command: "npx"
args:
- "module2"
env:
VAR1: $SERVER2_VAR1
VAR2: $SERVER2_VAR2
_extensions:
tools:
allow:
- tool1
- tool2
deny:
- tool11
- tool12
Tool filtering with allow/deny lists
You can control which tools are available to each MCP server using the _extensions.tools configuration:
allow: Only tools listed here will be allowed. If this list is empty or not specified, all tools are allowed (unless denied).deny: Tools listed here will be blocked, even if they are in the allow list.
When both allow and deny lists are specified, the deny list takes precedence. That is, tools in the deny list will be blocked even if they also appear in the allow list.
Run mcp-proxy with the config
go run . -config config.json -port 9090
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
MCP Manager
A full-stack application for managing Model Context Protocol (MCP) servers for Claude Desktop with a modern web interface.
Background Process MCP
A server that provides background process management capabilities, enabling LLMs to start, stop, and monitor long-running command-line processes.
Remote MCP Server (Authless)
An example remote MCP server deployable on Cloudflare Workers without authentication.
Chromium Helper
Access Chromium and PDFium source code repositories using Google's official CodeSearch APIs, supporting advanced search, Gerrit integration, and issue tracking.
Cntx UI
A minimal file bundling and tagging tool for AI development, featuring a web interface and MCP server mode for AI integration.
LMAD - Laravel MCP API Discovery
Laravel MCP server that exposes API routes, controllers, FormRequest validation rules, and response schemas to AI agents
MCP Jenkins Intelligence
AI-powered Jenkins pipeline intelligence platform with natural language interface. Provides comprehensive pipeline analysis, failure prediction, optimization suggestions, and automated Jenkinsfile reconstruction using Model Context Protocol (MCP) integration.
MCP Python REPL Server
An interactive Python REPL server with built-in support for the uv package manager and virtual environments.
Code Sync MCP Server
Hot reload remote containerized Python applications directly from your IDE.
Code-Index-MCP
A local-first code indexer that enhances LLMs with deep code understanding. It integrates with AI assistants via the Model Context Protocol (MCP) and supports AI-powered semantic search.