Diagnose a Claude connector by finding which step failed: reaching the server, authorizing, listing tools, calling a tool, reading the source, or interpreting the question. Couldn’t reach usually means DNS, a firewall or broken OAuth discovery. Authorization failed often means an issuer or audience mismatch, or a redirect that dropped the credential. Unexpected error while invoking tool means the server was reached and returned an error. An empty result is not the same as denied access, so never widen permissions until you know which layer failed.
Find out how far the request got
A report that says the integration does not work could describe six different failures, each owned by a different person. Reconnecting fixes one of them, at most. Ask how far the request got first, because a connection runs through steps in a fixed order and each one has its own symptom.
A connector that works in curl or Claude Code and fails in claude.ai is giving you evidence. Local tools connect from your machine, and claude.ai connects from Anthropic’s infrastructure.
Couldn’t reach the MCP server
Despite the wording, the network isn’t always at fault, and Anthropic’s troubleshooting page lists the causes in the order worth checking. Start with DNS. Claude validates the resolved address before sending anything, and it rejects private, carrier-grade NAT, loopback and link-local addresses, plus a mix of public and non-public ones. Connectors are IPv4-only, so a hostname with only AAAA records fails too. Your access logs show nothing at all in these cases, and people go on to suspect the wrong team.
Next, look for an edge rule. A WAF, CDN or rate limiter can return 403 or 429 before your application sees the request, so search the edge logs for responses your application did not generate. Where you find them, allowlist Anthropic’s published outbound range or exempt the MCP and OAuth paths. Then check discovery, because a missing metadata document can surface under this same message even when the endpoint itself is healthy.
# 1. Every address must be globally routable, with an A record
dig +short mcp.example.com
# 2. A 401 or 405 is fine; a timeout or refused connection is not
curl -i https://mcp.example.com/mcp
# 3. Must not be a 3xx to a different host
curl -sI https://mcp.example.com/mcp
# 4. Should return 200 with JSON
curl -i https://mcp.example.com/.well-known/oauth-protected-resource/mcp
# 5. One of these two should return 200; a 404 on the other is expected
curl -i https://auth.example.com/.well-known/oauth-authorization-server
curl -i https://auth.example.com/.well-known/openid-configurationAuthorization with the MCP server failed
The OAuth flow started and did not finish. Redirects are the cause teams find hardest to spot. A registered URL that returns a 3xx to another host, such as apex to www or a vanity domain to a CDN, makes Claude drop the Authorization header as it follows. The target returns 401 and you get this error. Local clients fail fast on the same redirect, and that explains the report that it works in the Inspector but not claude.ai.
After that, compare the tokens with what the server expects. The issuer in your authorization server metadata must match what signs the tokens. Claude sends the resource parameter as your server’s canonical URL, including its path, and the MCP specification requires servers to confirm a token was issued for them, so an audience check that compares byte for byte with a URL someone typed can fail. Confirm S256 PKCE is advertised and that your token endpoint answers within Claude’s ten-second wait.
One administrative cause looks identical to a person repeatedly trying to log in. Some servers hold a new client until an administrator approves it, and neither repeating the sign-in nor switching accounts will fix that. Signing in with the wrong organization or workspace account is similar, where the flow succeeds and then fails or shows the wrong data.
Connected, but the tools are missing
Work through these in order. Is the connector turned on for this conversation, in the + menu? Has an Owner set the tool to Blocked? Owner settings apply across the organization and members cannot override them.
Then look at the server. Under the current specification a tool list may vary by the authorization on the request, for example showing only what the caller’s scopes permit, and it may change over time. A missing tool can be correct behavior for this person. Use the MCP Inspector to call tools/list directly and compare what the server offers with what Claude shows. A tool the server returns and Claude doesn’t show points at the client side. A tool the server omits points at scopes and server configuration.
Unexpected error while invoking a tool
Good news for your diagnosis. Connection and authorization worked, and your server returned an error for a specific call. No reference ID exists for it, so capture the tool name, the time in UTC and the connector URL. Run the same call in the Inspector and read the server’s log at that moment. Find out whether it hits every user or one account, since one account points at permissions and all accounts point at the handler.
Two limits show up here as well. On claude.ai and Desktop a tool call times out at 240 seconds and results are limited to about 150,000 characters, so a slow warehouse query or an oversized result can look like a random fault. Separately, the specification divides protocol errors from tool execution errors with isError set to true. The second kind goes back to the model so it can correct itself, and a retried answer may appear with no visible error at all. Read the tool output even when the reply looks fine.
The tool worked and the answer looks wrong
Three states often get reported the same way and mean very different things. An empty result can be a true zero, or a filter value that matched nothing because the column stores NE and the question said Northeast. Denied access means the person lacks permission. An unavailable source means nobody got an answer. A sales manager can legitimately have no opportunities in a region, so treating every empty table as an outage misleads as badly as treating every denial as a zero.
Query the source directly as the same person, through its normal path. A failure there puts the problem in the source: an expired authorization or a changed role, which the source owner can fix. A success means you should reduce the question, removing one dimension at a time while keeping the definition. A clarifying question may be correct behavior for an underspecified request, so don’t keep rewording until you get an answer you like. Document what resolved the ambiguity instead.
Don’t do these while debugging
- Do not switch to an admin accountIt may appear to fix the problem and it hides the fault. It can also put data in a conversation the person should never have seen.
- Do not widen permissions as a testTemporary access tends to stay. Reproduce with an account that already has the intended scope.
- Do not paste the whole conversationTickets outlive their purpose. Send the smallest reproduction, with a redacted error and a timestamp, and never a token.
- Do not delete and re-add firstRemoving a connector can erase the configuration you needed to inspect, and members then have to reconnect.
A ticket that gets resolved
The report I’d want names the last step that worked. For example: connector shows connected, the tool list includes the expected tools, the source opens for the same person, and one aggregate question fails after the period filter is added, at this time in UTC. For a connection or sign-in failure on claude.ai, also copy the reference ID beginning with ofid_ from the error URL, since it is time-limited and lets Anthropic trace the failure. Close the ticket with the failed layer, the cause, the approved change, and the question that now passes.
These symptoms on our server
Our public MCP reference documents how each of these looks on the hosted server. A missing, expired or revoked token gets a 401 whose WWW-Authenticate header says where to sign in again. Missing scopes, disabled action tools and rate limiting come back as tool errors with a readable message, where you might expect HTTP errors. A pending workspace approval means an administrator reviews it under Admin, AI, MCP, and the person then reconnects.
On the last layer, the answer helps separate the states. Answered as shows the identity, Not included names what was left out and why, and an empty result is no proof that the source has no records. Our docs also advise reconnecting with the same account after an authorization error. I’d keep that rule in any setup.
Claude is a trademark of Anthropic, PBC.
Bring three business questions
Explore your sources, definitions, and review criteria with our team. Please keep credentials and sensitive records out of the inquiry.