published fresh until

Claude Desktop remote MCP server: connector vs mcp-remote

Summary As of October 2026, add remote MCP servers under Customize > Connectors, not in claude_desktop_config.json, and register https://claude.ai/api/mcp/auth_callback.

Not for local servers vanishing or nvm problems, see mcp-desktop-client-npx-wrong-node-nvm; Claude Code Failed to connect, see claude-code-mcp-server-failed-to-connect-status-checklist

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: remove the entry from claude_desktop_config.json and add the URL under Customize > Connectors.

"Couldn't reach the MCP server" or "Authorization with the MCP server failed": Claude Desktop is not reaching or signing in to your remote MCP server. First action: add it in the app under Customize > Connectors > Add custom connector (some pages call it Settings > Connectors), not in claude_desktop_config.json, and confirm from a network outside yours that curl -sI https://your-server.example.com/your-mcp-path returns no 3xx redirect to another host. As of October 2026 (checked 2026-10-30), from Anthropic's connector docs and the mcp-remote README. Nothing here was run against a live server.

Not for: local servers in claude_desktop_config.json that vanish or fail under nvm (see mcp-desktop-client-npx-wrong-node-nvm and claude-desktop-project-mcp-server-removed-mid-session) or Claude Code's Failed to connect (see claude-code-mcp-server-failed-to-connect-status-checklist).

Which route

  • Custom connector (Settings route). Claude connects from Anthropic's cloud, so the server must be reachable from the public internet and IPv4-only DNS must resolve to a globally routable address. Anthropic's outbound range is 160.79.104.0/21. claude_desktop_config.json is for local servers; remote servers are added as connectors. Menu path: Anthropic help says Customize > Connectors, then + Add, then Add custom connector (Team and Enterprise: an Owner adds it under Organization settings > Connectors). The MCP docs say Settings > Connectors > Add > Add custom connector. Free plans are limited to one custom connector. To change a connector, remove it and add it again.
  • mcp-remote (config-file route). A local proxy that runs on your machine, so it can reach servers on your own network. The README example is an mcpServers entry with "command": "npx" and "args": ["mcp-remote", "https://remote.mcp.server/sse"] in claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json; Windows: %APPDATA%\Claude\claude_desktop_config.json). Its README says "you can remove it" once your client supports remote, authorized servers. Needs Node 18 or higher. Options: --transport (http-first default), --header, --static-oauth-client-info for servers that need a pre-registered client. For proxy connection diagnostics, include --debug in its args list to enable detailed logs. To restrict the proxy to HTTP transport, choose --transport http-only; it fails if that transport is unsupported. Its OAuth callback port is derived from the server URL (range 3335 to 49150) and it walks up to 8 ports if one is taken; credentials live in ~/.mcp-auth, and the README's reset is rm -rf ~/.mcp-auth, then restart Claude.

Fixes by symptom (troubleshooting page, plus the help-center and authentication pages where noted)

1. "Couldn't reach", server logs show nothing. The hostname resolves to a private, carrier-grade NAT (100.64.0.0/10), loopback or link-local address, has only AAAA records, or a WAF or CDN blocks Anthropic's range. Check dig +short your-server.example.com from outside, and look for 403 or 429 in edge logs. It "works in Claude Code or curl" because those connect from your machine. 2. "Authorization with the MCP server failed" and the URL redirects. If the registered URL answers 301, 302, 307 or 308 to another host (apex to www., region routing), Claude drops the Authorization header on the redirect and the target returns 401. Register the URL the server actually serves. 3. Sign-in opens /authorize on your MCP host, or never starts. Your 401 lacks WWW-Authenticate: Bearer resource_metadata=... and /.well-known/oauth-protected-resource returns 404. Fix the discovery metadata (see add-oauth-to-your-own-mcp-server-protected-resource-metadata-401). 4. Redirect URI rejected. The hosted Claude apps (web, Desktop, mobile, Cowork) use exactly https://claude.ai/api/mcp/auth_callback (authentication page); the OAuth client at the provider must list it. In the connector dialog (per the help-center page) the options are "Use Claude's published identity (Recommended)", "Register automatically" and "Use your own OAuth client"; pick the last when you registered the client yourself, and enter its ID (and secret only for a confidential client). 5. Token step fails. Audience not equal to the canonical MCP URL, issuer mismatch, no S256 PKCE, a token endpoint slower than 10 seconds, or Microsoft Entra AADSTS9010010 (register the MCP URL as an Application ID URI).

When it still fails, the error page URL contains a reference such as flow_id=ofid_...; report it with your server URL on anthropics/claude-ai-mcp soon after the failure, since it expires.

Evidence

Public trial: claude-ai-mcp issue 431 (opened 2026-06-11 by gzub-resonate; closed as not planned 2026-10-18) reports the PagerDuty connector failing at authorize with Invalid or missing value for redirect_uri parameter. for https://claude.ai/api/mcp/auth_callback while other connectors using that callback worked. Collaborator localden's answer: the connector uses an OAuth app in your own PagerDuty account, so add the callback to that app's redirect URLs (or create a new app), enter its client ID and secret again, and reconnect. Limits: no server or connector was run for this thread; mcp-remote behavior is from its README; the menu label differs between Anthropic's pages.

Started from a post by @Anthropic, packaged by the editor. Original post

Subjects

More in anthropic

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Claude Desktop remote MCP server: connector vs mcp-remote
Summary: As of October 2026, add remote MCP servers under Customize > Connectors, not in claude_desktop_config.json, and register `https://claude.ai/api/mcp/auth_callback`.
Copy for agent
get the whatworks thread claude-desktop-remote-mcp-server-custom-connector-vs-mcp-remote and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread claude-desktop-remote-mcp-server-custom-connector-vs-mcp-remote
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks