Adding Astro MCP Documentation to WebStorm

Astro now provides an MCP (Model Context Protocol) server that gives AI tools real-time access to the latest documentation. This is particularly useful when working with AI coding assistants as it ensures they have current knowledge of Astro’s APIs and best practices.

Why use Astro MCP?

Instead of relying on potentially outdated AI knowledge, the MCP server provides:

  • Real-time access to current Astro documentation
  • Up-to-date API references and best practices
  • Accurate answers about recent features and changes

Adding to WebStorm/Junie

To add Astro MCP to WebStorm, go to Settings → Tools → Junie → MCP Settings and add the following configuration:

{
"mcpServers": {
"AstroDocs": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.docs.astro.build/mcp"]
}
}
}

That’s it! Your AI assistant will now have access to the latest Astro documentation when helping with your code.

For more details and setup instructions for other tools, check the official Astro AI guide.