Skip to content

Connect Claude.ai

Add a Hivemind instance as a custom connector to your own Claude account, so Claude.ai, Claude Desktop and the Claude mobile apps can read and write your memory spaces.

This page covers one person adding the connector. Setting Hivemind up for all members of a Claude Team or Enterprise organization is a separate, organization-wide procedure: Connect a Claude organization. Claude Code is a different client with its own page: Connect Claude Code.

Before you start

  • The instance accepts Claude. Your administrator has enabled OAuth on the instance and allowed Claude's published web client, as described in OAuth MCP connector. Ask for the MCP URL, for example https://hivemind.example.org/mcp.
  • Anthropic's servers can reach the instance. Claude's connectors call Hivemind from Anthropic's cloud, not from your device. The URL must be HTTPS on the default port 443 with a publicly trusted certificate, reachable from Anthropic's IP ranges; it need not be open to the whole Internet. Your own browser only opens the sign-in page, so a private network or VPN is enough for that. A localhost URL that works for Claude Code does not work here. Administrators: the routes to open are listed in OAuth MCP connector.
  • You have a Hivemind account and a space. You can sign in to the instance's Portal, and at least one space is granted to you.
  • Your Claude plan allows custom connectors. Anthropic lists custom connectors on its Free, individual paid, Team and Enterprise plans; Free is limited to one custom connector.

Anthropic changes the Claude menus; when a label differs, follow Anthropic's Get started with custom connectors using remote MCP. The steps below are for the web interface; the connectors of your Claude account also serve Claude Desktop and the mobile apps. Local servers declared in claude_desktop_config.json are a different mechanism, not covered here.

Steps

  1. In Claude, open Customize → Connectors.
  2. Select + Add, then Add custom connector.
  3. Enter a name you will recognise, for example Hivemind, and the MCP URL including its /mcp path. Select Continue.
  4. Claude shows the authentication settings it detected. Select Continue.
  5. Under Authentication, choose Sign in now.
  6. Under OAuth client, keep Use Claude's published identity (Recommended). Do not choose Register automatically: Hivemind does not offer dynamic client registration and the connection fails. Choose Use your own OAuth client only if your administrator gave you a client ID for Claude; enter that ID and leave the client secret empty.
  7. Leave Request headers empty and select Add.
  8. Claude opens the instance's sign-in page in your browser. Sign in with your organization's provider, or with Sign in with email (password and authenticator code) if your account is local.
  9. On the Hivemind consent page, check what it shows: your email, the client (Claude, with its published address), the requested access (never administration), the spaces the connection may use, and the agent it will act as.
  10. Keep checked only the spaces Claude should use.
  11. Under the agent choice, keep a new linked agent and give it a name such as claude-ai. A separate agent per assistant keeps your notes' provenance clear and lets you revoke one assistant without the others. If you pick an existing agent instead, the connection keeps only that agent's own access.
  12. Select Allow. You return to Claude, which lists the connector.
  13. In a conversation, select + at the lower left, then Connectors, and turn Hivemind on.

If you belong to a Claude Team or Enterprise organization whose owner already added Hivemind, skip steps 2 to 7: open Customize → Connectors, find the Hivemind connector (usually labelled Custom) and select Connect, then continue at step 8.

Verify

Run both checks in a new conversation with the connector turned on.

  1. An allowed call succeeds. Ask:

    Use Hivemind to call system_whoami, then short_read on space <space-id>.

    Replace <space-id> with a space you checked on the consent page. Expected: system_whoami returns "status": "ok" and describes the agent you chose in step 11; short_read returns "status": "ok" and the space's recent notes (an empty list on a new space).

  2. A space without a grant is refused. Ask:

    Use Hivemind to call short_read on space <other-space-id>.

    Use a space you did not check, or that is not granted to you. Expected: "status": "error" with the message Access denied to space '<other-space-id>'. Hivemind gives the same answer for a space that does not exist, so this check proves the refusal but not which case applied.

If the first check fails, see Troubleshoot. If the second call succeeds, the space is granted to the agent: review the consent and your grants before using the connector.

Disconnect

  • In Claude: open Customize → Connectors, then select Remove or the menu next to the connector, and follow the prompts. Removing the connector stops Claude from calling Hivemind. To end the connection at Hivemind itself, delete the agent as described next.
  • In Hivemind: to end the connection server-side, open the Portal, go to Account → Agents, open the agent you created in step 11 and select Delete agent. Its API tokens, OAuth access and grants are revoked; its record and stored notes are kept. The Portal does not revoke a single OAuth connection from your account; an operator can.
  • Signing out of the Portal does not disconnect Claude.

The connection also ends on its own when it reaches the absolute lifetime set by your administrator; Claude then asks you to sign in and approve again.

Troubleshoot

Symptom Cause Fix
Claude cannot add or reach the connector The instance is not HTTPS on port 443, its certificate is not publicly trusted, or its connector routes are not reachable from Anthropic's IP ranges. Ask your administrator to check the network requirements in OAuth MCP connector.
Page "This connection cannot be completed", reference invalid_client The instance does not allow Claude's client, or the client ID you entered is unknown. Ask your administrator to allow Claude's published web client, or use the published identity in step 6.
Same page with invalid_request The redirect does not match. A client registered by hand must allow exactly https://claude.ai/api/mcp/auth_callback. Ask your administrator to fix the client's redirect.
Connection fails after choosing Register automatically Hivemind does not offer dynamic client registration. Remove the connector and add it again with Use Claude's published identity.
Consent page says you have no space; Allow is disabled No space is granted to your account. Ask your administrator for a grant, then reconnect.
The sign-in page appears again before consent Your sign-in is older than 10 minutes, or your Portal session ended. Sign in again; you return to the same request.
A tool answers Access denied to space '…' The space was not checked on the consent page, is not granted to you, or does not exist. Check the space ID. To use another space, change the agent's space access under Account → Agents, or ask your administrator for a grant.
Claude asks you to sign in again after some days The connection reached its absolute lifetime, or it was revoked. Sign in and approve again.

The complete list of error pages is in native OAuth for MCP clients.

Next