Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

mcp-remote

$ mcp-remote Community Med Risk
Glen Maddern · Agent Bridges & Meta · MIT · macos / linux / windows

mcp-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.

FCRS-1.0 Score
74 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
npm install -g mcp-remote
CLI vs MCP Decision CLI Only

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

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 16 / 25

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
Trust & Safety 18 / 25

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-tool blocklist
Setup & Portability 13 / 15

Runs via npx mcp-remote across macOS, Linux, and Windows on Node.js 18+.

  • Published on npm (mcp-remote)
Utility & Efficiency 12 / 15

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
Maintenance & Lineage 8 / 10

Widely adopted community package (geelen/mcp-remote) under MIT license.

  • MIT-licensed geelen/mcp-remote repository
Docs & Verifiability 7 / 10

README covers flags, corporate proxy setup, and troubleshooting ~/.mcp-auth resets.

  • GitHub README documents flags and auth directory behavior

Security, Auth & Guardrails

Auth Modes
OAuth Browser Env API Key Config File
Credential Storage

Caches OAuth client registrations and tokens under ~/.mcp-auth/ (override with MCP_REMOTE_CONFIG_DIR).

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

100% free and MIT open-source.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Check mcp-remote CLI options
npx -y mcp-remote --help

Displays supported flags including --enable-proxy, --resource, --ignore-tool, and --transport.

Controlled Writes & Previews

Bridge a stdio client to a remote OAuth MCP server
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-tool lets 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.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI