---
title: "Astro Docs MCP server: current Astro documentation for AI agents"
description: "Install the Astro Docs MCP server in an Aldena project and agents search the official Astro documentation before they touch your site's code."
url: "https://aldena.ai/mcp-servers/astro-docs"
---

# Make agents read the current Astro Docs before they edit your site

Astro Docs MCP server. Install the Astro Docs MCP server in an Aldena project and agents search the official Astro documentation before they touch your site's code.

- **Sign-in**: None
- **Installs as**: `astro-docs`
- **Transport**: Streamable HTTP
- **Last verified**: 2026-11-28

Astro moves quickly, and the version a model learned from is rarely the version a site runs today. The Astro Docs MCP server gives an agent one tool, `search_astro_docs`, that searches the official Astro documentation, so answers about content collections, routing, images or adapters come from the current docs rather than from memory.

In an Aldena project that matters most during upgrades and new features. An agent asked to move a marketing site to the next Astro major searches the docs for each breaking change, edits the code in its conversation's sandbox, runs the build, and opens a pull request through the [GitHub connector](https://aldena.ai/integrations/github) that cites the docs pages it followed. When the [Vercel connector](https://aldena.ai/integrations/vercel) reports a failed preview deployment, the same agent reads the error, searches the docs for the setting involved, and pushes the fix to the branch.

The server needs no sign-in and reads nothing but the documentation, so it is safe to install in every project that ships an Astro site. Pair it with the [Context7 MCP server](https://aldena.ai/mcp-servers/context7) for the other libraries the site depends on, or the [Cloudflare Docs MCP server](https://aldena.ai/mcp-servers/cloudflare-docs) if the site deploys to Workers.

## With Astro Docs, your agents can

- Search the official Astro documentation by topic or API name
- Check current guidance on content collections, routing and islands
- Look up integration and adapter setup before changing astro.config
- Ground an upgrade in the docs instead of an older model's memory

## Try asking

- “Search the Astro docs for how content collections define a schema today, then update src/content.config.ts to match.”
- “Before upgrading this site, check the Astro docs for what changed in the image component and list the files we need to touch.”
- “How does Astro recommend adding server-rendered pages to an otherwise static site? Cite the docs page.”

## Astro Docs MCP tools

| Tool | What it does | Access |
| --- | --- | --- |
| `search_astro_docs` | Searches the official Astro framework documentation | Read |

## Server

- **Server URL**: `https://mcp.docs.astro.build/mcp`
- **Website**: [astro.build](https://astro.build)
- **MCP docs**: [Astro Docs MCP docs](https://docs.astro.build/en/guides/build-with-ai/)

## How to connect Astro Docs

1. **Open Marketplace.** In a project, open Settings → Connectors → MCP servers and press Marketplace.
2. **Install Astro Docs.** Search for Astro Docs and press Install. Aldena adds it as `astro-docs`.
3. **Nothing to sign in to.** Aldena installs Astro Docs with no sign-in or key, so its tool calls carry no credentials.
4. **Let agents use it.** Agents find its tools with `mcp_search` and call them with `mcp_call`. Each tool gets its own row in the project's permissions.

## Related MCP servers

- [Cloudflare Docs MCP server](https://aldena.ai/mcp-servers/cloudflare-docs): Search the Cloudflare developer documentation.
- [Context MCP server](https://aldena.ai/mcp-servers/context): Scrape and crawl web pages, search the web and news, and pull brand data.
- [Exa MCP server](https://aldena.ai/mcp-servers/exa): Run neural web searches and fetch page contents.
- [Netlify MCP server](https://aldena.ai/mcp-servers/netlify): Manage sites, deploys, and environment variables.
- [All MCP servers](https://aldena.ai/mcp-servers)

## FAQ

### Does the Astro Docs MCP server need an account?

No. It is a public server for the official Astro documentation, so it connects as soon as it is installed, with nothing to sign in to and no key to paste. It reads the docs and nothing else, so it never sees your code or your Astro project.

### Why does the Astro Docs search tool start on ask in Aldena?

Aldena puts tools on allow by default only when the server marks them read-only, and search_astro_docs doesn't carry that mark. It only searches documentation, so most teams set it to allow in the project's permissions right after installing.

### Why give agents the Astro Docs when they already know Astro?

Because Astro changes between major versions and a model's training data lags behind. Searching the current docs before editing config, content collections or routing keeps an agent from writing code for an API that was renamed or removed.
