mcp-remote
by grooth-se
Overview
Connects local Model Context Protocol (MCP) clients to remote MCP servers, acting as a proxy and handling OAuth authentication.
Installation
npx @grooth-se/mcp-remote <server-url>Environment Variables
- MCP_REMOTE_CONFIG_DIR
- MCP_REMOTE_LOG_DIR
Security Notes
OAuth access and refresh tokens are stored unencrypted in plain text on the local filesystem (`~/.mcp-auth/`). This poses a significant risk if the local machine's file system permissions are not strictly enforced or if the machine is compromised. The `--allow-http` option, while explicitly marked as 'not recommended', enables insecure HTTP connections, which could expose users to Man-in-the-Middle attacks during data transfer or authentication if used. Default client ID is hardcoded which limits flexibility.
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.
mcp-proxy
A TypeScript streamable HTTP and SSE proxy for MCP servers that use stdio transport.
example-remote-server
A reference server demonstrating all Model Context Protocol (MCP) features and OAuth 2.0 authentication patterns.
mcp-web-client
A web-based client for the Model Context Protocol (MCP), enabling users to connect to multiple MCP servers, browse tools/resources/prompts, and interact via an AI-powered chat interface.