I’ve copied over the config of my MCP server but for some reason antigravity is indicating the ‘type’ field is invalid.
I tried without that field in that hopes that it was detecting the command as npx so defaulting to stdio, but no luck.
I note that the example provided also doesn’t use a type, but if I try to run without a type the agent gets errors rather than results.
Has anyone seen this before?
Hello @Chris_Haggan, welcome to AI Forum!
The errors you see after removing the field usually occur because Antigravity’s isolated environment does not inherit your local shell’s PATH.
Could you please try the below steps:
- Remove the type field entirely.
- Update the command field to use the absolute path to your executable (e.g., /usr/local/bin/npx instead of npx).
Please verify the correct schema in our official documentation