mcp-remote
Use this skill when connecting an stdio-only MCP client to a remote MCP server using `mcp-remote` via `npx`.
Skill by jason-riddle
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jason-riddle-mcp-remote
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, security, productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/mcp-remote
What's inside
- Skill name
mcp-remote- Description
- Use this skill when connecting an stdio-only MCP client to a remote MCP server using `mcp-remote` via `npx`. Triggers on requests like "connect to a remote MCP server", "add mcp-remote to Claude Desktop", "use OAuth with an MCP server", "configure mcp-remote", or any task bridging a local MCP client to a remote MCP endpoint.
- License
- MIT
- Instructions
- 161 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
# mcp-remote
Bridge a local stdio-only MCP client to a remote MCP server (with OAuth auth
support) using `mcp-remote` via `npx`.
## Orientation
`mcp-remote` is not a standalone installed binary — it is invoked via `npx`. You must run the following commands before proceeding:
```bash
which -a npx
which npx
npx mcp-remote --help
```
## Basic config
Add to your MCP client config (e.g., `claude_desktop_config.json`):
```json
{
"mcpServers": {
"remote-example": {
"command": "npx",
"args": ["mcp-remote", "https://remote.mcp.server/sse"]
}
}
}
```
## Common flags
| Flag | Purpose |
|------|---------|
| `-y` | Auto-accept npx install prompt |
| `@latest` | Force check for latest version |
| `--header "Key: Value"` | Add custom request header |
| `--transport sse-only\|http-only\|sse-first\|http-first` | Control transport strategy (default: `http-first`) |
| `--allow-http` | Allow HTTP (non-TLS) connections |
| `--debug` | Write verbose logs to `~/.mcp-auth/<hash>_debug.log` |
| `--silent` | Suppress default logs |
| `--resource <url>` | Isolate OAuth session (for multiple instances of same server) |
| `--ignore-tool <pattern>` | Filter out tools by name/wildcard |
| `--auth-timeout <seconds>` | OAuth callback timeout (default: 30) |
| `--enable-proxy` | Use `HTTP_PROXY`/`HTTPS_PROXY` env vars |
| `--static-oauth-client-metadata <json\|@path>` | Provide static OAuth client metadata |
| `--static-oauth-client-info <json\|@path>` | Provide static OAuth client info (pre-registered clients) |
## Custom headers (auth bypass)
```json
{
"args": ["mcp-remote", "https://remote.mcp.server/sse",
"--header", "Authorization:${AUTH_HEADER}"],
"env": { "AUTH_HEADER": "Bearer <token>" }
}
```
Note: avoid spaces around `:` in `--header` values due to a Cursor/Claude Desktop (Windows) bug — put spaces in the env var instead.
## Multiple instances (isolated OAuth sessions)
Use `--resource` to give each instance a separate OAuth session:
```json
{
"args": ["mcp-remote", "https://mcp.example.com/sse", "--resource", "https://tenant1.example.com/"]
}
```
## Troubleshooting
- Clear stale credentials: `rm -rf ~/.mcp-auth`
- Test the auth flow manually: `npx -p mcp-remote@latest mcp-remote-client https://remote.mcp.server/sse`
- Node.js 18+ required.
- VPN cert issues: set `NODE_EXTRA_CA_CERTS` env var to your CA cert `.pem` path.
- Debug logs: add `--debug` flag; logs written to `~/.mcp-auth/<server_hash>_debug.log`.
## OAuth scope compatibility
As of 2026-08-22, the latest npm release is `mcp-remote@0.1.43`. Verify the
version before diagnosing an OAuth scope issue:
```bash
npm view mcp-remote version
npx -y mcp-remote@latest --help
```
The common failure is an OAuth authorization URL containing:
```text
scope=openid+email+profile
```
This can produce `invalid_scope` when the authorization server does not use
scopes. It is important to distinguish these metadata cases:
- `scopes_supported: []`: fixed in `0.1.39` by PR [#240](https://github.com/geelen/mcp-remote/pull/240).
- `scopes_supported` omitted: still falls back to `openid email profile` in `0.1.43`.
PR [#254](https://github.com/geelen/mcp-remote/pull/254) proposed handling both
empty and omitted scopes, but it was closed as a duplicate of #240. The merged
implementation intentionally retains the OIDC fallback when the metadata omits
`scopes_supported`. PR #240's merge event is documented at
<https://github.com/geelen/mcp-remote/pull/240#event-29826521934>; #254's close
event is at <https://github.com/geelen/mcp-remote/pull/254#event-29828880716>.
### Confirm the server metadata
Inspect both OAuth metadata endpoints. Use the resource URL from the server's
`WWW-Authenticate` response when it provides one:
```bash
curl -sS https://example.com/.well-known/oauth-protected-resource
curl -sS https://example.com/.well-known/oauth-authorization-server
```
If both responses omit `scopes_supported`, the current `mcp-remote` release
will use the fallback scope. If either relevant metadata response explicitlyFrom jason-riddle/agent-skills, MIT.
More from jason-riddle/agent-skills
- 0.565score
adb
jason-riddle
Use this skill when working with the Android Debug Bridge (`adb`) — connecting to devices, enabling USB or wireless debugging, pushing/pulling files, running…
SkillAFreshness: AClaude Code +9 - 0.565score
deno
jason-riddle
Use this skill when running, testing, or managing JavaScript/TypeScript projects with `deno`.
SkillAFreshness: AClaude Code +9 - 0.539score
bttf
jason-riddle
Use this skill whenever the user wants to run the `bttf` command or work with date/time parsing, arithmetic, formatting, recurrence, or time-zone conversion…
SkillAFreshness: AClaude Code +9 - 0.539score
fastmail-jmap
jason-riddle
Use this skill when the user wants to access Fastmail mail, contacts, or Masked Email through Fastmail's JMAP API using a credential-safe VM helper or curl…
SkillAFreshness: AClaude Code +9 - 0.539score
parking-passport
jason-riddle
Use this skill when the user wants to start, extend, or check a parking session through Passport Parking using a browser, including requests to pay for…
SkillAFreshness: AClaude Code +9 - 0.524score
nix
jason-riddle
Use this skill when working with the Nix package manager — installing packages, managing profiles, building derivations, or using nix flakes.
SkillBFreshness: BClaude Code +9 - 0.524score
paperless-postgres-mcp-query
jason-riddle
Use this skill when querying the Paperless-ngx PostgreSQL database via the `postgres` MCP server's `postgres_query` tool — discovering document IDs…
SkillBFreshness: BClaude Code +9 - 0.515score
android-remote-control
jason-riddle
Use this skill when controlling an Android device through the Android Remote Control MCP server — reading the screen, navigating apps and home screen, opening…
SkillBFreshness: BClaude Code +9 - 0.474score
opencode
jason-riddle
Use this skill when working with the OpenCode AI coding agent CLI.
SkillCFreshness: CClaude Code +9 - 0.474score
flatpak
jason-riddle
Use this skill when installing, removing, or managing applications with `flatpak`.
SkillCFreshness: CClaude Code +9 - 0.474score
age
jason-riddle
Use this skill when encrypting or decrypting files with `age` — generating key pairs, encrypting to one or more recipients, decrypting with an identity file…
SkillCFreshness: CClaude Code +9 - 0.474score
ollama
jason-riddle
Use this skill when running, managing, or interacting with LLM models via `ollama` — locally or on a remote machine.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 1
- Last commit (this folder)
- Aug 22, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/jason-riddle/agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from jason-riddle
- 0.565score
adb
jason-riddle
Use this skill when working with the Android Debug Bridge (`adb`) — connecting to devices, enabling USB or wireless debugging, pushing/pulling files, running…
SkillAFreshness: AClaude Code +9 - 0.565score
deno
jason-riddle
Use this skill when running, testing, or managing JavaScript/TypeScript projects with `deno`.
SkillAFreshness: AClaude Code +9 - 0.539score
parking-passport
jason-riddle
Use this skill when the user wants to start, extend, or check a parking session through Passport Parking using a browser, including requests to pay for…
SkillAFreshness: AClaude Code +9 - 0.539score
bttf
jason-riddle
Use this skill whenever the user wants to run the `bttf` command or work with date/time parsing, arithmetic, formatting, recurrence, or time-zone conversion…
SkillAFreshness: AClaude Code +9 - 0.539score
fastmail-jmap
jason-riddle
Use this skill when the user wants to access Fastmail mail, contacts, or Masked Email through Fastmail's JMAP API using a credential-safe VM helper or curl…
SkillAFreshness: AClaude Code +9 - 0.524score
paperless-postgres-mcp-query
jason-riddle
Use this skill when querying the Paperless-ngx PostgreSQL database via the `postgres` MCP server's `postgres_query` tool — discovering document IDs…
SkillBFreshness: BClaude Code +9
Cite this page
mcp-remote skill. Agent Mart. https://agentmart.dev/skills/jason-riddle-mcp-remote (last updated 2026-10-24)