Connect your agent

Give your agent
a memory.

Agent Memo is a remote MCP server. Connect it once, complete the secure OAuth flow, and your agent can capture and retrieve project context across sessions.

01 / Server endpoint

Start with this URL.

Use the same remote endpoint in each client. Agent Memo uses Streamable HTTP and WorkOS OAuth to authenticate your account.

https://agent-memo.servix.workers.dev/mcp
02 / Choose your client

Four ways in.

Add the endpoint using the instructions for your agent. Do not add a static Authorization header when using OAuth.

01

Claude Code

Add Agent Memo from the CLI, then authenticate in Claude Code.

claude mcp add --transport http agent-memo https://agent-memo.servix.workers.dev/mcp
claude mcp login agent-memo

You can also run /mcp inside Claude Code and select Agent Memo to start the browser flow.

Claude Code MCP docs
02

Codex

Add the remote server to your Codex configuration, then log in.

[mcp_servers.agent_memo]
url = "https://agent-memo.servix.workers.dev/mcp"
auth = "oauth"

# Then authenticate:
codex mcp login agent_memo

Put this in ~/.codex/config.toml. Codex uses the server name agent_memo in its CLI commands.

Codex MCP docs
03

Cursor

Add Agent Memo to a project or your global Cursor MCP configuration.

{
  "mcpServers": {
    "agent-memo": {
      "url": "https://agent-memo.servix.workers.dev/mcp"
    }
  }
}

Save this as .cursor/mcp.json for one project or ~/.cursor/mcp.json for all projects. Complete OAuth from Cursor's MCP settings.

Cursor MCP docs
04

OpenCode

Configure Agent Memo as a remote MCP server, then authenticate from the terminal.

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "agent-memo": {
      "type": "remote",
      "url": "https://agent-memo.servix.workers.dev/mcp",
      "enabled": true
    }
  }
}

// Then authenticate:
opencode mcp auth agent-memo

Save this as opencode.json in a project or ~/.config/opencode/opencode.json globally.

OpenCode MCP docs
03 / Verify the connection

Make sure it stuck.

Complete the browser-based Agent Memo sign-in.

Confirm the Agent Memo server is connected in your client.

Ask your agent to call list_projects or get_project_context.

Load the agent instructions from /skills/tools/SKILL.md.