mcp-remote
$ mcp-remote Community Med Riskmcp-remote lets stdio-only MCP hosts connect to remote HTTP or SSE MCP servers that require OAuth 2.1 browser authentication or custom headers. Supports --enable-proxy, --resource, --ignore-tool, and local token caching in ~/.mcp-auth.
npm install -g mcp-remote mcp-remote is a client-side stdio shim invoked inside MCP client configs rather than a standalone business CLI or MCP tool server.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Works non-interactively once OAuth tokens are cached, and offers --ignore-tool filtering, though initial OAuth requires a browser and stdin stays open as a stdio proxy.
- Stdio proxy loop with
--ignore-tool,--resource, and--enable-proxy
Uses standard OAuth 2.1 browser authorization and --ignore-tool filtering, though tokens are stored plaintext on disk in ~/.mcp-auth/.
- OAuth token cache in
~/.mcp-auth/and--ignore-toolblocklist
Runs via npx mcp-remote across macOS, Linux, and Windows on Node.js 18+.
- Published on npm (
mcp-remote)
Unlocks remote OAuth-protected MCP servers for stdio-only clients like older Claude Desktop or local runners.
- Standard stdio-to-OAuth HTTP/SSE adapter across MCP host configs
Widely adopted community package (geelen/mcp-remote) under MIT license.
- MIT-licensed
geelen/mcp-remoterepository
README covers flags, corporate proxy setup, and troubleshooting ~/.mcp-auth resets.
- GitHub README documents flags and auth directory behavior
Security, Auth & Guardrails
Caches OAuth client registrations and tokens under ~/.mcp-auth/ (override with MCP_REMOTE_CONFIG_DIR).
100% free and MIT open-source.
# mcp-remote Agent Rules - Pre-authorize OAuth in an interactive session before running headless workflows against `~/.mcp-auth`. - Use `--ignore-tool` to hide destructive remote tools when connecting untrusted or broad MCP servers.
Agent-Ready Command Recipes
Safe Read-Only Queries
mcp-remote CLI options npx -y mcp-remote --help
Displays supported flags including --enable-proxy, --resource, --ignore-tool, and --transport.
Controlled Writes & Previews
npx -y mcp-remote https://mcp.example.com/mcp --ignore-tool delete_resource
Connects to a remote MCP endpoint over stdio while filtering out destructive tools via --ignore-tool.
Strengths for Agents
- + Handles full OAuth 2.1 dynamic client registration and browser callback for stdio-only MCP clients.
- +
--ignore-toollets users suppress unwanted or risky remote tools at the proxy boundary.
Caveats & Pitfalls
- ! First-time authentication opens a local callback port and browser flow, blocking purely headless environments.
- ! Not a standalone query CLI; blocks on stdin/stdout as a stdio MCP transport shim.