Skip to content

feat(astro): add Astro Docs MCP plugin - #232

Merged
amondnet merged 1 commit into
mainfrom
amondnet/astro
Jun 24, 2026
Merged

feat(astro): add Astro Docs MCP plugin#232
amondnet merged 1 commit into
mainfrom
amondnet/astro

Conversation

@amondnet

@amondnetamondnet commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a new Astro Docs MCP plugin (MCP-only, no slash commands or skills) to the marketplace. The plugin wraps the official Astro Docs streamable-HTTP MCP server at https://mcp.docs.astro.build/mcp, giving Claude Code access to up-to-date Astro documentation via MCP.

Changes

  • plugins/astro/ — new plugin directory with five generated manifest files:
    • .claude-plugin/plugin.json — Claude Code manifest (source of truth)
    • .codex-plugin/plugin.json — Codex manifest (generated via multi-format)
    • plugin.json — Antigravity root manifest (generated)
    • .mcp.json — Codex MCP config (generated)
    • mcp_config.json — Antigravity MCP config (generated)
  • .claude-plugin/marketplace.json — added astro entry (source of truth)
  • .agents/plugins/marketplace.json — regenerated Codex marketplace with astro entry
  • release-please-config.json — added plugins/astro package entry
  • .release-please-manifest.json — added "plugins/astro": "1.0.0"
  • README.md — added astro to Built-in Plugins list and install command

MCP Endpoint

The plugin uses the official Astro Docs MCP endpoint:

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

Transport: streamable-HTTP (no local process required).

Multi-runtime manifests

All runtime artifacts were generated by:

bun scripts/cli.ts multi-format

Claude Code manifest is the source of truth; Codex and Antigravity manifests are generated and should not be hand-edited.

Notes

  • bun.lock was intentionally excluded from this PR — it contains a pre-existing, unrelated change (plugins/gatekeeper 1.4.0 → 1.5.0) that will be committed separately.

Summary by cubic

Adds the MCP-only astro plugin to give up-to-date Astro docs access via the official Astro Docs MCP server. Includes marketplace wiring, generated manifests for all runtimes, release automation, and README updates.

  • New Features
    • Adds plugins/astro wrapping the Astro Docs MCP server at https://mcp.docs.astro.build/mcp (streamable HTTP; no local process).
    • Generates multi-runtime manifests (.claude-plugin/plugin.json, .codex-plugin/plugin.json, plugin.json, .mcp.json, mcp_config.json) and adds marketplace entries.
    • Adds release automation entries and pins version to 1.0.0.
    • Updates README with install command and source links.

Written for commit 8dd763f. Summary will update on new commits.

Summary by CodeRabbit

  • New Features

    • Added a new Astro plugin to the available plugin marketplace, making Astro documentation access easier to discover and install.
    • Included the plugin in the install list with the astro install command.
  • Documentation

    • Updated the plugin catalog and README to show Astro as an available option with its description and source link.

MCP-only plugin wrapping the Astro Docs streamable-HTTP MCP server
(https://mcp.docs.astro.build/mcp). Multi-runtime manifests
(Claude Code, Codex, Antigravity) generated via `bun scripts/cli.ts
multi-format`. Includes marketplace entry in .claude-plugin/marketplace.json
(source of truth), regenerated Codex marketplace at
.agents/plugins/marketplace.json, release-please-config.json package entry,
.release-please-manifest.json version pin at 1.0.0, and README wiring
under Built-in Plugins.
@vercel

vercelBot commented Jun 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

ProjectDeploymentActionsUpdated (UTC)
claude-code-pluginsReadyReadyPreview, CommentJun 24, 2026 11:49am

Request Review

@coderabbitai

coderabbitaiBot commented Jun 24, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: f8db28a7-b06e-400a-8541-2cbc8c52b8fc

📥 Commits

Reviewing files that changed from the base of the PR and between 52d3d31 and 8dd763f.

📒 Files selected for processing (10)
  • .agents/plugins/marketplace.json
  • .claude-plugin/marketplace.json
  • .release-please-manifest.json
  • README.md
  • plugins/astro/.claude-plugin/plugin.json
  • plugins/astro/.codex-plugin/plugin.json
  • plugins/astro/.mcp.json
  • plugins/astro/mcp_config.json
  • plugins/astro/plugin.json
  • release-please-config.json

📝 Walkthrough

Walkthrough

A new astro plugin is added to the repository. It defines MCP server manifests for both Claude and Codex plugin formats, pointing to https://mcp.docs.astro.build/mcp. The plugin is registered in both marketplace JSON files, versioned in release-please config, and documented in the README.

Changes

Astro Plugin Addition

Layer / File(s)Summary
Astro plugin core manifests and MCP config
plugins/astro/plugin.json, plugins/astro/.claude-plugin/plugin.json, plugins/astro/.codex-plugin/plugin.json, plugins/astro/.mcp.json, plugins/astro/mcp_config.json
Creates the plugin directory with top-level metadata manifest, per-client plugin.json files for Claude and Codex formats (including mcpServers registration and defaultPrompt), and two MCP server config files defining the astro-docs HTTP server at https://mcp.docs.astro.build/mcp.
Marketplace and release-please registration
.agents/plugins/marketplace.json, .claude-plugin/marketplace.json, .release-please-manifest.json, release-please-config.json
Inserts the astro plugin entry into both marketplace manifests with its source path, policies, and category; adds plugins/astro at version 1.0.0 to the release manifest; and adds a release-please package block tracking $.version across the three plugin JSON files.
README documentation
README.md
Adds the Astro plugin to the Available Plugins catalog with description, /plugin install astro@pleaseai command, and source link; also inserts the install command into the commands list.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~4 minutes

Possibly related PRs

Poem

🐇 Hop, hop, into the stars we go,
A new Astro plugin joins the show!
MCP server points to docs so bright,
plugin install astro — feels just right.
The marketplace grows, one framework more,
This bunny's delighted to the core! 🌟

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check nameStatusExplanation
Description Check✅ PassedCheck skipped - CodeRabbit’s high-level summary is enabled.
Title check✅ PassedThe title clearly and concisely matches the main change: adding an Astro Docs MCP plugin.
Docstring Coverage✅ PassedNo functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check✅ PassedCheck skipped because no linked issues were found for this pull request.
Out of Scope Changes check✅ PassedCheck skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch amondnet/astro

Comment @coderabbitai help to get the list of available commands.

@gemini-code-assistgemini-code-assistBot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new Astro documentation plugin, adding the Astro Docs MCP server to the marketplace, updating configuration files, and adding documentation in the README. The review feedback correctly identifies that the MCP server transport protocol type in .claude-plugin/plugin.json should be changed from "http" to "sse" to ensure compatibility with the Server-Sent Events protocol used by the Astro Docs MCP server.

Comment threadplugins/astro/.claude-plugin/plugin.json
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@cubic-dev-aicubic-dev-aiBot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 10 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.
Architecture diagram
sequenceDiagram
participant User as User / Developer
participant Claude as Claude Code (Runtime)
participant PkgMgr as Plugin Manager
participant MCP as MCP Client
participant AstroMCP as Astro Docs MCP Server
Note over User,AstroMCP: NEW: Astro Docs MCP Plugin (MCP‑only, streamable‑HTTP)
User->>Claude: /plugin install astro@pleaseai
Claude->>PkgMgr: Resolve plugin from marketplace
PkgMgr->>PkgMgr: Read .claude-plugin/plugin.json (NEW manifest)
PkgMgr->>MCP: Register MCP server "astro-docs"
MCP->>MCP: Configure streamable‑HTTP transport (URL: https://mcp.docs.astro.build/mcp)
Note over User,Claude: Later – user requests Astro documentation
User->>Claude: "How do I configure Astro collections?"
Claude->>MCP: Call astro‑docs tool with query
MCP->>AstroMCP: HTTP POST (streamable) to /mcp
AstroMCP-->>MCP: Documentation response (tool result)
MCP-->>Claude: Return documentation content
Claude-->>User: Answer with relevant docs
Note over Claude,AstroMCP: No local process – entirely network‑based MCP endpoint
Loading

Re-trigger cubic

@amondnet
amondnet merged commit ff07910 into mainJun 24, 2026
13 checks passed
@amondnet
amondnet deleted the amondnet/astro branch June 24, 2026 11:57
@pleaseai-release-botpleaseai-release-botBot mentioned this pull request Jun 24, 2026
@sonarqubecloud

Copy link
Copy Markdown

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@amondnet