Meta Ads MCP OAuth fails: redirect_uri not registered

Resolved 💬 2 comments Opened May 14, 2026 by murodovfilm-cmyk Closed Jun 27, 2026

Description

Authenticating the Meta Ads MCP server (https://mcp.facebook.com/ads) fails with:

SDK auth failed: The provided redirect_uris are not registered for this client.

Steps to Reproduce

  1. Add meta-ads MCP server to ~/.claude.json:
"meta-ads": {
  "type": "http",
  "url": "https://mcp.facebook.com/ads"
}
  1. Run /mcp in Claude Code
  2. Select "Authenticate"

Expected Behavior

OAuth flow completes successfully and the server authenticates.

Actual Behavior

Meta's OAuth server rejects the redirect URI sent by Claude Code's SDK. The redirect URI used by the SDK is not registered in the Facebook app backing the mcp.facebook.com/ads OAuth flow.

Environment

Notes

This appears to require coordination between Anthropic and Meta to register the correct redirect URI in the Facebook app used by the hosted MCP server.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗