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
- Add meta-ads MCP server to
~/.claude.json:
"meta-ads": {
"type": "http",
"url": "https://mcp.facebook.com/ads"
}
- Run
/mcpin Claude Code - 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
- Claude Code version: 2.1.141
- OS: macOS 25.1.0
- MCP server URL: https://mcp.facebook.com/ads
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.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗