Connect Google Antigravity
Google's agentic IDE and CLI. Since 2.x the IDE, the agy CLI and the SDK read one shared MCP config.
Shared: ~/.gemini/config/mcp_config.json · Per workspace: .agents/mcp_config.json
Before you start
Create an API key in the app under Settings, then API Keys. Grant only the permissions this agent needs. The key is shown once. Replace pk_live_xxx in the snippets below with it.
Local install
Runs the MCP server on your own machine through npx, so your key never leaves it. Needs Node 18 or newer.
{
"mcpServers": {
"planpost": {
"command": "npx",
"args": ["-y", "planpost-mcp"],
"env": { "PLANPOST_API_KEY": "${PLANPOST_API_KEY}" }
}
}
}Things that catch people out
- Antigravity substitutes ${VAR_NAME} from the environment, so export PLANPOST_API_KEY in your shell rather than pasting the key into the file.
- In the IDE you can reach the same file via the agent panel: ... menu -> MCP Servers -> Manage MCP Servers -> View raw config.
- Custom servers sit alongside the built-in MCP Store; a server added in the raw config appears with the store-installed ones.
Check it works
Ask the agent to list your connected accounts. If it comes back with them, all 47 tools are available.
Which social accounts do I have connected on planpo.st?