Skip to main content
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

1

Create a Perplexity API key

Generate API Key

Create an API key in the Perplexity API Portal.
2

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.
Never commit or share API keys. Do not place a literal key in .agents/mcp_config.json, because workspace configuration may be committed or shared.
3

Add the hosted Perplexity server

Add the perplexity entry under mcpServers. If the file already contains other servers, merge this entry into the existing object.
Replace YOUR_PERPLEXITY_API_KEY with your key. Antigravity requires serverUrl for remote Streamable HTTP MCP servers; url and httpUrl are not supported.
4

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_search
  • perplexity_ask
  • perplexity_research
  • perplexity_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.
Google’s public documentation lists Perplexity Ask in the Antigravity MCP Store. That Store listing has not been independently verified here. The manual configuration above connects directly to Perplexity’s hosted MCP server and does not depend on the Store listing.

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 other Antigravity MCP settings, see Google’s MCP configuration reference.