Mastra Docs Server
Provides AI assistants with direct access to Mastra.ai's complete knowledge base.
Ads
Overview
Access Mastra's documentation via Model Context Protocol (MCP). Works with Cursor, Windsurf, Cline, Claude Code, VS Code, Codex, or any MCP-compatible tool. Follow the official installation instructions. Fetch documentation from mastra.ai by path. Supports guides and API references. Navigate migration guides for version upgrades. Supports directory browsing, section listing, and keyword search. Read docs from installed @mastra/ packages in node_modules. All tools require projectPath parameter. Entry point showing all available documentation tools and recommended workflows.
Installation
Installation instructions are not available yet.
Configuration
Configuration example is not available yet.
Capabilities
- Fetch docs by path
Ask for a specific Mastra guide or API reference via `mastraDocs`, e.g., "show me the agents guide."
- Explore installed packages
List local `@mastra/*` packages with `listMastraPackages` and inspect their exports, types, and source via `getMastraExports` and `getMastraExportDetails`.
- Search embedded documentation
Run full-text queries across all docs with `searchMastraDocs`, or read topic-based guides like tools and workflows via `readMastraDocs`.
- Navigate version migrations
Use `mastraMigration` to browse migration guides, list sections, or search keywords for upgrading between versions.
- Track interactive course progress
Start or resume the Mastra course with `startMastraCourse`, check status via `getMastraCourseStatus`, and advance through lessons with `startMastraCourseLesson` and `nextMastraCourseStep`.
- Get guided upgrade workflows
Trigger the `upgrade-to-v1` prompt for a step-by-step v0.x-to-v1.0 migration, or request the `migration-checklist` for all breaking changes.
Tags
- documentation
- knowledge-retrieval
- ai-agent
Related MCP servers
AWS Documentation
OfficialFetch, convert, and search AWS documentation pages, with recommendations for related content.
Exa MCP
OfficialSearch Engine made for AIs by Exa
Fetch MCP Server
OfficialFetch web content and convert HTML pages into LLM-friendly markdown output.
Perplexity Ask MCP Server
OfficialA connector for the Perplexity API to enable web search within the MCP ecosystem.