Skip to content

mcp

Optional Mastra MCP server exposure for the AppKit Mastra plugin.

Turns the plugin’s registered agents (and, opt-in, its ambient tools) into a Mastra MCPServer so external MCP clients - Claude Desktop, Cursor, the Mastra playground, or another agent - can call them over the standard MCP transports. The resulting server is handed to the Mastra instance via mcpServers, which makes @mastra/express serve the stock MCP routes under the plugin’s base path; the plugin never registers a bespoke MCP route of its own.