mcp

Connect MCP server

Connect an MCP server at runtime, overriding a disabled configuration until restart.

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

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}/connect
  • 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.