> ## Documentation Index
> Fetch the complete documentation index at: https://docs.connectkey.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Code remote MCP setup (untested)

> Register the ConnectKey server in Claude Code, check which project the entry applies to, and see what stays unverified until a real client run.

> [!WARNING]
>
> **Not yet verified on staging:** This applies to every step here that needs a signed-in account or a live ConnectKey connection, including setup, workspace consent, tool discovery, calls, and disconnecting or restoring access. No tool is confirmed available in this client.
>
> **Untested where sign-in or a serving `/mcp` endpoint is required.** Connecting this client, signing in to ConnectKey, choosing a workspace, allowing access, and listing or calling tools have not been verified in a real client. On 2026-11-25, staging returned `404` for `/mcp`, `/.well-known/oauth-protected-resource`, and `/.well-known/oauth-authorization-server`. The production MCP host did not resolve. This page does not say the client is supported or that setup works.

Unauthenticated checks verified on 2026-11-25: vendor setup steps and configuration paths against current public vendor documentation, ConnectKey authorization and disconnect UI labels (`Which workspace should ... use?`, `Allow`, `Cancel`, and `Disconnect` in `Agents`) against `connectkey-ai/app` `development` (`f7c8d23`), and live public endpoint probes.

1. Add `https://mcp.connectkey.ai/mcp` to your client.
2. Sign in to ConnectKey (Untested: requires sign-in and a serving `/mcp` endpoint).
3. Pick a workspace (Untested: requires sign-in and a serving `/mcp` endpoint).
4. Allow access to that workspace (Untested: requires sign-in and a serving `/mcp` endpoint).

```text Copy the ConnectKey URL for Claude Code CLI theme={null}
https://mcp.connectkey.ai/mcp
```

## Prerequisites

* Claude Code installed and signed in.
* A ConnectKey account.

## Steps

1. Documented in Claude Code docs (retrieved 2026-11-25; not run in a real client): in your terminal (not inside a `claude` session), run `claude mcp add --scope user --transport http connectkey https://mcp.connectkey.ai/mcp`. Without `--scope user`, Claude Code documents registering the server in local scope for the current project only.
2. Untested (needs sign-in and a serving `/mcp` endpoint): start Claude Code, run `/mcp`, select `connectkey`, and choose `Authenticate` to follow the browser sign-in prompt (Anthropic also documents `claude mcp login connectkey` in the shell to run OAuth outside `/mcp`, including before non-interactive `claude -p` or Agent SDK runs).
3. Untested (needs sign-in and a serving `/mcp` endpoint): in the browser, sign in to ConnectKey, pick a workspace (`Which workspace should ... use?`), and select Allow.

## What to check

* Untested (needs sign-in and a serving `/mcp` endpoint): run `claude mcp list`. `connectkey` should show as `Connected` (Claude Code documents `Needs authentication` before sign-in and `Connected · tools fetch failed` if tool listing fails).
* Untested (needs sign-in and a serving `/mcp` endpoint): ask the agent to list the ConnectKey tools it can see. If the list appears, that shows the connection only; it is not a tested result.

## If it fails

* Claude Code documents `claude mcp get connectkey` to inspect the configured URL and error detail. On v2.1.219 or later, Claude Code documents that an HTTP `404 Not Found` shows `MCP endpoint not found at <origin>. Check the URL in your MCP config.` in `/mcp` (earlier versions included the path, or `Error POSTing to endpoint` before v2.1.191); public probes on 2026-11-25 returned `404` on staging `/mcp`.
* Claude Code documents `Connected · tools fetch failed` when a server connects but cannot list tools. If you edit `.mcp.json` or `~/.claude.json` directly instead of using the CLI, Claude Code documents that you must include `"type": "http"` (or alias `"streamable-http"`), because it skips a `url` entry with no `type`.
* To remove and start again, Claude Code documents `claude mcp remove connectkey --scope user` (or `--scope local` for local scope; omit `--scope` if the entry exists in only one scope). Removing the entry deletes locally stored OAuth tokens without revoking them at the authorization server. Anthropic documents running `claude mcp logout connectkey` before removing the entry to revoke tokens only if the authorization server supports revocation. To revoke agent access in ConnectKey, open Agents, select the agent, and choose Disconnect (UI label verified in app source `f7c8d23`; logout and revocation runs untested).

## Why is my Claude Code server entry only visible in one project?

Anthropic documents a local scope by default. Without an explicit scope, the entry belongs to the current project. User scope makes an entry available across projects for the same user.

## Is a Claude web connector the same as a Claude Code server entry?

No. Anthropic’s Claude Code documentation describes server entries managed in the CLI. A connection made on the web does not create or verify a CLI server entry. Anthropic documents that connectors added on `claude.ai` appear in `/mcp` in Claude Code only when your active authentication method is a `claude.ai` subscription login (not an API key or third-party provider), so check `claude mcp list` for CLI entries and `/mcp` for `claude.ai` connectors before adding the server again.

## What changes when Claude Code falls back from HTTP?

On Claude Code v2.1.265 or later, Anthropic documents that `--transport http` tries HTTP first and switches to legacy Server-Sent Events (SSE) if the server rejects HTTP. Selecting HTTP does not tell you which transport the build actually used.

## Where does Claude Code handle sign-in for a remote server?

Anthropic documents an interactive sign-in flow in the CLI’s `/mcp` menu and `claude mcp login <name>` in your shell. Adding a server entry is separate from authorizing it.

## Can I use a chat prompt instead of configuring Claude Code?

Anthropic documents a CLI command for adding a server. A pasted request to configure ConnectKey is not a verified installer.

## Which Claude Code build has listed ConnectKey tools?

No Claude Code build has completed a real staging run with ConnectKey. There is no recorded successful sign-in or tool listing against a ConnectKey host.

## Evidence

* Status: documented
* Vendor documentation retrieved: 2026-11-25
* Real-client result: None recorded. Vendor setup steps and version notes were checked against Anthropic's public Claude Code docs (retrieved 2026-11-25), and ConnectKey authorization and disconnect UI labels were verified against app development (f7c8d23). On 2026-11-25, public HTTP probes returned `404` on staging for `/mcp`, `/.well-known/oauth-protected-resource`, and `/.well-known/oauth-authorization-server`. A DNS lookup for the production MCP host returned `NXDOMAIN`. No Claude Code build or CLI command has been run against ConnectKey, so every setup, sign-in, tool-listing, and revocation step stays untested in a real client.
* [Claude Code MCP quickstart](https://code.claude.com/docs/en/mcp-quickstart)
* [Claude Code MCP transports and authentication](https://code.claude.com/docs/en/mcp)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.