Skip to content

Codex

Codex has bash access, so muxed works through CLI commands — no MCP proxy needed.

Terminal window
npx muxed init

init discovers your existing MCP servers and injects CLI instructions into ~/.codex/AGENTS.md. See Setup for details and options.

After init, Codex reads the instructions from AGENTS.md and follows the discover, inspect, call workflow:

Terminal window
# Find tools
muxed grep "search"
# Check the schema (required before calling)
muxed info slack/search_messages
# Call with correct parameters
muxed call slack/search_messages '{"query": "deployment issue", "limit": 5}'

For multi-step workflows, Codex writes and runs TypeScript scripts using the createClient() API. See the Setup page for an example.