Basic information
About astro-mcp Server
MCP server to support Astro project development
astro-mcp is a MCP server in the Other category listed in the AddMCP.net directory, published by morinokami. Supported transport: stdio. Runtime: astro. License: MIT. The repository has 59 GitHub stars. Source code is hosted on github.com. Related topics: astro, mcp, modelcontextprotocol.
Setup
{
"mcpServers": {
"astro-mcp": {
"command": "npx",
"args": [
"astro",
"add",
"astro-mcp"
]
}
}
}
{
"mcpServers": {
"astro-mcp": {
"command": "npx",
"args": [
"astro",
"add",
"astro-mcp"
]
}
}
}
{
"servers": {
"astro-mcp": {
"command": "npx",
"args": [
"astro",
"add",
"astro-mcp"
]
}
}
}
astro-mcp config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"astro-mcp": {
"command": "npx",
"args": [
"astro",
"add",
"astro-mcp"
]
}
}
}
astro-mcp tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is astro-mcp?
astro-mcp is an experimental MCP server that supports Astro project development by providing models with runtime information, up-to-date docs, and integration details that cannot be easily accessed from project files alone.
How to use astro-mcp?
Install via npx astro add astro-mcp or manually install the package and add the integration to your Astro config. The MCP server runs at http://localhost:4321/__mcp/sse and automatically updates editor configuration files (e.g., .vscode/mcp.json) when the Astro server starts.
Key features of astro-mcp
- Provides runtime information about the Astro development server
- Searches up-to-date Astro documentation for queries
- Lists and retrieves metadata for Astro integrations
- Retrieves Astro configuration and routing details
- Exposes Vite config and module graph information via vite-plugin-mcp
- Allows other integrations to extend the MCP server with custom tools
Use cases of astro-mcp
- Assisting AI models in understanding an Astro project's configuration and routes
- Providing documentation lookups for specific Astro concepts
- Discovering available Astro integrations and their details
- Checking the changelog of Astro-related packages
- Debugging module dependencies in a Vite/Astro project
Frequently asked questions
1 What makes astro-mcp different from just reading project files?
It provides runtime server address, up-to-date docs content, and integration information that static file analysis cannot capture.
2 How do I install astro-mcp?
Run npx astro add astro-mcp in your Astro project directory, or manually install the package and add the integration to your Astro config.
3 What transports or authentication does astro-mcp use?
It uses SSE at http://localhost:4321/__mcp/sse. No authentication is mentioned in the README.
4 Which editors and tools are supported?
VSCode, Cursor, Windsurf, and Claude Code through their respective MCP configuration files, which astro-mcp automatically updates.
5 What are the known limits or stability?
The package is marked as experimental and unstable. Proceed with caution.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In