mcp-platformdtc) that exposes the Agent
Gateway as dtc_* tools — the same pattern OpenClaw uses for its other integrations. Register it
once per container and the agent can drive the entire platform.
Register the server
Add the server to the OpenClaw container’s config. The container’s scopedsq_agt_* key is passed
on the ?key= query string and forwarded to the Gateway as X-Agent-Key:
How calls flow
The MCP server forwards eachdtc_* call 1:1 to its REST route, auto-injects an Idempotency-Key
for mutations, and returns the Gateway’s JSON. Because it’s 1:1, anything an agent can do, you can
reproduce with curl — handy for debugging.
Golden rules for agents
1
Async → wait
Any tool that returns a
job_id must be followed by dtc_job_wait.2
Fresh idempotency key
Pass a new UUID
idempotency_key per action.3
Respect the approval gate
If a call returns
pending_approval, tell the user and wait — don’t retry.4
Stay in scope
Call
dtc_whoami first; only attempt tools your scopes allow.