# Astro MCP Integration with Claude Desktop Hey, there. Was anybody able to integrate the Astro MCP with Claude? I've been trying to integrate the Astro MCP server with Claude Desktop on Ubuntu and encountered issues: ## Current setup: - Astro v5.7.12 - astro-mcp v0.3.1 - Claude Desktop (Ubuntu Linux) - astro.config.mjs has mcp() integration properly configured - Project running on port 4322 ## Verification Steps: - Astro MCP server is correctly running at http://127.0.0.1:4322/__mcp/sse - Verified server is operational with: `curl -N http://127.0.0.1:4322/__mcp/sse` - MCP Inspector successfully connects to the Astro MCP server at http://127.0.0.1:6274/ and shows all tools (get-astro-config, list-astro-routes, etc.) ## Key Issues: 1. Claude Desktop fails to connect with JSON parsing errors: - `Unexpected token 'e', "event: endpoint" is not valid JSON` - `Unexpected token 'd', "data: /__m"... is not valid JSON` 2. Error logs suggest a protocol mismatch: - Claude Desktop expects JSON-RPC messages - Astro MCP server is sending Server-Sent Events (SSE) format data 3. Attempts to use various configuration options in Claude Desktop all fail: - Direct URL configuration - Using transport type "sse" - Using curl as a command - Trying the MCP Inspector proxy Would you have any guidance on the correct way to bridge between the Astro MCP server's SSE protocol and the JSON-RPC protocol that Claude Desktop expects?
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by tutkodev and has received 2 comments.