[Home](/index.md) › [MCP servers](/mcp.md) › Astro docs MCP

# Astro docs MCP

MCP server

- 1 callable tool
- Read only
- 3 capabilities

[Installation guide](https://mcp.docs.astro.build/mcp)

## Overview

Astro publishes this MCP server, which gives AI agents access to the official Astro framework documentation.

### Capabilities

- Search the official Astro docs
- Answer Astro framework questions from the documentation
- Look up Astro reference material from an AI assistant

## Works with

The products your agent can work with through this server.

- [Astro](/tools/astro.md): Content-driven web framework

## Tools

The callable functions your agent uses to work with this server.

### `search_astro_docs`

Search the official Astro framework docs

## Installation

Follow the installation guide for supported clients, authentication and required permissions.

### Add Astro docs MCP to Claude Code

Run this in your terminal:

```sh
claude mcp add --transport http astro-docs https://mcp.docs.astro.build/mcp
```

If the server asks you to sign in, run `/mcp` in Claude Code and follow the browser prompt.

### Add Astro docs MCP to Cursor

Add it with the Add to Cursor button below, or add it to `.cursor/mcp.json` in your project (`~/.cursor/mcp.json` for every project):

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=astro-docs&config=eyJ1cmwiOiJodHRwczovL21jcC5kb2NzLmFzdHJvLmJ1aWxkL21jcCJ9)

```json
{
  "mcpServers": {
    "astro-docs": {
      "url": "https://mcp.docs.astro.build/mcp"
    }
  }
}
```

### Add Astro docs MCP to VS Code

Add it to `.vscode/mcp.json` in your workspace. VS Code uses `servers` rather than `mcpServers`. Or run MCP: Add Server from the Command Palette and choose HTTP.

```json
{
  "servers": {
    "astro-docs": {
      "type": "http",
      "url": "https://mcp.docs.astro.build/mcp"
    }
  }
}
```

### Add Astro docs MCP to Codex

Run this in your terminal:

```sh
codex mcp add astro-docs --url https://mcp.docs.astro.build/mcp
```

Or add it to `~/.codex/config.toml`:

```toml
[mcp_servers.astro-docs]
url = "https://mcp.docs.astro.build/mcp"
```

If the server uses OAuth, sign in with `codex mcp login astro-docs`.

### Add Astro docs MCP to Claude

Add it as a custom connector with this URL:

```
https://mcp.docs.astro.build/mcp
```

1. Open Customize, then Connectors.
2. Click + Add, then Add custom connector.
3. Name it, paste the URL and click Continue.
4. Choose how to sign in, then click Add.

On Team and Enterprise plans, an Owner adds it in Organization settings first, then members connect it.

### Add Astro docs MCP to other clients

For any other client that connects to remote MCP servers over HTTP, use this URL:

```
https://mcp.docs.astro.build/mcp
```

[Read the installation guide](https://mcp.docs.astro.build/mcp)

## Related MCP servers

Other servers for the same products, or from the same vendor.

- [Cloudflare Ai Gateway MCP](/mcp/cloudflare-ai-gateway.md)
- [Cloudflare API MCP](/mcp/cloudflare-api.md)
- [Cloudflare Auditlogs MCP](/mcp/cloudflare-auditlogs.md)
- [Cloudflare Autorag MCP](/mcp/cloudflare-autorag.md)
- [Cloudflare Bindings MCP](/mcp/cloudflare-bindings.md)
- [Cloudflare Browser Run MCP](/mcp/cloudflare-browser-run.md)
- [Cloudflare Builds MCP](/mcp/cloudflare-builds.md)
- [Cloudflare Container Sandbox MCP](/mcp/cloudflare-container-sandbox.md)
- [Cloudflare Dns Analytics MCP](/mcp/cloudflare-dns-analytics.md)
- [Cloudflare docs MCP](/mcp/cloudflare-docs.md)
- [Cloudflare Documentation MCP](/mcp/cloudflare-documentation.md)
- [Cloudflare Graphql MCP](/mcp/cloudflare-graphql.md)
- [Cloudflare Logs MCP](/mcp/cloudflare-logs.md)
- [Cloudflare Observability MCP](/mcp/cloudflare-observability.md)
- [Cloudflare One CASB server](/mcp/cloudflare-one-casb.md)
- [Cloudflare Radar MCP](/mcp/cloudflare-radar.md)
- [Cloudflare Workers docs MCP](/mcp/cloudflare-workers-docs.md)
- [Digital Experience Monitoring server](/mcp/digital-experience-monitoring.md)
