Mana
Guides · Connect your agentCodex
Connect your agent

Codex

Two commands and one sign-in, then one paste.

2 steps · 1 min readView as Markdown
Read this guide inclaude.aiChatGPT
On this page4 parts
  1. Add the server

    Run these two commands in a terminal:

    Terminal
    codex mcp add mana --url https://mcp.mana.scalarmind.com
    codex mcp login mana

    Or paste this line into Codex, and the agent runs the two commands for you:

    Run these two commands for me: codex mcp add mana --url https://mcp.mana.scalarmind.com and then codex mcp login mana. The second command opens my browser, and I sign in there.

    The second command opens your browser to sign in and confirm. codex mcp list then shows the server. The mana_* tools appear from the next session.

  2. Then paste the prompt

    Start a new session and paste this prompt. It tells the agent to read the standing instructions, which carry the rules your organization keeps.

    The prompt · after Mana is connected
    I have connected the Mana MCP server to this assistant.
    Call mana_standing_instructions and follow what it returns: it carries standard organization rules, and it says when to read it again.

    If you pasted the line above, let the agent run the two codex mcp commands, then start a new session and paste this.

    Then store your first memory.

When the connection is lost

Your browser opens to sign you in. Then a confirmation page names the client and the address it returns to. If you have not accepted the terms of service yet, that page asks you to. The token renews itself.

When Codex says the connection was lost, run codex mcp login mana again. Codex registers itself again at each login, so the confirmation page shows again. Nothing in the store is lost.

Removing it

Remove Mana undoes the connection and anything the agent added to your instruction files.