# Mastra Docs MCP
> Mastra documentation MCP provides indexed Mastra docs, API schemas, examples, patterns, and debugging references; Mastra recommends its skill/CLI for everyday development.
Canonical: https://www.mcpfolio.com/servers/mastra-docs
Last updated: 2026-10-28
## Catalog record

- Publisher: Mastra
- Categories: development

## Website

https://mastra.ai/reference/build-with-ai

## Repository

https://github.com/mastra-ai/mastra

## Transports

Streamable HTTP, stdio

## Authentication

Remote endpoint requests Google account authentication for anonymous-ID rate limiting; local server uses stdio.

## Tools

- **mastraDocs**: Browse official Mastra documentation by path or keyword.
- **mastraMigration**: Retrieve migration guidance for Mastra version upgrades and breaking changes.
- **startMastraCourse**: Start or resume the Mastra learning course.
- **getMastraCourseStatus**: Read Mastra course enrollment and progress.
- **startMastraCourseLesson**: Start a specific Mastra course lesson.
- **nextMastraCourseStep**: Advance to the next step in the active Mastra course.
- **clearMastraCourseHistory**: Clear Mastra course history.
- **getMastraHelp**: Explain the available Mastra documentation tools and recommended workflow.
- **listMastraPackages**: List installed Mastra packages with embedded documentation.
- **getMastraExports**: Read the exported API symbols for an installed Mastra package.
- **getMastraExportDetails**: Retrieve API reference details for an installed package export.
- **readMastraDocs**: Read embedded Mastra package documentation.
- **searchMastraDocs**: Search embedded Mastra package documentation.

## Sources

- [official_primary](https://github.com/mastra-ai/mastra/security/advisories/GHSA-xh92-rqrq-227v)
- [official_publisher_documentation](https://github.com/mastra-ai/mastra)
- [official_documentation](https://mastra.ai/reference/build-with-ai)

## Setup

Use the interactive setup panel on [the detail page](https://www.mcpfolio.com/servers/mastra-docs) to view instructions for each supported client.