Skip to content
Mastra Docs Server logo

Mastra Docs Server

Provides AI assistants with direct access to Mastra.ai's complete knowledge base.

Connect

  1. Copy the MCP config below.
  2. In Cursor, open Settings → MCP and add a new global server, or create .cursor/mcp.json in your project.
  3. Paste the JSON, save, and refresh MCP connections.
  4. If the server needs extra setup, follow the GitHub readme.

MCP config

Paste into Cursor (.cursor/mcp.json) or Claude Desktop

{
  "mcpServers": {
    "mastra": {
      "command": "npx",
      "args": [
        "-y",
        "github:mastra-ai/mastra"
      ]
    }
  }
}