Mastra Docs Server

official

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

What can you do with Mastra Docs MCP?

  • Start the docs server — Run npx @mastra/mcp-docs-server to launch the MCP server for accessing Mastra documentation.
  • Connect to MCP-compatible tools — Configure the server with Cursor, Windsurf, Cline, Claude Code, VS Code, or Codex for doc access.
  • Access Mastra docs via MCP — Query Mastra's documentation through any MCP-compatible client using the server's standard MCP interface.

Documentation

@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.

Installation

npm install @mastra/mcp-docs-server

Usage

Start the server from an MCP client configuration or the command line.

npx @mastra/mcp-docs-server

Documentation

Changelog

See the package changelog for version history and release notes.

Support

We have an open community Discord. Come and say hello and let us know if you have any questions or need any help getting things running.