Perplexity MCP Server for Google Antigravity
Use Perplexity's hosted Model Context Protocol (MCP) server to give Google Antigravity's agent access to Perplexity search, answers, research, and reasoning. The server runs remotely, so you do not need to install a local package.
Configure Perplexity MCP in Google Antigravity
Section titled “Configure Perplexity MCP in Google Antigravity”Create a Perplexity API key
Open the global MCP configuration
Open or create
~/.gemini/config/mcp_config.json. Google Antigravity also supports a workspace-level.agents/mcp_config.json, but the global file is the safer place for a configuration containing your API key.Add the hosted Perplexity server
Add the
perplexityentry undermcpServers. If the file already contains other servers, merge this entry into the existing object.JSON { "mcpServers": { "perplexity": { "serverUrl": "https://api.perplexity.ai/mcp", "headers": { "Authorization": "Bearer YOUR_PERPLEXITY_API_KEY" } } } }Replace
YOUR_PERPLEXITY_API_KEYwith your key. Antigravity requiresserverUrlfor remote Streamable HTTP MCP servers;urlandhttpUrlare not supported.Verify the connection and permissions
Save the file and reopen Antigravity if the server does not appear. In MCP management, confirm that the Perplexity server exposes these tools:
perplexity_searchperplexity_askperplexity_researchperplexity_reason
By default, unconfigured MCP tools run in Ask permission mode, so Antigravity requests your approval before running them. You can change tool permissions in Antigravity's policy configuration after confirming the connection works.
MCP tool access vs. Perplexity API calls
Section titled “MCP tool access vs. Perplexity API calls”This setup lets the Antigravity agent call Perplexity through MCP while it works on your project. It does not add Perplexity API calls to the application you are building.
- For more MCP clients, local-server options, billing, and troubleshooting, see the Perplexity MCP server guide.
- To call Perplexity from your application code, start with the Perplexity API quickstart.
For other Antigravity MCP settings, see Google's MCP configuration reference.