Basic information
About MCP Proxy Server
A TypeScript streamable HTTP and SSE proxy for MCP servers that use stdio transport.
MCP Proxy is a MCP server in the Other category listed in the AddMCP.net directory, published by punkpeye. Supported transport: stdio. Runtime: node. License: MIT. The repository has 267 GitHub stars. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"mcp-proxy-punkpeye": {
"command": "npx",
"args": [
"mcp-proxy",
"npx",
"-y",
"@anthropic/mcp-server-filesystem",
"/path"
]
}
}
}
{
"mcpServers": {
"mcp-proxy-punkpeye": {
"command": "npx",
"args": [
"mcp-proxy",
"npx",
"-y",
"@anthropic/mcp-server-filesystem",
"/path"
]
}
}
}
{
"servers": {
"mcp-proxy-punkpeye": {
"command": "npx",
"args": [
"mcp-proxy",
"npx",
"-y",
"@anthropic/mcp-server-filesystem",
"/path"
]
}
}
}
MCP Proxy config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-proxy-punkpeye": {
"command": "npx",
"args": [
"mcp-proxy",
"npx",
"-y",
"@anthropic/mcp-server-filesystem",
"/path"
]
}
}
}
MCP Proxy tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP Proxy?
MCP Proxy is a TypeScript streamable HTTP and SSE proxy for MCP servers that use stdio transport. It enables remote access to local stdio-based MCP servers over HTTP or SSE, intended for developers who need to expose such servers.
How to use MCP Proxy?
Install via npm install mcp-proxy and run from the command line with npx mcp-proxy followed by the stdio server command. Options include --port, --apiKey, --tunnel, and transport selection. Programmatic use is available via startHTTPServer from the Node.js SDK.
Key features of MCP Proxy
- Streamable HTTP and SSE transport for stdio MCP servers
- CORS enabled by default with configurable options
- Optional API key authentication
- Public tunnel support for exposing local servers
- Stateless mode for serverless deployments
- Configurable timeouts and debug logging
Use cases of MCP Proxy
- Hosting a stdio MCP server remotely for browser-based clients
- Testing MCP servers over HTTP without modifying the server
- Sharing a local MCP server via a public tunnel for webhook testing
- Deploying MCP servers in serverless environments using stateless mode
Frequently asked questions
1 Does MCP Proxy require changes to the stdio server?
No, it works with any stdio-based MCP server without modifications. The proxy handles the protocol translation.
2 What transport protocols does MCP Proxy support?
It supports both streamable HTTP (default endpoint /mcp) and SSE (default endpoint /sse). Both are enabled by default but can be toggled individually.
3 How do I enable authentication?
Pass --apiKey "your-secret-key" on the command line or set the MCP_PROXY_API_KEY environment variable. Clients must then include the X-API-Key header.
4 Can I use MCP Proxy with Python MCP servers?
Yes, but ensure Python is run in unbuffered mode (e.g., python -u) or set PYTHONUNBUFFERED=1 to prevent timeouts.
5 How does stateless mode differ from the default?
Default mode maintains persistent sessions per client. Stateless mode (--stateless) creates a new server instance per request, useful for serverless or memory-constrained environments.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In