mcp

Create client MCP WebSocket token

Changed on

Create a short-lived single-use ticket for opening a client MCP WebSocket connection from a browser.

post/api/experimental/client-mcp/token

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/token
  • Auth
    none required

Query parameters

directorystring nullable
namestring required

Headers

x-opencode-ticketstring nullable

Response

Success

Changes