mcp-proxy

punkpeye
135
A TypeScript SSE proxy for MCP servers that use stdio transport.

Overview

What is mcp-proxy

mcp-proxy is a TypeScript-based Server-Sent Events (SSE) proxy designed for MCP servers that utilize standard input/output (stdio) transport.

How to Use

To use mcp-proxy, install it via npm with 'npm install mcp-proxy'. You can start the proxy server using the command 'npx mcp-proxy --port 8080 --endpoint /sse tsx server.js'. Alternatively, you can use the Node.js SDK to set up a proxy server programmatically.

Key Features

Key features of mcp-proxy include built-in CORS support, the ability to create a proxy between a server and client, and utilities for logging events and starting SSE servers.

Use Cases

mcp-proxy is ideal for applications that require real-time data streaming from MCP servers, such as web applications that need to display live updates or notifications to users.

Content