MCP.Market

Astro MCP server

by morinokami·io.github.morinokami/astro-mcp·v0.4.2·61 stars

MCP server to support Astro project development

B82/100grade B
What users say
No reviews yet
Be the first
Safety scan
B82/100

full report

Adoption
Growing

61 stars

Reviews

Write one

Nobody has reviewed Astro yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Astro tools

No tool declarations could be read from the package source. They show once the server is installed.

Public scan report

scanner v0.1.10 · 2026-10-01 · same rubric, same numbers if you re-run it

no findings
  • Code scan3 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 154 days ago8/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 82/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Astro compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
82/100
higher than 63% of 48,255 servers
GitHub stars
61
more than 95% of 28,688 servers

Install Astro in Claude Code, Cursor or VS Code

Runs npx -y astro-mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add astro-mcp -- npx -y astro-mcp
Add to Cursor

What the publisher says

From the Astro repository's README, as published. We do not edit it. Read it on GitHub

astro-mcp

MCP server to support Astro project development, inspired by antfu's nuxt-mcp.

[!IMPORTANT]

This package is experimental and unstable. Proceed with caution when using it.

astro-mcp aims to help models understand your Astro project better, by providing them with information that cannot be easily accessed just by looking at the project files, such as:

  • Runtime information about the Astro server
  • Up-to-date Astro docs content
  • Information about the Astro integrations you are using

Installation

In your Astro project directory, run the following command:

npx astro add astro-mcp

Manual installation

First, install the astro-mcp package:

npm install astro-mcp

Then, add the astro-mcp integration to your Astro config:

import { defineConfig } from "astro/config";

import mcp from "astro-mcp";

export default defineConfig({
  integrations: [mcp()],
});

Usage

After installing the integration, the MCP server will be available at http://localhost:4321/__mcp/sse. To connect, create an empty configuration file in the appropriate location for your editor or tool:

astro-mcp will automatically update the file when the Astro server starts.

Extending the MCP server

astro-mcp provides a hook called mcp:setup that other integrations can use to extend the MCP server. This is useful if you want to add custom tools to the MCP server.

export default function createExampleIntegration(): AstroIntegration {
  return {
    name: "example-integration",
    hooks: {
      "mcp:setup": async ({ mcp }) => {
        mcp.tool("add", { a: z.number(), b: z.number() }, async ({ a, b }) => ({
          content: [{ type: "text", text: String(a + b) }],
        }));
      },
    },
  };
}

Tools

  • get-astro-config: Get 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
  • Parameters: None
  • list-astro-routes: 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
  • Parameters:
  • type (string, optional): redirect, page, endpoint, or fallback
  • get-astro-server-address: Get the current network address, IP protocol family, and port number of the running Astro development server
  • Parameters: None
  • list-astro-integrations: List all Astro integrations available in the ecosystem
  • Parameters: None
  • get-astro-integration: 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
  • Parameters:
  • name (string): The name of the Astro integration to get information about

Tools from vite-plugin-mcp

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Astro: common questions

Is Astro MCP server safe?
Mostly: it is graded B (82/100). Read the Astro safety report
How do I install Astro?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Astro need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Astro maintained?
The last commit was 187 days ago (2026-05-01). The latest release is v0.4.2.
How does Astro compare with other MCP servers?
safety score 82/100 (higher than 63% of 48,255 servers); github stars 61 (more than 95% of 28,688 servers). Full comparison.