Skip to content
Open Memside

Codex

Codex can connect to Memside through MCP. The connection allows Codex to load selected Memories, project checkpoints, Operating Rules, and other saved context before it plans, edits, or reviews code.

Start with the CLI setup when the installed Codex version provides the mcp command. Use the MCP server screen when working in a Codex surface that exposes configuration through the interface.

  1. Sign in to Memside.
  2. Open Settings > Developer & API.
  3. Create an API key and copy it when shown.
  4. Confirm that the installed Codex version supports MCP servers.
  1. Open a terminal.
  2. Add the Memside remote server:
Terminal window
codex mcp add memside --url https://api.memside.com/mcp/
  1. List the configured servers:
Terminal window
codex mcp list
  1. If Codex requests authentication details, use this bearer header:
Authorization: Bearer mem_sk_your_memside_api_key
  1. Restart Codex if the new tools do not appear.
  1. Open Settings in Codex.
  2. Open MCP Servers.
  3. Select Add Server.
  4. Enter memside as the server name.
  5. If the form supports a remote URL, enter:
https://api.memside.com/mcp/
  1. Add the bearer authorization header using the Memside API key.
  2. Save the server and restart Codex.

If the form accepts only a launch command, use:

  • Command: npx
  • Arguments: -y, mcp-remote, https://api.memside.com/mcp/, --header, Authorization: Bearer mem_sk_your_memside_api_key
  • Environment variables: leave empty unless required by the installed build
  • Environment variable passthrough: leave empty
  • Working directory on Windows: %USERPROFILE%\.codex

Some Codex versions store MCP configuration in:

  • Windows: %USERPROFILE%\.codex\config.toml
  • macOS or Linux: ~/.codex/config.toml

Use the MCP schema supported by the installed Codex release. The CLI or the MCP server screen is preferred because it writes the correct format for that version.

Run codex mcp list or open the MCP server settings. Confirm that memside is enabled and its tools are available.

Then start with a read-only request:

Use Memside to find the active checkpoint and summarize the current task.
  • Restart Codex after adding or changing the server.
  • Confirm that codex mcp list includes memside.
  • Check that the server URL ends with /mcp/.
  • Recreate the Memside API key if authentication fails.
  • Use the MCP setup path available in the installed Codex surface when the CLI command is unavailable.