astro-mcp — Claude Code MCP server: installation
astro-mcp connects an MCP server for Astro project development. It runs through npx.
claude mcp add astro-mcp -- npx -y astro-mcpWhat astro-mcp does
astro-mcp is an MCP server intended to support development on Astro projects. It connects to an agent as an external server; the description does not list specific tools or operations available after connection.
For Claude Code, add it with claude mcp add astro-mcp -- npx -y astro-mcp. Codex uses codex mcp add astro-mcp -- npx -y astro-mcp; Cursor and GitHub Copilot use configuration entries that invoke npx with -y astro-mcp. The launch command depends on npx being available in the environment.
What it helps with
- connect an MCP server for Astro project development
- add astro-mcp to a Claude Code setup
- configure astro-mcp to launch through npx in Codex or Cursor
Example prompts for the agent
- Help me work on this Astro project with the connected astro-mcp server.
- Add astro-mcp to Claude Code using
claude mcp add astro-mcp -- npx -y astro-mcp. - Configure Codex to launch astro-mcp through
npx.
How to install astro-mcp
Platform CLI
claude mcp add astro-mcp -- npx -y astro-mcpPlatform CLI
codex mcp add astro-mcp -- npx -y astro-mcpConfig file
{
"mcpServers": {
"astro-mcp": {
"command": "npx",
"args": [
"-y",
"astro-mcp"
]
}
}
}Config file
{
"servers": {
"astro-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"astro-mcp"
]
}
}
}Platform CLI
gemini mcp add astro-mcp npx -y astro-mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about astro-mcp
How do I install astro-mcp in Claude Code?
Run claude mcp add astro-mcp -- npx -y astro-mcp. This adds the astro-mcp server.
What does astro-mcp do?
It is an MCP server for supporting development on Astro projects, connecting that support to an agent.
Which platforms work with astro-mcp?
The listed platforms include Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, and Zed.