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 (status400)
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
initializerequest, your server answering with400 Bad Request, and nothing after it. Noserver/discoverand notools/listever 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-28and later) over Streamable HTTP, and reject the olderinitializehandshake.
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
FailsWorks
Show the steps as a table
| Step | Newest spec only | Also answers older handshake |
|---|---|---|
| claude.ai sends | Older handshake | Older handshake |
| Server replies | Rejects it (HTTP error) | Answers it, no session |
| Next | Sign-in error, not connected | Modern discovery and tool list |
| Result | Modern calls never run | Connected, 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
initializefrom claude.ai, then your400, then nothing - Claude Code or another modern client connects and lists tools
- Your server was built to the
2026-07-28revision 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.
- 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 your400, and no further requests. Connecting the same URL from Claude Code is a quick cross-check. - Answer
initialize. If the client asks for a version you support, such as2025-11-25or2025-06-18, echo it back. Otherwise answer2025-11-25. Returncapabilitieswithtools, yourserverInfoand yourinstructions. Keep it stateless and do not issue anMcp-Session-Id. - Accept the follow-up notification. Reply
202 Acceptedtonotifications/initialized, in case a client sends it. - Refuse the other HTTP methods cleanly. Return
405 Method Not AllowedwithAllow: POSTfor GET and DELETE on the endpoint. - Stop rejecting requests for missing modern headers. The
initializerequest legitimately arrives without_metaorMcp-Method, and some legacy clients also leave out theMCP-Protocol-Versionheader. Treat a POST without them as a legacy request, log the era, and send it to the same handlers as everything else. - Leave the modern path alone. Keep
server/discover, per-request_metaand header validation exactly as they are. Your tool handlers and result shapes do not need a separate legacy version. - Redeploy, then re-run the check. In claude.ai, open the connector and click Connect, or remove it and add it again.
- Verify the fix. The connector should show as connected with your tools listed. In your logs you should now see
initializeanswered with200, followed byserver/discoverandtools/listin the modern era. Finish by calling one tool from a chat.
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/discovercheap: 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.
FAQ
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.
Related resources
These are the pages we used to write this article, and our related guides.
- Model Context Protocol specification (modelcontextprotocol.io)
- MCP versioning and the compatibility matrix for legacy and modern eras (modelcontextprotocol.io)
- Getting started with custom connectors using remote MCP (Anthropic support)
- Microsoft identity platform documentation (Microsoft Learn), if your server signs users in with Microsoft Entra ID
- Fix: Claude MCP server blocked by Microsoft 365 Conditional Access policy
- All Claude AI Guides in our knowledge base
- Custom MCP server development and our wider AI and automation services
- Fix: “Need Admin Approval” When Connecting an App to Microsoft 365
- Microsoft Graph Sites.Selected for app-only access: the gotchas
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.