MCP

Enable or disable an MCP server by body name

Required scope: mcp

patch/api/v1/mcp/servers/enabled

Request body

server_namestring required
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