mcp
Attach client MCP server
Changed onUpgrade 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 URLhttps://opencode.ai (the document declares no server; this is the origin it was published from)
- URLhttps://opencode.ai/api/experimental/client-mcp
- Authnone required
Query parameters
namestring required
ticketstring nullable
Response
Success
boolean required
Changes
- info
endpoint added
- info