Connect through MCP
Connect a Retainer workspace to Codex, Claude Code, or another MCP client.
For hosted Retainer, open your workspace and paste its setup prompt into your agent. You can also add the hosted MCP server manually.
codex mcp add retainer --url https://retainer.tamloot.cc/mcpIf Codex still needs authorization, run codex mcp login retainer.
Complete browser consent for the intended workspace. For self-hosting, use your own server's /mcp URL and see the connection options for API keys, OAuth, and stdio.
Confirm it works
Ask the agent:
Call Retainer's describe_schema tool. Tell me the workspace name and ID,
whether its schema is initialized, and which objects I can query.If it reports a different workspace, reconnect before writing. If the schema is empty, ask the agent to follow the discover_schema guide with you.