proxy
Verified Safeby mcp-case
Overview
The MCP Proxy horizontally scales Model Context Protocol (MCP) servers by routing client requests to the same upstream server based on a session ID, ensuring stateful interactions.
Installation
docker compose up -d --buildEnvironment Variables
- MCP_PROXY_CONFIG
- OTEL_EXPORTER_OTLP_ENDPOINT
- OTEL_SERVICE_NAME
Security Notes
The proxy handles HTTP requests and relies on Redis for session storage. Redis password is configurable; if left empty, Redis runs without authentication, which can be a security risk in production. The `/health` endpoint is unauthenticated but only returns basic status. There are no obvious 'eval' or malicious code patterns. Built-in error handling for upstream failures includes deleting stale session affinities, which is a good security and reliability practice. Written in Go, which reduces certain classes of memory-related vulnerabilities.
Similar Servers
mcp-proxy
Acts as a transparent proxy for Model Context Protocol (MCP) servers, allowing switching between stdio, Server-Sent Events (SSE), and Streamable HTTP transports.
Unla
Transforms existing MCP Servers and APIs into MCP protocol-compliant endpoints through configuration, enabling LLM tool calling without code changes.
mcphub
An orchestration hub that aggregates, manages, and routes Model Context Protocol (MCP) servers and their tools, providing a centralized interface, user management, OAuth 2.0 authorization server capabilities, and AI-powered tool discovery and routing.
modular-mcp
A proxy server that efficiently manages and loads large tool collections from multiple Model Context Protocol (MCP) servers on-demand for LLMs, reducing context overhead.