Install the Host Config
Run the following steps to register Contexity as an MCP server inside Codex.Preview the config (dry run)
Run the installer with
--dry-run to see exactly what changes will be written before committing anything:Expected Codex Behavior
After setup, Codex should automatically call the following MCP tools at each stage of a task:| Tool | When Codex calls it |
|---|---|
context_start_run | At the beginning of every task |
context_retrieve_pack | Before making any edits |
context_search_project | Before broad repo exploration |
context_impact | Before edits to known files |
context_detect_changes | After every meaningful edit |
context_close_run | At task closeout |
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