Why claude.ai won’t add your spec-compliant MCP server

Claude logo
The short answerclaude.ai checks a new custom connector with the older Model Context Protocol (MCP) handshake before it uses the newer one. A server built only to the latest specification rejects that check, and claude.ai reports it as a sign-in problem. The fix is to answer the older handshake as well, then click Connect again.
We found this one ourselves. While designing our own MCP servers, we wanted to build to the newest version of the specification only. Before committing to that, our engineering team built a small throwaway probe server that accepts everything and logs every request, then pointed Claude Code and claude.ai at it. In modern-only mode, Claude Code connected without any trouble. claude.ai gave us an add connector error about sign-in, even though we had set authentication to None. If your own spec-compliant MCP server works everywhere except claude.ai, this is very likely the reason.

Found and tested by Phoenix Asange-Harper, Automation Engineer at GCIT. Written up by Elliot Munro, CISO.

If you own the business rather than build the server, here is the short version. Nothing is wrong with your data or your sign-in setup. The server needs one small change at the point where claude.ai first says hello, and your developer or IT partner can make it without changing how your tools work.

Symptoms: what does the claude.ai add connector error look like?

You add your server in claude.ai under Settings > Connectors > Add custom connector, with Authentication set to None, and claude.ai shows this message:
test2 is set up as not requiring sign-in, but the server asked for sign-in when checked (status 400)
The connector is then left in the list with a Connect button and this status:
You are not connected to test2 yet
“test2” was the name we typed into the dialog. Yours shows your own connector name. Other signs you are looking at the same problem:
  • Clicking Connect repeats the same check and fails the same way.
  • The same server works in Claude Code, or in another MCP client that uses the newest protocol revision.
  • Your server logs show claude.ai sending a JSON-RPC initialize request, your server answering with 400 Bad Request, and nothing after it. No server/discover and no tools/list ever arrive.

Affected software

  • Application: claude.ai custom connectors (remote MCP servers added under Settings > Connectors).
  • Platform: claude.ai in the browser. Custom connectors belong to your Claude account, so Claude Desktop is expected to behave the same, but we have not tested it.
  • Servers affected: MCP servers that support only the modern protocol era (revision 2026-07-28 and later) over Streamable HTTP, and reject the older initialize handshake.

Cause: why does claude.ai reject a spec-compliant server?

Because the part of claude.ai that checks a new connector still speaks the older version of the protocol, and a modern-only server is allowed to refuse it. Your server is not broken. It is doing what the specification permits, and claude.ai is misreporting the refusal as a sign-in request.
The Model Context Protocol now has two eras. Older revisions (2025-11-25 and earlier) open every connection with an initialize handshake. The current revision (2026-07-28) drops that handshake. Every request carries its own protocol version and client details, and a client can ask the server what it supports with server/discover. The specification lets a server support only the modern era, and its compatibility matrix says a legacy client talking to a modern-only server over HTTP fails with 400 Bad Request.
In our testing, claude.ai could not add a spec-compliant modern-only MCP server because its connector check uses the older handshake. When you click Add, the check sends a single initialize request. If that succeeds, claude.ai moves straight on and talks to your server in the modern era from then on. If it fails, the modern calls never happen, and the dialog turns the 400 into a message saying the server asked for sign-in. We ran this on , and then switched the same probe to answer both eras. Clicking Connect re-ran the check, it passed, and the connector came up with its tools.
What happens when you click Add in claude.ai
Recorded with our probe server, authentication set to None
Connector check, two pathsTwo paths. With a server built to the newest specification only, claude.ai sends the older handshake, the server rejects it with HTTP 400, claude.ai shows a sign-in error and the modern calls never run. With a server that also answers the older handshake, the server answers it, claude.ai runs modern discovery and the tool list, and the connector is connected.Newest spec onlyAlso answers older handshakeclaude.ai sends theolder handshakeclaude.ai sends theolder handshakeServer rejects itHTTP 400Server answers itstateless, no sessionSign-in error,not connectedModern discoveryand tool listModern callsnever runConnected,tools available
FailsWorks
Source: GCIT probe recordings, claude.ai custom connector, September 2026. Method: the same probe server switched between modern-only and dual-era modes, every request logged.
Show the steps as a table
StepNewest spec onlyAlso answers older handshake
claude.ai sendsOlder handshakeOlder handshake
Server repliesRejects it (HTTP error)Answers it, no session
NextSign-in error, not connectedModern discovery and tool list
ResultModern calls never runConnected, tools available

Is it this problem, or something else?

It is this problem if claude.ai reaches your server, sends the older handshake and gets refused. If the error mentions your organisation’s access policy, or claude.ai never reaches your server at all, look elsewhere first.

Signs it is the handshake

  • Authentication is set to None and the dialog still says the server “asked for sign-in”
  • Your logs show initialize from claude.ai, then your 400, then nothing
  • Claude Code or another modern client connects and lists tools
  • Your server was built to the 2026-07-28 revision only

Signs it is something else

  • The message mentions your organisation’s access policy or Conditional Access (see our Conditional Access fix for Claude MCP servers)
  • Your server genuinely requires sign-in and returns 401 (set Authentication to match, then check your Microsoft Entra ID setup)
  • No request from claude.ai reaches your logs at all (check DNS, TLS and your firewall)
  • The connector adds, but individual tool calls fail

Resolution: how do you get claude.ai to add the connector?

Make your server dual-era: keep the modern protocol as the main path and answer the older handshake as well, then re-run the check from claude.ai. The change is small and sits entirely at the handshake.
  1. Confirm the cause. Add the connector once and read your server logs. You are looking for a POST with the JSON-RPC method initialize, answered by your 400, and no further requests. Connecting the same URL from Claude Code is a quick cross-check.
  2. Answer initialize. If the client asks for a version you support, such as 2025-11-25 or 2025-06-18, echo it back. Otherwise answer 2025-11-25. Return capabilities with tools, your serverInfo and your instructions. Keep it stateless and do not issue an Mcp-Session-Id.
  3. Accept the follow-up notification. Reply 202 Accepted to notifications/initialized, in case a client sends it.
  4. Refuse the other HTTP methods cleanly. Return 405 Method Not Allowed with Allow: POST for GET and DELETE on the endpoint.
  5. Stop rejecting requests for missing modern headers. The initialize request legitimately arrives without _meta or Mcp-Method, and some legacy clients also leave out the MCP-Protocol-Version header. Treat a POST without them as a legacy request, log the era, and send it to the same handlers as everything else.
  6. Leave the modern path alone. Keep server/discover, per-request _meta and header validation exactly as they are. Your tool handlers and result shapes do not need a separate legacy version.
  7. Redeploy, then re-run the check. In claude.ai, open the connector and click Connect, or remove it and add it again.
  8. Verify the fix. The connector should show as connected with your tools listed. In your logs you should now see initialize answered with 200, followed by server/discover and tools/list in the modern era. Finish by calling one tool from a chat.
What the claude.ai check actually sends, and what to answer
The connector check is a separate component from the claude.ai client that uses your tools. In our recordings it sent one legacy initialize at 2025-11-25, with an MCP-Protocol-Version: 2025-11-25 header on the request itself, a generic python-httpx user agent and an empty capabilities object. It sent no notifications/initialized and no follow-up. Everything claude.ai sent after the check passed was modern: server/discover and tools/list with per-request _meta, then server/discover again before each tools/call.
The request body the check sent, as recorded:
{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"Anthropic","version":"1.0.0"}}}
An example of the shape to answer with (use your own server name, version and instructions):
{"jsonrpc":"2.0","id":1,"result":{"protocolVersion":"2025-11-25","capabilities":{"tools":{}},"serverInfo":{"name":"your-server","version":"your-version"},"instructions":"What this server does"}}
Scope
The legacy support covers the handshake only. Tool handlers do not fork by era, because older clients ignore the newer result fields.
Sessions
None. Do not mint Mcp-Session-Id and do not open a GET stream.
Access control
Unchanged. Filter the tool list and authorise each call on the credentials of that request, in both eras.
Spec note
A modern-only server SHOULD name the versions it supports in any error it returns to initialize. Do that too. It does not make claude.ai’s check pass, but it helps other legacy clients explain the failure.
Removal
Take the legacy handshake out once claude.ai’s check sends server/discover. Re-run your own probe whenever Anthropic ships a client change.

Important notes: what else should you know?

Two more claude.ai behaviours catch people out once the connector adds, and a few testing habits save time.
  • Discovery runs before every tool call. claude.ai also calls discovery before every tool call, and responses must not be compressed. In our testing it did not reuse an earlier discovery result, so keep server/discover cheap: configuration only, with no calls to upstream systems.
  • No compression. claude.ai asks for accept-encoding: identity. Make sure your hosting platform or proxy is not compressing MCP responses anyway.
  • A browser shows an error, and that is fine. Opening the endpoint URL in a browser returns 405, because it only accepts POST.
  • Testing a second connector. claude.ai treats connectors with the same URL as one connector. To add a second test connector against the same host, use a different path.
  • Security stays the same. Answering the older handshake does not need any change to sign-in, role checks or audit logging. If it seems to, the shim is doing too much.
What we have not testedThis is what claude.ai did in our testing as of September 2026, and Anthropic can change its connector check at any time. We tested with authentication set to None, so we have not recorded what the dialog says when a modern-only server also requires sign-in. We have not tested Claude Desktop. Retest after any claude.ai change before you rely on either behaviour.

Questions we get asked about this error

Not if it is refusing the older handshake on purpose. A modern-only server is allowed by the specification. claude.ai’s connector check expects the older handshake, so the fix is to answer it as well, not to change how your tools work.

Because the dialog reads the refusal as a sign-in request. The server returned an error to the handshake, not a request to sign in. The wording points you at authentication when the real problem is the protocol version.

Not in our testing. Claude Code went straight to the modern calls and never sent the older handshake to a modern server. Against an older server it fell back to the handshake by itself. That is why a server can work in Claude Code and still fail in claude.ai.

It should not. The handshake only agrees a protocol version and describes the server. Sign-in, role checks and audit logging apply to every request in both eras, so keep them exactly as they are. Our custom MCP server development page covers how we handle access and audit.

Probably, but we have not tested it. Custom connectors belong to your Claude account and are shared between claude.ai and Claude Desktop, so we expect the same check. Test it from Desktop before you rely on that.

When claude.ai’s connector check starts using server/discover instead. Keep a small probe or test connector handy and re-run it whenever Anthropic changes the client, so you know the day it changes.

Yes. We build and run MCP servers that connect Claude to business systems, and we test them against both claude.ai and Claude Code before handover. Contact our team with the error and what you are connecting, and we will tell you where it is failing.

Stuck getting your MCP server into claude.ai?

Send us the error and what you are connecting. We will tell you where the connection is failing and what it takes to fix it.
Was this article helpful?
Ready to secure and simplify your IT? Talk to a GCIT expert today.