Security and data flow
Cloudflare Pages hosts this documentation. When you use an MCP tool, your client connects to your self-hosted komodo-mcp server. The server calls Komodo Core with the identity you configured. Your client controls which tool calls it proposes and where it sends the results.
Credentials
Section titled “Credentials”KOMODO_API_KEYandKOMODO_API_SECRETare read from the process environment once at startup. The executable does not read.envfiles or any configuration file.- They are sent only to the configured
KOMODO_ADDRESS. Automatic redirects are disabled so credentials cannot follow a redirect to another host. Normal TLS certificate verification stays enabled. - Configuration and client Debug output show
[redacted]. Log events, error text, and tool output are redacted for the configured credentials, including verbose dependency traces. - Wherever your client stores the server’s environment is the real secret store. Prefer references to environment variables over literal values in shared files.
Core data
Section titled “Core data”- Tool results contain Core data visible to the identity: names, IDs, states, targets, bounded history, and redacted log tails. That data passes through your MCP client and its configured model provider. Choose a client and identity accordingly.
- Raw configuration, environment blocks, Compose content, stored files, upstream error bodies, variable secret values, and authentication payloads are not returned. Logs and diagnosis are size-bounded and redacted.
- Lists only show what the identity may read. A missing resource and an invisible one look the same, and inaccessible candidates are never revealed.
Two independent gates for every change
Section titled “Two independent gates for every change”| Gate | Who controls it | Effect |
|---|---|---|
Local grants (KOMODO_ALLOW_*) | Whoever configures the MCP process | Decide which tools exist in discovery and dispatch. All default to false. |
| Core permissions | Your Komodo administrators | Decide what the identity may read, write, or execute on each resource. |
Both must allow an action. Grants never add Core permissions, and Core permissions never enable a disabled tool. Your client’s approval step is a third, human gate: review the exact target and arguments before approving any tool that is not read-only.
Transport
Section titled “Transport”With stdio, the MCP client launches a private child process. In HTTP mode, each request requires a configured bearer token. A token identifies the client to MCP. Core authorizes calls using the server’s configured service account. Give clients that need different Core permissions separate instances and Core credentials. HTTP configuration
Operations and uncertainty
Section titled “Operations and uncertainty”Execution tools are annotated as mutating and non-idempotent, and every change, whether an operation, configuration apply, deletion, prune, or terminal command, is submitted once. A timeout or lost reply means the outcome is uncertain, not that it failed:
- Do not repeat the call automatically.
- Observe a known update ID with
wait_for_update(orwait_for_resource_sync_update). - Without an ID, use
reconcile_operation, which lists possible matches with unconfirmed attribution. - Verify the workload independently, for example with
stack_diagnose.