Connect Codex to MeMorae.

Use the hosted MCP endpoint and an API key from the project you want Codex to access.

Minimal example

Use these values on a trusted local machine or server. Keep project credentials out of browser code.

toml
[mcp_servers.memorae]
url = "https://memora-singapore.onrender.com/mcp/"
http_headers = { Authorization = "Bearer YOUR_PROJECT_API_KEY" }

[mcp_servers.memorae.tools.memory_store]
approval_mode = "approve"

Check that it works

  1. For automatic capture, follow /docs/hooks. Restart the client, review and trust UserPromptSubmit, and confirm one installed and one active hook in /hooks. Test in the exact client and conversation mode you intend to use.
  2. Run codex mcp list or type /mcp in Codex to confirm the hosted server is connected.
  3. Ask Codex to call memory_stats with no arguments.
  4. Submit a harmless preference through the trusted hook. Confirm a new source in the same dashboard project, then an Active memory and search/graph readiness. Search in another conversation using the same scope. A manual store call alone does not verify automatic capture.

Optional instructions for explicit tool use

Open the instruction file supported by your agent client in a plain-text editor. Append the following without replacing existing guidance, then reload the client. Instructions guide tool use; automatic capture requires a supported lifecycle integration.

AGENTS.md
When a user question could benefit from saved personal or project context, use the MeMorae memory_search tool before answering. When the user directly states a durable fact or preference (for example, "I love Ronaldo"), call memory_store with the exact statement. Do not store greetings, guesses, secrets, credentials, or sensitive personal information unless the user explicitly asks. A pending store response is not yet a searchable memory. Never claim a fact was saved or recalled unless the tool confirms it.

MAKE CONTEXT CARRY FORWARD

Continue with the product docs.

Learn the memory model, API configuration, lifecycle, and troubleshooting.

Get started