$ timeahead_
mcp/mastramcp-docs-server/install/claude-code

install @mastra/mcp-docs-server on Claude Code

Requires Node 18+ on your system so npx can fetch the package on first run. Claude Code persists MCP servers via its CLI — no config file to edit, just run the command below once. Paste the config below, then follow the reload step to register @mastra/mcp-docs-server.

run this in your terminal
cli: Run the command below in your terminal — Claude Code persists it for you.
claude mcp add mastramcp-docs -- npx -y @mastra/mcp-docs-server
then: No reload needed — the next session picks up the new server.
other clients
Claude DesktopCursorWindsurfVS Code (Copilot)
← back to @mastra/mcp-docs-server