MCP

Enable or disable an MCP server

Required scope: mcp

patch/api/v1/mcp/servers/{server_name}/enabled

Path parameters

server_namestring required

Request body

enabledboolean required

Response

Standard AstrBot success response

status'ok' required
messagestring
{"stackTrail":"components:schemas:SuccessEnvelope:properties:data","oasType":"schema","type":"unknown"}

Changes

Changed in 2 of the 13 revisions of this API.11