Codencer exposes the remote MCP surface from the relay, not from the local daemon.
This page is about direct relay mode.
If you are operating through Codencer Cloud tenancy and composed runtime mode, use /api/cloud/v1/mcp instead and treat Cloud MCP Tools as the source of truth for that boundary.
For the frozen planner/client compatibility matrix, generic client examples, and client-specific packaging notes, see Planner / Client Integration Notes.
Use the relay MCP endpoint:
POST /mcpGET /mcpDELETE /mcp
Compatibility path:
POST /mcp/call
The relay MCP server currently supports:
initializenotifications/initializedtools/listtools/call
codencer.list_instancescodencer.get_instancecodencer.start_runcodencer.get_runcodencer.list_run_gatescodencer.submit_taskcodencer.get_stepcodencer.wait_stepcodencer.get_step_resultcodencer.list_step_artifactscodencer.get_step_logscodencer.get_artifact_contentcodencer.get_step_validationscodencer.approve_gatecodencer.reject_gatecodencer.abort_runcodencer.retry_step
- Mutating tools require explicit
instance_id. - Tool calls respect the same planner auth scopes as the relay HTTP API.
- Tool calls do not bypass connector sharing or instance routing.
- Direct
step,artifact, andgatelookups do not require prior observation of those ids; the relay probes only authorized online shared instances and persists successful route hints. approve_gate,reject_gate, andretry_steprequire explicitinstance_ideven though the corresponding relay HTTP routes can resolve routed ids implicitly.submit_taskaccepts the real CodencerTaskSpecshape.wait_stepis bounded and takes explicit timeout input.list_run_gatesis the canonical gate-discovery tool for a known run and instance.- run listing remains HTTP-only in this phase; there is no
codencer.list_runstool yet. get_step_logsreturns the collected step logs as explicit text or base64-safe content metadata.get_artifact_contentreads byartifact_idand returns text or base64-safe content metadata.abort_runreturns a successful tool result only when the daemon confirms the active step reachedcancelled.- There is no raw shell tool.
- There is no arbitrary filesystem browsing tool.
/mcpsupports session-bound Streamable HTTPGET,POST, andDELETE- the relay returns
MCP-Protocol-Version - the relay can return
MCP-Session-Idoninitialize GET /mcpkeeps an SSE stream open for the negotiated session and emits keepalive commentsPOST /mcp/callremains as a compatibility alias for simple POST callers;/mcpis still the canonical session path- the Codencer tool model remains intentionally request/response-oriented even though the transport now supports a real SSE session
- verified in repo tests against the official Go SDK
StreamableClientTransport - verified for manual JSON-RPC callers using
POST /mcpandPOST /mcp/call - not overclaimed as universal client compatibility beyond the integrations directly exercised here
The daemon-local /mcp/call endpoint is separate.
It is useful as a local compatibility/admin bridge, but it is not the public remote MCP surface for planner integrations.