Skip to content

Codex ​

OpenAI's Codex CLI, its IDE extension and its desktop app share one configuration file: ~/.codex/config.toml (or .codex/config.toml inside a trusted project). The command and the Windows form are explained in The command to give your agent.

Add the server ​

From a terminal:

sh
codex mcp add askrgarden -- /Applications/AskrGarden.app/Contents/MacOS/askrgarden-cli mcp --root /Users/you/trees

Or write the entry in config.toml yourself:

toml
[mcp_servers.askrgarden]
command = "/Applications/AskrGarden.app/Contents/MacOS/askrgarden-cli"
args = ["mcp", "--root", "/Users/you/trees"]

On Windows (single quotes keep the backslashes as they are):

toml
[mcp_servers.askrgarden]
command = 'C:\Users\you\AppData\Local\Programs\AskrGarden\askrgarden-cli.exe'
args = ["mcp", "--root", 'C:\Users\you\Trees']

Other keys you may need: cwd, startup_timeout_sec (default 10) and tool_timeout_sec (default 60). An export with the impostor can take longer than 60 s: raise tool_timeout_sec to 300 if exports time out.

In the IDE extension: gear menu > MCP servers > Add server > STDIO. The extension and the desktop app offer a Restart button after you save.

Check it ​

codex mcp list lists the server; /mcp inside a Codex session shows it with its tools.

Source: Codex: MCP.