MCP Proxy
A TypeScript SSE proxy for MCP servers that use stdio transport.
Overview
MCP Proxy is a TypeScript-based server-sent events (SSE) proxy designed for MCP servers that utilize stdio transport. It facilitates communication between clients and servers using the Model Context Protocol (MCP).
To use MCP Proxy, install it via npm and run the command-line interface to start the SSE server. You can also utilize the Node.js SDK to set up a proxy server programmatically.
- Easy installation via npm - Command-line interface for quick setup - Node.js SDK for programmatic access - Supports logging of transport events
- Proxying messages between clients and MCP servers.
- Enabling real-time data streaming in applications.
- Logging and monitoring transport events for debugging.
Add to your AI client
Use these steps to connect MCP Proxy in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-proxy-punkpeye": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-proxy-punkpeye"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-proxy-punkpeye": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-proxy-punkpeye"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-proxy-punkpeye": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-proxy-punkpeye"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-proxy-punkpeye": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-proxy-punkpeye"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-proxy-punkpeye": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-proxy-punkpeye"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-proxy-punkpeye": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-proxy-punkpeye"
]
}
}
}FAQ
What is the primary purpose of MCP Proxy?
MCP Proxy is designed to facilitate communication between clients and MCP servers using SSE.
Is MCP Proxy easy to install?
Yes! You can install it with a simple npm command.
Can I use MCP Proxy with other programming languages?
MCP Proxy is specifically designed for TypeScript and JavaScript environments.