A TypeScript streamable HTTP and SSE proxy for MCP servers that use stdio transport.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add proxy -- npx mcp-proxy npx -y @anthropic/mcp-server-filesystem /path~/.codex/config.toml
[mcp_servers.proxy]
command = "npx"
args = ["mcp-proxy", "npx", "-y", "@anthropic/mcp-server-filesystem", "/path"]
# codex mcp add proxy -- npx mcp-proxy npx -y @anthropic/mcp-server-filesystem /path~/.cursor/mcp.json
{
"mcpServers": {
"proxy": {
"command": "npx",
"args": [
"mcp-proxy",
"npx",
"-y",
"@anthropic/mcp-server-filesystem",
"/path"
]
}
}
}.vscode/mcp.json
{
"servers": {
"proxy": {
"type": "stdio",
"command": "npx",
"args": [
"mcp-proxy",
"npx",
"-y",
"@anthropic/mcp-server-filesystem",
"/path"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"proxy": {
"command": "npx",
"args": [
"mcp-proxy",
"npx",
"-y",
"@anthropic/mcp-server-filesystem",
"/path"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"proxy": {
"command": "npx",
"args": [
"mcp-proxy",
"npx",
"-y",
"@anthropic/mcp-server-filesystem",
"/path"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"proxy": {
"command": "npx",
"args": [
"mcp-proxy",
"npx",
"-y",
"@anthropic/mcp-server-filesystem",
"/path"
]
}
}
}