Skip to main content
Glama

Astro Docs MCP Server

by withastro
13

Astro Docs MCP Server

This is the Model Context Protocol (MCP) server for the Astro documentation, allowing AI tools such as Cursor, VS Code, Claude, ChatGPT, and Windsurf to access the latest Astro docs.

MCP is a standardized way to connect language models to external tools, data, and APIs. This server allows LLMs to access the Astro documentation in a structured way, enabling them to answer questions about Astro's features, APIs, and best practices. This allows tools to use up-to-date and accurate documentation when generating code, answering questions, or providing assistance.

Usage

The Astro Docs MCP server is a remote server that doesn't require anything to be installed locally. You need to add the following settings to your MCP-compatible tool:

  • Name: Astro Docs
  • URL: https://mcp.docs.astro.build/mcp
  • Transport: http

Note

This server uses the new streamable HTTP transport. Some tools only support SSE transport for remote servers, which is not compatible with this server. If your tool does not support streamable HTTP, you will need to use a local proxy. See the Windsurf section below for details.

Each tool has its own way of adding MCP servers, so here are instructions for some popular tools:

Cursor

GitHub doesn't support Cursor deep links, so open the link below in your browser to install the MCP server in Cursor:

cursor://anysphere.cursor-deeplink/mcp/install?name=Astro%20docs&config=eyJ1cmwiOiJodHRwczovL21jcC5kb2NzLmFzdHJvLmJ1aWxkL21jcCJ9

More info on MCP in Cursor

Claude.ai / Claude Desktop

  • Visit Claude.ai connector settings
  • Scroll down and click "Add custom connector"
  • Enter the following details:
    • Name: Astro Docs
    • Remote MCP server URL: https://mcp.docs.astro.build/mcp

More info on MCP in Claude.ai

Claude Code

Run the following command in your terminal to add the MCP server:

claude mcp add --transport http "Astro docs" https://mcp.docs.astro.build/mcp

More info on MCP in Claude Code

VS Code

GitHub doesn't support VS Code deep links, so open the link below in your browser to install the MCP server in Cursor:

vscode:mcp/install?%7B%22name%22%3A%22Astro%20docs%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.docs.astro.build%2Fmcp%22%7D

More info on MCP in VS Code

Windsurf

As of July 2025, Windsurf doesn't support streamable HTTP MCP servers, so you need to use a local proxy. Use the following configuration:

{ "mcpServers": { "Astro docs": { "command": "npx", "args": ["-y", "mcp-remote", "https://mcp.docs.astro.build/mcp"] } } }

More info on MCP in Windsurf

ChatGPT

As of July 2025, ChatGPT only supports MCP servers (which it calls Custom Connectors) for Pro, Team and Enterprise users. The steps to add a cutom connector are complicated. See the OpenAI documentation for details.

-
security - not tested
F
license - not found
-
quality - not tested

Allows AI tools like Cursor, VS Code, Claude, ChatGPT, and Windsurf to access the latest Astro documentation in a structured way, enabling accurate answers about Astro's features, APIs, and best practices.

  1. Usage
    1. Cursor
    2. Claude.ai / Claude Desktop
    3. Claude Code
    4. VS Code
    5. Windsurf
    6. ChatGPT

Related MCP Servers

  • A
    security
    F
    license
    A
    quality
    An MCP server that provides AI assistants with access to Astro documentation, enabling them to search and reference Astro docs when helping users with Astro-related tasks.
    Last updated -
    1
    3
    • Apple
  • A
    security
    F
    license
    A
    quality
    Provides AI assistants like Claude or Cursor with access to Payman AI's documentation, helping developers build integrations more efficiently.
    Last updated -
    5
    • Linux
    • Apple
  • -
    security
    F
    license
    -
    quality
    Enables AI assistants to search for documentation of packages and services, providing implementation details, examples, and specifications through a specialized API.
    Last updated -
    8
    2
  • A
    security
    A
    license
    A
    quality
    Provides up-to-date documentation for 9000+ libraries directly in your AI code editor, enabling accurate code suggestions and eliminating outdated information.
    Last updated -
    1
    149
    113
    MIT License
    • Apple
    • Linux

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/withastro/docs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server