mcp

Disconnect MCP server

Disconnect an MCP server at runtime, removing its tools until reconnected.

post/api/experimental/mcp/{server}/disconnect

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}/disconnect
  • Auth: none required

Path parameters

serverstring required

Query parameters

directorystring nullable

Response

<No Content>

Changes

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