Astro Server Island Detector

Astro Server Island Detector MCP Connector for Claude

A+

Extracts Astro Server Island directives from HTML/JSX to prevent misconfigured streaming SSR components.

1 tools Official Updated Oct 1, 2026 Official Vinkius Partner

The Astro Server Island Detector is a specialized MCP server designed to audit and validate Astro component strategies within HTML or JSX snippets. It identifies components using server:defer or server:only directives, ensuring that streaming SSR (Server-Side Rendering) configurations are correctly implemented. By utilizing the detect_islands tool, developers can programmatically scan code for island architectures, extracting component names and their associated strategies while flagging any invalid configuration attempts. This prevents common AI agent errors where components are misconfigured, leading to broken hydration or failed streaming.

astrossrislands-architecturehtml-parsingweb-performance

1 tools expose this connector's capabilities to your AI agent.

detect_islands

Detect Astro islands in an HTML snippet

See how to talk to your AI agent using Astro Server Island Detector.

Check this snippet for Astro islands: <div class='container'><MyComponent server:defer /></div>

Found 1 island: MyComponent using the server:defer strategy.

Are there any islands in this code? <header><Nav server:only /></header>

Found 1 island: Nav using the server:only strategy.

Scan this HTML for any invalid Astro strategies: <div server:invalid='true'></div>

No valid islands found, and the has_invalid_strategy flag is true due to the unrecognized directive.

It scans HTML or JSX snippets to find Astro components using `server:defer` or `server:only` directives, providing a list of detected islands and their strategies.

Related Connectors