Manage skill-embedded MCP servers that provide additional tools to agents. Each skill can bundle its own MCP server with a set of tools. Activate a skill’s MCP server on demand and deactivate it when no longer needed.
All MCP skill endpoints require session-based authentication through NextAuth. Idle MCP servers are automatically cleaned up.
Starts the MCP server bundled with the specified skill. Returns the server metadata including its name, version, available tools, and activation timestamp.
The request body should be a JSON object containing the tool parameters. You can either pass parameters directly as the body or wrap them in a parameters key:
{ "parameters": { "query": "search term" }}
Or directly:
{ "query": "search term"}
An empty body or no body is allowed for tools that take no parameters.
MCP servers that remain idle are automatically deactivated to free resources. You do not need to manually deactivate servers that are no longer in use, though explicit deactivation is recommended when you know a skill’s tools are no longer needed.