Skip to content

Connect ChatGPT

Add a Hivemind instance to ChatGPT as a custom MCP server, so ChatGPT can read and write your memory spaces after you sign in to Hivemind.

Codex, OpenAI's coding agent, uses a different client identity and its own page: Connect Codex.

Before you start

  • The instance accepts ChatGPT. Your administrator has enabled OAuth on the instance and allowed ChatGPT's published client document, as described in OAuth MCP connector. Ask for the MCP URL, for example https://hivemind.example.org/mcp.
  • The instance is public. ChatGPT calls Hivemind from OpenAI's servers, not from your computer. The URL must be HTTPS and reachable from OpenAI. A localhost, private-network or VPN-only URL does not work. OpenAI also offers a Secure MCP Tunnel for private servers; it is not covered here.
  • 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 ChatGPT plan and workspace allow custom MCP servers. OpenAI's help centre states that custom MCP servers with full MCP support, including write tools, are available on ChatGPT Business, Enterprise and Edu, on the web only. In a Business workspace only admins and owners can add one; in Enterprise and Edu, admins can grant the Create plugins with MCPs permission to members. Pro accounts can connect custom MCP servers with read and fetch access only, so Hivemind's write tools such as short_note are not available there. The help centre does not mention Free or Plus. Custom MCP servers cannot be added from the mobile apps.

The ChatGPT steps below were checked on 16 November 2026 against OpenAI's Connecting custom MCP servers in ChatGPT (updated in late October 2026), Connect and test your plugin and Authentication. They describe the current Plugins interface, which no longer needs Developer Mode; older guides that start from Developer Mode or Settings → Apps describe the legacy interface. OpenAI changes these menus often; when a label differs, follow those pages.

Steps

  1. In ChatGPT on the web, open Plugins.
  2. Select the plus button, then Add custom MCP server.
  3. Enter a name you will recognise, for example Hivemind, and optionally a description.
  4. Under Connection, enter the MCP URL including its /mcp path.
  5. Configure authentication with OAuth. OpenAI's pages do not name the options of this field, so the exact label could not be confirmed. Hivemind needs no client ID or secret here: ChatGPT identifies itself with its published client document.
  6. Review the risk warning and select I understand and want to continue.
  7. Select Create as a plugin. When ChatGPT needs to reach the tools, it opens the instance's sign-in page in your browser.
  8. 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 (ChatGPT, 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 ChatGPT should use.
  11. Under the agent choice, keep a new linked agent and give it a name such as chatgpt. 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. Back in ChatGPT, review the tools it discovered.
  13. Install the resulting plugin and start a new conversation. Type @ in the prompt box and select Hivemind.

ChatGPT may ask you to confirm write tools such as short_note before calling them, depending on the plugin's permissions.

In a Business, Enterprise or Edu workspace, an admin or owner can then publish the plugin for the workspace; members find it under Settings → Plugins. Whether each member then signs in to Hivemind with their own account, as expected for OAuth, could not be confirmed from OpenAI's pages.

Verify

Run both checks in a new conversation, selecting the plugin with @.

  1. An allowed call succeeds. Ask:

    @Hivemind 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:

    @Hivemind 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 plugin.

Disconnect

  • In ChatGPT: OpenAI's pages checked above do not describe how to disconnect or delete a custom MCP server in the Plugins interface; this step could not be confirmed. Look for the server under Plugins.
  • 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 ChatGPT.

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

Troubleshoot

Symptom Cause Fix
ChatGPT cannot reach the server The URL lacks the /mcp path, the instance is not public HTTPS, or it does not accept requests from OpenAI's servers. Use the exact URL ending in /mcp. Otherwise ask your administrator to check OAuth MCP connector.
Page "This connection cannot be completed", reference invalid_client The instance does not allow ChatGPT's client document. Ask your administrator to allow https://chatgpt.com/oauth/client.json.
Same page with invalid_request The redirect does not match the one the instance allows, https://chatgpt.com/connector_platform_oauth_redirect. Ask your administrator to compare the client document and redirect shown on the server's management page in ChatGPT. If they contain a per-connection identifier, the instance's discovery or issuer setup needs checking; do not add wildcard redirects.
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.
Write tools are missing or refused by ChatGPT Your plan allows read and fetch access only (Pro), or your workspace restricts the plugin's actions. Use a Business, Enterprise or Edu workspace, or ask its admin to enable the actions.
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.
Tool calls fail after the instance was upgraded A published workspace plugin keeps a snapshot of the tools approved by the admin. Ask the workspace admin to refresh the plugin's tool list.
ChatGPT asks you to sign in again after some days The connection reached its absolute lifetime, or it was revoked. Sign in and approve again.

OpenAI's help centre advises checking that the server advertises offline_access so refresh tokens are issued. Hivemind does not list that scope, but it always issues a rotating refresh token and accepts the scope when requested; this does not need a change on the instance.

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

Next