Mastra Blog·· 1 days agoAI score55
Introducing Mastra's Built-in MCP Server
Introducing Mastra's Built-in MCP Server
AI summary
Mastra now offers a built-in MCP server that exposes agents, workflows, and tools at /api/mcp after installing @mastra/mcp and configuring an auth provider. It provides tools to call_agent, start_workflow, and get_trace, with requests typically requiring a bearer token and passing through the same RBAC and FGA checks as standard HTTP requests. Users can control exposure via toolsets, include, and exclude, and connect clients such as Claude Code using mcp add.
Source: Mastra Blog · mastra.ai