Connect Codex
Add your panel to Codex in config.toml, with an API key or by signing in.
Codex keeps its MCP servers in ~/.codex/config.toml. The Codex CLI, the IDE extension and the desktop app share that file. Replace https://panel.example.com/mcp with your panel's MCP address.
API key
Make an API key, put it in your environment as MINIMUS_API_KEY, and add this to ~/.codex/config.toml:
[mcp_servers.minimus]
url = "https://panel.example.com/mcp"
bearer_token_env_var = "MINIMUS_API_KEY"Codex reads the key from the environment each time it starts: the file holds only the variable's name.
Sign in
codex mcp add minimus --url https://panel.example.com/mcpCodex sees that your panel offers sign-in and opens it in your browser. If it doesn't, run:
codex mcp login minimusSign in as the account Codex should act for, choose the scopes, and approve.
Check it
In Codex, type /mcp: minimus should be listed with its tools.
Beyond the tools
Codex can also write and run scripts against the API with the same key.