mcp-server-proxy
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-server-proxy
Proxy a remote HTTP/HTTPS MCP server over stdio. This lets any MCP client that speaks stdio connect to remote MCP servers running over HTTP.
Supports both Streamable HTTP and SSE transports, auto-detected from the URL.
Install
uv syncRelated MCP server: MCP Stdio to SSE Proxy
Usage
# Streamable HTTP
uv run mcp-server-proxy http://remote-server:8000/mcp
# SSE (auto-detected when URL ends in /sse)
uv run mcp-server-proxy https://remote-server:8000/sse
# Custom display name
uv run mcp-server-proxy --name "My API" http://example.com/mcp
# With auth header (value visible in process args)
uv run mcp-server-proxy --header "Authorization: Bearer tok_123" http://example.com/mcp
# With auth from environment variable (recommended for secrets)
export MCP_TOKEN="Bearer tok_123"
uv run mcp-server-proxy --env-header "Authorization=MCP_TOKEN" http://example.com/mcp
# Multiple headers
uv run mcp-server-proxy \
--env-header "Authorization=MCP_TOKEN" \
--header "X-Custom: value" \
http://example.com/mcpHeaders
Flag | Format | Description |
|
| Pass a literal header value |
|
| Read the header value from an environment variable |
Use --env-header for secrets like API keys and tokens — values passed via --header are visible in the process argument list.
Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"my-remote-server": {
"command": "uv",
"args": [
"run",
"--directory", "/path/to/mcp-server-proxy",
"mcp-server-proxy",
"--name", "My Remote Server",
"--env-header", "Authorization=MCP_TOKEN",
"https://remote-server.com/mcp"
],
"env": {
"MCP_TOKEN": "Bearer tok_123"
}
}
}
}Claude Code
Add to your Claude Code config (.claude/settings.json or ~/.claude/settings.json):
{
"mcpServers": {
"my-remote-server": {
"command": "uv",
"args": [
"run",
"--directory", "/path/to/mcp-server-proxy",
"mcp-server-proxy",
"--name", "My Remote Server",
"--env-header", "Authorization=MCP_TOKEN",
"https://remote-server.com/mcp"
],
"env": {
"MCP_TOKEN": "Bearer tok_123"
}
}
}
}Codex
Add to your Codex config (~/.codex/config.toml):
[mcp_servers.my-remote-server]
command = "uv"
args = [
"run",
"--directory", "/path/to/mcp-server-proxy",
"mcp-server-proxy",
"--name", "My Remote Server",
"--env-header", "Authorization=MCP_TOKEN",
"https://remote-server.com/mcp",
]
[mcp_servers.my-remote-server.env]
MCP_TOKEN = "Bearer tok_123"How it works
The proxy uses FastMCP's create_proxy() to connect to the remote server as a client and re-expose all its tools, resources, and prompts over stdio. The transport is inferred from the URL:
URLs ending in
/sseuse SSE transportAll other
http:///https://URLs use Streamable HTTP transport
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Stdio MCP proxy: free probe, then x402-paid ReadFetch tools; for hosts that cannot sign x402.
Remote MCP server exposing SMI Aware tools, resources, and skills over Streamable HTTP.
MCP server (stdio): check if URLs are alive (status, redirects, latency) via the AgentForge API
Internal gateway for autonomous agents and machine-to-machine tooling (MCP streamable-http).
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA minimal Python-based proxy that bridges local MCP STDIO clients with remote MCP SSE servers. It enables bidirectional JSON-RPC message passing between standard command-line tools and web-based remote endpoints.1-
- AlicenseNot gradedqualityDmaintenanceActs as a proxy between a local Stdio connection and a remote Model Context Protocol server running over Server-Sent Events. It specifically enables Stdio-based MCP clients to connect to the SwiftZilla remote SSE endpoint.ISC
- AlicenseNot gradedqualityDmaintenanceExposes any stdio-based MCP server to the internet via HTTP/SSE transport, enabling remote agents to access MCP tools over a network.MIT
- AlicenseNot gradedqualityDmaintenanceProxies STDIO-based MCP clients to streaming HTTP MCP servers, enabling local clients to connect to remote servers.3MIT