WD

withastro/docs-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

68 stars 11 forks 品質 51 トレンド 0

withastro/docs-mcp は [https://github.com/withastro/docs-mcp. からインポートされた MCP サーバーの候補です

概要

withastro/docs-mcp は [https://github.com/withastro/docs-mcp. からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

これは、Astroのドキュメントのモデルコンテキストプロトコル(MCP)サーバーで、Cursor、VSコード、Claude、ChatGPT、WindsurfなどのAIツールが最新のAstroドキュメントにアクセスできるようにします。

MCP は、外部ツール、データ、API に接続するための標準化された方法です。 このサーバーでは、LLM は、Astro の機能、API、ベストプラクティスに関する質問に回答できるように、構造化された方法で Astro のドキュメントにアクセスすることができます。 これにより、コードを生成したり、質問に答えたり、援助をしたりするときに、最新かつ正確なドキュメントを使用できるツールです。

使用法

Astro Docs MCP サーバーは、ローカルにインストールされているものを必要としないリモート サーバーです。 MCP 互換ツールに次の設定を追加する必要があります。

  • 名前: Astro Docs
  • URL: [https://mcp.docs.astro.build/mcp
  • 輸送: http

[!NOTE] このサーバは、新しい streamable HTTP トランスポートを使用します。 一部のツールは、このサーバーと互換性のないリモートサーバーの SSE トランスポートをサポートしているツールです。 ツールが HTTP の合理化をサポートしていない場合は、ローカルプロキシを使用する必要があります。 ウインドサーフィンのセクションをご覧ください.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

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

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 VS Code:

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"]
    }
  }
}
GitHub で README 全文を見る

インストール

npx -y mcp-remote https://mcp.docs.astro.build/mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

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