Skip to content

Set up your MCP client

Every recipe launches the same compiled executable over stdio and supplies the Core connection through the server’s environment. Replace the executable placeholder with the absolute path to your target/release/komodo-mcp.

The recipes set all four optional grants to "false", so the server stays read-only even if the launching environment enables a grant. Change a grant only deliberately, and restart the server afterward. See Configuration.

Choose your client. Each tab links directly, for example #claude-desktop.

Codex reads MCP servers from config.toml. env_vars forwards the already exported Core connection values without writing them into the file.

Where to configure it: Add these tables to ~/.codex/config.toml (or .codex/config.toml in a trusted project).

~/.codex/config.toml
[mcp_servers.komodo]
command = "/absolute/path/to/komodo-mcp/target/release/komodo-mcp"
env_vars = ["KOMODO_ADDRESS", "KOMODO_API_KEY", "KOMODO_API_SECRET"]
[mcp_servers.komodo.env]
KOMODO_ALLOW_OPERATE = "false"
KOMODO_ALLOW_CONFIGURATION_EDIT = "false"
KOMODO_ALLOW_PRUNE = "false"
KOMODO_ALLOW_TERMINAL = "false"

Evidence: configuration syntax reviewed against the client documentation on . See compatibility for connection evidence.

Reload the client: Start a new Codex session from the shell that exported the Core variables, then run codex mcp list or /mcp to confirm that komodo is listed.

Configuration syntax: Codex MCP documentation.

Verify it works

After the client initializes the server and discovers its tools, ask for your first read and approve only the named read-only call:

First read: list your stacks
List the stacks I can access in Komodo and show their current status. Use list_stacks and do not change anything.

Any MCP client that can launch a local stdio process works the same way: run the absolute executable path with no arguments and set the environment variables. For a scripted check without a model, the interactive stdio walkthrough generates a verified MCP Inspector 2.14.0 configuration against a synthetic mock Core and lists stacks from the CLI.

  • The client cannot start it: check that the path is absolute, exists, and is executable. Build it first.
  • It starts, then closes during initialization: the startup GetVersion probe failed. Read the server’s stderr for configuration, authentication, unreachable, or timeout and follow Troubleshooting.
  • It connects but tools are missing: inspect the server’s tool selection and local grants, restart it after changes, and run tools/list again.
  • list_stacks returns an empty list: the identity can read no Stacks. Check Core Read permissions; an empty list is not an error.