Skip to content

ChatGPT

Connect xmemory’s MCP server to ChatGPT and your chats get xmemory’s read and write tools with no custom code. ChatGPT registers a custom MCP server as a plugin; the route differs between chatgpt.com and the ChatGPT desktop app, so both are given below, followed by the Codex CLI.

See the integration overview for comprehensive guides, API references, and integration examples.

API key: To use xmemory APIs or integrations (including MCP), you need an API key. Get one from the xmemory console. Copy and securely store the key. Never share your API key publicly.

Walked on chatgpt.com, Plus plan, August 2026. The desktop app takes a different route.

Open Settings → Security and login and enable Developer mode (it is labelled ELEVATED RISK). Until it is on, the Plugins page has nothing on it to add a custom server with.

Developer mode under Settings, Security and login in ChatGPT

Open Plugins — a top-level item in the left sidebar — and click the + beside the search box. The + is only there once Developer mode is on.

The Plugins page in ChatGPT with the + button beside the search box

In New Plugin: give it a Name, keep Connection on Server URL and paste your xmemory MCP URL, and leave Authentication on OAuth:

https://mcp.xmemory.ai/instance/<instance_id>

The instance path binds the plugin to that instance up front. (To pick the instance during sign-in instead, use the root URL https://mcp.xmemory.ai/.) Tick I understand and want to continue under the risk notice — Create activates only then.

The New Plugin form in ChatGPT with the xmemory server URL and OAuth authentication

On the plugin’s page, click Connect and then Sign in. The browser form that opens is xmemory’s own and asks for one thing: an xmemory API key, which you create on the API Keys page of the console.

The sign-in dialog adding the xmemory plugin to ChatGPT

The plugin appears under Plugins → Personal → Created by me. Mention it by the name you gave it to use its tools in a chat; its Manage page adjusts per-tool permissions.

The xmemory plugin connected under Created by me in ChatGPT

On Business / Enterprise / Edu workspaces custom servers may need a workspace admin; that path has not been walked, so treat OpenAI’s own documentation as the reference there.

The desktop app takes a different route. Open Settings → Plugins → MCPs → + Add server, which opens Connect to a custom MCP: give it a Name, and set Type to Streamable HTTP — the form opens on STDIO, whose next field is a shell command, not a URL. Then paste the same instance URL and complete the same sign-in with your xmemory API key.

For the Codex CLI, add xmemory as an MCP server with the instance URL, then sign in:

Terminal window
codex mcp add xmemory-<FIRST8> --url https://mcp.xmemory.ai/instance/<instance_id>
codex mcp login xmemory-<FIRST8>

Name the server xmemory- plus the first eight characters of the instance id — the same name xmemcli instance setup prints for it; the install guide explains why a shared name collides.

codex mcp login opens a browser; no key is written into the config file. For headless use, configure a fixed Authorization: Bearer <xmemory API key> header for the server in your Codex config instead — see the Codex guide.

See the full MCP guide for both authentication paths, the complete tool list, and error handling.

The steps above bind to a single instance (/instance/<instance_id>). The MCP server also offers two other connection types, chosen by the connect URL:

  • Admin (fleet) tools — use https://mcp.xmemory.ai/admin to create instances, list clusters, and manage instance metadata. Admin is global-only (no /admin/<instance_id>).
  • Status only — use https://mcp.xmemory.ai/status for the read-only status tool.

When creating the plugin, paste the admin (or status) URL as the Server URL instead of the instance URL. For Codex:

Terminal window
codex mcp add xmemory-admin --url https://mcp.xmemory.ai/admin

See the MCP guide for the full admin tool list.