Skip to content

Commit 2def022

Browse files
committed
Add readme
1 parent 0517b4a commit 2def022

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

README.md

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
1+
# Astro Docs MCP Server
2+
3+
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.
4+
5+
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.
6+
7+
## Usage
8+
9+
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:
10+
11+
- Name: `Astro Docs`
12+
- URL: `https://mcp.docs.astro.build/mcp`
13+
- Transport: `http`
14+
15+
> [!NOTE]
16+
> 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.
17+
18+
Each tool has its own way of adding MCP servers, so here are instructions for some popular tools:
19+
120
### Cursor
221

3-
Install automatically: [![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](cursor://anysphere.cursor-deeplink/mcp/install?name=Astro%20docs&config=eyJ1cmwiOiJodHRwczovL21jcC5kb2NzLmFzdHJvLmJ1aWxkL21jcCJ9)
22+
Click the button below to install automatically:
23+
24+
[![Install MCP Server](https://cursor.com/deeplink/mcp-install-light.svg)](cursor://anysphere.cursor-deeplink/mcp/install?name=Astro%20docs&config=eyJ1cmwiOiJodHRwczovL21jcC5kb2NzLmFzdHJvLmJ1aWxkL21jcCJ9)
425

526
[More info on MCP in Cursor](https://docs.cursor.com/context/mcp)
627

@@ -16,6 +37,8 @@ Install automatically: [![Install MCP Server](https://cursor.com/deeplink/mcp-in
1637

1738
### Claude Code
1839

40+
Run the following command in your terminal to add the MCP server:
41+
1942
```sh
2043
claude mcp add --transport http "Astro docs" https://mcp.docs.astro.build/mcp
2144
```
@@ -24,7 +47,7 @@ claude mcp add --transport http "Astro docs" https://mcp.docs.astro.build/mcp
2447

2548
### VS Code
2649

27-
Install automatically: [Install](vscode:mcp/install?%7B%22name%22%3A%22Astro%20docs%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.docs.astro.build%2Fmcp%22%7D)
50+
Click the link to install automatically: [**Install**](vscode:mcp/install?%7B%22name%22%3A%22Astro%20docs%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.docs.astro.build%2Fmcp%22%7D)
2851

2952
[More info on MCP in VS Code](https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_add-an-mcp-server)
3053

@@ -44,3 +67,7 @@ As of July 2025, Windsurf doesn't support streamable HTTP MCP servers, so you ne
4467
```
4568

4669
[More info on MCP in Windsurf](https://docs.windsurf.com/windsurf/cascade/mcp#mcp-config-json)
70+
71+
### ChatGPT
72+
73+
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](https://platform.openai.com/docs/mcp#test-and-connect-your-mcp-server) for details.

0 commit comments

Comments
 (0)