MCP
Connecting an MCP client
One Keystone MCP server for any client: standard Streamable HTTP and OAuth 2.1, and every call runs as the signed-in person's own.
There is one Keystone MCP server, and it is not built for one assistant. It implements the Model Context Protocol over Streamable HTTP, authenticates with OAuth 2.1 the way the protocol specifies, and publishes the discovery documents a client needs to find the authorization server on its own. Claude, Cursor, ChatGPT, the MCP Inspector, and anything you write against an MCP SDK connect the same way. The Keystone Claude Connector page covers the one client with a packaged setup.
What a client needs
| Server URL | https://mcp.keystone.app/mcp |
| Transport | Streamable HTTP (the 2026-07-28 protocol; 2025-era clients are served too) |
| Authentication | OAuth 2.1 with PKCE; bearer token in the Authorization header |
| Scope | edits |
| Discovery | /.well-known/oauth-protected-resource (RFC 9728) on the server's host; the authorization server's metadata is mirrored at /.well-known/oauth-authorization-server for older clients |
The sign-in
- The client calls the server without a token and receives
401with aWWW-Authenticateheader pointing at the protected-resource metadata. - From that document it learns the authorization server (the Keystone Auth service) and the
editsscope, and starts an authorization-code flow with PKCE. - The person signs in to Keystone and approves the client. The Auth service issues an MCP access token bound to this server as its audience.
- The client sends the token on every call. The server checks it and forwards each call to the Edits API with that token and its own service key.
Who may connect
Any active Keystone user with a verified email may sign in. What they may do is what their role lets them do in the console, on the businesses they reach; SOR checks every call. A sign-in from an inactive or unverified account fails at the Auth service with a reason.
The Auth service only redirects to callback URIs it knows. Claude's and Cursor's are registered; for another client, or your own, send its callback URI to developer support.
What the client gets
The tools are Keystone's capabilities, the same ones Ask Keystone uses, plus businesses_find. The model finds the business by name, site or domain, then passes its id as business_id to every other tool. Each call runs at once as the signed-in person's own, acts included, exactly as a click in the console would; there is no separate confirmation step. The tool reference lists every tool and its parameters.
Each tool answers with SOR's answer as JSON text and as structuredContent. Nothing about a tool depends on how the client draws it.