mcp

Add MCP server

Add an MCP server at runtime or replace an existing one, connecting it immediately.

put/api/experimental/mcp/{server}

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/mcp/{server}
  • Auth: none required

Path parameters

serverstring required

Query parameters

directorystring nullable

Request body

Response

<No Content>

Changes

No recorded changes to this operation across all 1 revision of this API.