Skip to content
VS Code

Perplexity API Platform for VS Code

ai.perplexity/mcp-server

Real-time web search, reasoning, and research through Perplexity's API

client:VS Code transport:stdio runtime:npm

Install Perplexity API Platform in VS Code

.vscode/mcp.json

{
  "servers": {
    "mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@perplexity-ai/mcp-server"
      ]
    }
  }
}

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

Perplexity API Platform in other clients