Mastra Docs Server
officialProvides AI assistants with direct access to Mastra.ai's complete knowledge base.
@mastra/mcp-docs-server
Access Mastra's documentation via Model Context Protocol (MCP). Works with Cursor, Windsurf, Cline, Claude Code, VS Code, Codex, or any MCP-compatible tool.
Usage
Follow the official installation instructions.
Tools
mastraDocs
Fetch documentation from mastra.ai by path. Supports guides and API references.
mastraMigration
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.
getMastraHelp
Entry point showing all available documentation tools and recommended workflows.
listMastraPackages
List installed @mastra/* packages with embedded documentation.
getMastraExports
Explore package API surface - all classes, functions, types, and constants.
getMastraExportDetails
Get TypeScript type definitions and optionally implementation source code for a specific export.
readMastraDocs
Read topic-based guides and examples (agents, tools, workflows, memory, etc.).
searchMastraDocs
Full-text search across all embedded documentation.
Interactive Course
startMastraCourse
Start or resume the interactive Mastra course. Requires email registration.
getMastraCourseStatus
View course progress including completed lessons and steps.
startMastraCourseLesson
Jump to a specific lesson by name.
nextMastraCourseStep
Advance to the next step in the current lesson.
clearMastraCourseHistory
Reset all course progress.
Prompts
upgrade-to-v1
Guided migration workflow from Mastra v0.x to v1.0. Optionally focus on a specific area (agent, tools, workflows, etc.).
migration-checklist
Comprehensive checklist of all breaking changes for v1.0 migration.
Related Servers
Audioscrape
Add audio search to via MCP - Search any audio in seconds
AEO Scanner
AI search visibility audit with dual scores and generated fix code
MCP Research Friend
Research tools, including a Sqlite-backed document stash
Exa
Exa AI Search API
ContextMCP
A self-hosted MCP server that indexes documentation from various sources and serves it to AI Agents with semantic search.
Knowledge Vault Search
Search a personal knowledge vault using hybrid semantic and keyword matching.
search-scrape
Self-hosted Stealth Scraping & Federated Search for AI Agents. A 100% private, free alternative to Firecrawl, Jina Reader, and Tavily. Featuring Universal Anti-bot Bypass + Semantic Research Memory, Copy-Paste setup
AfterShip Tracking & Returns
Provides real-time tracking for 1,300+ carriers and merchant returns center demos with no API key required, using AfterShip's MCP server. Powered by AfterShip.
Web Search
Perform Google searches and view web content with advanced bot detection avoidance.
microCMS
A search server for the microCMS headless CMS, compatible with the Model Context Protocol (MCP).