Hoist AIAssets Sign in
HomeDocsMCPCodex CLI

Install Hoist Assets in Codex CLI.

OpenAI's CLI coding agent. Reads `~/.codex/config.toml`.

~/.codex/config.tomlTested 2026-05

The config

[mcp_servers.hoist_assets]
command = "npx"
args = ["-y", "@hoist-assets/mcp"]

Steps

  1. Install Codex CLI: npm i -g @openai/codex.
  2. Add the snippet to ~/.codex/config.toml. Codex spawns the MCP server as a subprocess via npx.
  3. Run: codex --mcp hoist_assets. First run prompts you to approve OAuth in a browser.

Smoke test

In a Codex session: "Run a PPSR search on ACN 123 456 789." Codex routes to hoist-assets and confirms the price before executing.

Troubleshooting

  • OAuth window doesn't open. Check your default browser is set and pop-ups aren't blocked. On macOS you may need to grant Codex CLI accessibility permissions.
  • Tools don't appear after install. Restart the host completely. Some hosts cache the tool list at startup.
  • 403 on calls. Re-approve OAuth — the cached token may have expired or had scopes revoked.
  • Still stuck? Drop a note on GitHub Issues with the host name and the error message.

Other hosts