v12

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0223257199.4 KB
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"}