astro-mcp
@morinokami
astro-mcp について
MCP server to support Astro project development
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"astro-mcp": {
"command": "npx",
"args": [
"astro",
"add",
"astro-mcp"
]
}
}
}ツール
7Get the Astro config object containing comprehensive project settings including file paths (root, src, public, output directories), site URL, build options, server settings, enabled integrations, markdown processing configuration, image handling, Vite plugins, security settings, and experimental features
List detailed routing information from your Astro project, including all routes with their file entrypoints, URL patterns, dynamic parameters, pre-rendering status, and route types. Optionally filter by type to focus on specific route categories
Get the current network address, IP protocol family, and port number of the running Astro development server
List all Astro integrations available in the ecosystem
Get detailed metadata about a specific Astro integration, including its name, description, categories, repository links, npm information, related website links, official status, and download statistics
Search the Astro documentation for specific topics, concepts, or features. Returns relevant documentation snippets that match your query
Get the changelog of the Astro-related packages
概要
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
FAQ from astro-mcp
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.
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.
What transports or authentication does astro-mcp use?
It uses SSE at http://localhost:4321/__mcp/sse. No authentication is mentioned in the README.
Which editors and tools are supported?
VSCode, Cursor, Windsurf, and Claude Code through their respective MCP configuration files, which astro-mcp automatically updates.
What are the known limits or stability?
The package is marked as experimental and unstable. Proceed with caution.
「その他」の他のコンテンツ
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

EverArt
modelcontextprotocolModel Context Protocol Servers
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
コメント