mcp

Attach client MCP server

Changed on

Upgrade to a WebSocket over which the client hosts an MCP server named after name; its tools stay available while the socket is open. One JSON-RPC message per text frame. Experimental: may change without compatibility guarantees.

get/api/experimental/client-mcp

Request

  • Base URL
    https://opencode.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://opencode.ai/api/experimental/client-mcp
  • Auth
    none required

Query parameters

directorystring nullable
namestring required
ticketstring nullable

Response

Success

boolean required

Changes