Install the Host Config
Run the following steps to register Contexity as an MCP server inside Codex.1
Preview the config (dry run)
Run the installer with
--dry-run to see exactly what changes will be written before committing anything:2
Apply the config
When the preview looks correct, apply the configuration:
3
Verify the setup
Run the doctor command to confirm that Codex and the MCP server are correctly connected:
Expected Codex Behavior
After setup, Codex should automatically call the following MCP tools at each stage of a task:
When metrics display is enabled, Codex also shows the heuristic value summary after relevant tool calls. You can control this behavior — see Manage Metrics Display.
Capturing External Sources
When you share a Slack update, issue comment, repository link, docs link, or inspiration link with Codex, Codex should callcontext_capture_external_reference — not paste the raw external content into model instructions.
The call should include:
- Source locator — the URL or identifier pointing to the original source
- Source type — for example,
slack_thread,github_issue, ordocs_link - Short reason or summary — why this source matters for the current task
- Extracted signals — structured takeaways with stable signal keys
- Trust state hints — when you can indicate the reliability of the source