Installing Astro MCP in Antigravity
I was working with Astro in Antigravity and decided to use the official Astro MCP for searching through documentation. But the instructions provided in the official docs doesn't work inside Antigravity, and it keeps showing errors. And after researching a bit, I finally found the solution:
{
"mcpServers": {
"astro-docs": {
"serverUrl": "https://mcp.docs.astro.build/mcp"
}
}
}
Yes, you just have to add this and it works as expected. In the official Astro docs they use httpUrl instead of serverUrl and that isn't supported by Antigravity at all. I also opened a PR for Astro docs, but let's see if it's accepted.
Hope this helps.
Update:
The pull request I opened has been accepted and the Astro docs have been updated with the working MCP config for the Antigravity IDE. Here's the reply from core docs maintainer sarah11918 confirming the changes from httpUrl to serverUrl.
I also see that this has been updated for all the available languages in the Astro docs.
Comment via email