Perplexity MCP server security

What the official Perplexity MCP server can do once connected, how sign-in and API keys limit it, and how to restrict tools and keep keys out of shared config.

On this page

Perplexity MCP server security: does it meet our control requirements?

The facts supplied do not show SSO with your company identity provider as a built-in enterprise control for the Perplexity MCP server. Sign-in is either OAuth 2.1 with PKCE and dynamic client registration, which is limited to API usage for the organization chosen at sign-in, or an API key sent as a bearer token and tied to the Perplexity API organization. Tool restriction and key handling are set by the client and by your own configuration, not by a central Perplexity admin policy that was supplied. Before staff connect Claude, Cursor, VS Code or Codex, a head of IT or security should decide which of these two paths is acceptable and who owns each credential.

Meeting your requirements is a matter of three groups. Partly met: OAuth limits the connection to API usage and cannot create API keys, view balances or manage the organization, and the Anthropic connector example shows disabling all tools by default and enabling only perplexity_search. Open: whether an identity provider can enforce sign-in, whether administrators can approve or block clients, and what audit logs exist for tool calls. Met by design: the docs warn against committing a literal key to shared files such as .cursor/mcp.json. No edition tiers for this server were supplied, so confirm with Perplexity which plan, organization settings and admin controls apply to your account.

The practical next step is to write down which of the five tools (perplexity_search, perplexity_context, perplexity_ask, perplexity_research and perplexity_reason) each client may call, and to test that restriction in each client before rollout. Ask Perplexity in writing for the admin, logging and sign-in controls for your organization, and confirm whether the hosted and local servers differ on any of them, since the docs say transport, authentication and client behavior can vary. Until those answers are in hand, treat the connection as a per-user API credential that needs an owner and a rotation plan.

Support matrix: what the Perplexity MCP server provides and where

This table compares the Perplexity MCP server's authentication options, hosting modes, tools and client-side controls. Read the columns to see what is built in, what depends on a paid API setup or an outside component, and what the reviewer must confirm with Perplexity or the client vendor. The main takeaway is that tool calls bill as API usage whichever sign-in path you use, and the clearest per-tool restriction in the docs is the Anthropic connector setting.

CapabilityBuilt inPaid or outside componentNot supplied: confirm
OAuth 2.1 with PKCE and dynamic client registrationAccepted by the remote server; sign-in limits calls to API usage.Tool calls billed at standard API pricing to the chosen organization.Whether any plan tier gates OAuth sign-in.
API key as bearer tokenAccepted by the remote server in the Authorization header.Calls bill to the organization that owns the connected key.Key scopes or expiry options beyond what the docs describe.
Remote hosted server (api.perplexity.ai/mcp)Perplexity-hosted and listed as the recommended option.API usage billing applies to every tool call.Regional hosting or data residency options for the hosted server.
Local stdio serverOpen-source server in the official repository, run over stdio.Needs a local runtime on the endpoint and an API key; calls still bill as API usage.Whether the local server ships on the same release timing as the remote server.
Self-hosted HTTP modeDocumented in the repository and set through environment variables.Your own host, network controls and BIND_ADDRESS setting.Whether HTTP mode adds client authentication beyond the API key.
Five tools: search, context, ask, research, reasonperplexity_search, perplexity_context, perplexity_ask, perplexity_research, perplexity_reason.Each call is billed as API usage.Which tools write data or carry higher risk in your setup.
Per-tool restriction in the Anthropic connectorDocumented: disable all tools by default in mcp_toolset, then enable perplexity_search.Requires an Anthropic API setup in your own account and code.Equivalent per-tool controls in Claude apps or other clients.
Google Antigravity Ask modeAntigravity runs unconfigured MCP tools in Ask mode by default.The approval default comes from the Antigravity client, not Perplexity.Whether approvals still apply after you configure a tool.
SSO with the company identity providerNot supplied as a server feature; sign-in is OAuth to Perplexity.Depends on the client and your identity provider configuration.Whether Perplexity supports SAML or OIDC federation with your IdP.

How sign-in grants and API keys limit what a connected client can do

The remote server at ` accepts two authentication paths, and they grant very different reach. A sign-in with Perplexity (OAuth) grant is limited to API usage: per Perplexity's docs, it can call the Perplexity API for the organization chosen at sign-in, but it cannot create API keys, view balances or manage the organization. An API key sent as a bearer token in the Authorization header carries the permissions of that key, so its reach depends on how the key was created and scoped in the API Platform. Reviewers should confirm which path each client uses, because the same tool list can sit behind a narrow grant or a broad key.

Every tool call is billed as standard API usage, either to the API key the client connects with or to the organization selected at sign-in, and that organization's rate limits apply. This makes billing and throttling part of the risk picture: a runaway agent loop consumes the same budget and quota as production workloads in that organization. Before approving a rollout, ask the team which organization and key each client uses, what rate limits that organization carries, and whether usage can be attributed to a named user or a shared service account.

The connected client, not the server, decides when a tool runs. Perplexity's docs note that Google Antigravity runs unconfigured MCP tools in Ask permission mode by default, so it requests approval before execution. Other clients may auto-approve tool calls, so the approval setting is a control you must verify in each client rather than assume. Test each client with a benign prompt, confirm it prompts before the first perplexity_research or perplexity_reason call, and record the setting in your approved configuration baseline.

Which keys and tools carry the most risk

The Perplexity MCP server risk concentrates in three places: where the API key is stored, which tools the client may run without asking, and how the server is exposed on the network. Each card below names one of these risks and the check a reviewer should make before approving a connection.

Literal key in a committed config

Putting a literal API key into a workspace file such as .cursor/mcp.json or .agents/mcp_config.json can expose it to everyone who receives the repository. Perplexity's docs warn against this specific pattern. Check that every connection reads the key from the user's own environment or secret store, and search repositories for the key string before approving the setup.

Perplexity MCP docs

Research and reason as broader calls

Among the five tools, perplexity_research and perplexity_reason are the calls a reviewer should treat as broader and more expensive than a plain search. Each call is billed as standard API usage to the key or organization in use, so heavier tools can drive spend faster and send more query content to Perplexity. Ask which tools the team actually needs and whether those two should be disabled by default.

Auto-approval of tool calls

Some clients run unconfigured MCP tools only after the user approves them, while others can be set to approve automatically. Auto-approval removes the last human check before an agent sends a query or runs a tool with the connected key. Confirm the approval mode in each client the team uses, and keep approval on for any tool that is not on the approved list.

Shared keys billed to one organization

A single API key shared across a team means every user's tool calls are billed to one organization and count against its rate limits. One user's heavy use can slow others, and the audit trail can show only the key owner. Prefer OAuth sign-in, which is limited to API usage for the chosen organization, or issue a separate key per team with its own limits. Ask who owns each key and how it is rotated.

Local server holding the key

The local stdio server receives PERPLEXITY_API_KEY in its process environment, so any process or user account that can read that environment can use the key. The risk is contained on a managed workstation but grows on shared machines or in build agents. Check who can read the process environment, and confirm the key is scoped to the least access the team needs.

Self-hosted HTTP mode and BIND_ADDRESS

The repository's self-hosted HTTP mode listens on a port set by PORT, which defaults to 8080, and on the address set by BIND_ADDRESS. A bind to all interfaces lets anyone on the network reach a server that holds the API key. Confirm the server binds only to localhost or an internal interface, sits behind authentication and network controls, and is not published to the internet.

Repository README

How the answer changes by client and deployment

The Anthropic API MCP connector is the most tightly bounded option because the tool list is set in the request itself. The documented pattern disables all tools by default in the mcp_toolset and enables only perplexity_search, so the other four tools (perplexity_context, perplexity_ask, perplexity_research and perplexity_reason) are never offered to the model. Calls are billed as standard API usage to the key or organization attached to the connection.

  • Default deny: Confirm the configuration disables all tools first, then enables perplexity_search by name.
  • Single tool exposure: Run a test session and confirm no other Perplexity tool appears in the model's tool list.
  • Key location: Confirm the API key comes from a managed secret store or environment variable, not a literal value in a committed file.
  • Billing and limits: Confirm which key or organization each call is billed to and which rate limits apply.
  • Change control: Require review for any edit to the allowlist, since a later change can enable more tools without a visible code diff.

Check the final request payload that the application sends, not only the example snippet in the documentation.

Decisions the organization must make before approving the server

Before approving the Perplexity MCP server, reviewers need to settle six choices: which server runs, how users sign in, which organization is charged, which tools are enabled, where keys live, and how the client asks for approval. Each one changes who can call the API, who pays for calls, and what the audit trail can show.

Remote hosted or local server

Perplexity's docs recommend the remote server at a Perplexity-hosted address, and offer an open-source local server that runs over stdio. The docs say the two are meant to expose the same tools, but transport, authentication, release timing and client behavior can differ. Ask which option the approved clients support, confirm which release each team runs, and record the choice in the approval so reviewers know where requests originate.

Repository docs

OAuth or shared API key

The remote server accepts OAuth 2.1 with PKCE and dynamic client registration, or an API key sent as a bearer token. OAuth ties each session to a person and limits what that session can do, while a shared key makes every call look the same in the logs and gives no per-user revocation. Decide which method is permitted per client, and require a named owner for any key that is used.

Organization chosen at sign-in

With OAuth, the connection is limited to API usage for the organization selected at sign-in. Tool calls are billed as standard API usage to that organization, and its rate limits apply. The person signing in can call the API but cannot create API keys, view balances or manage the organization. Confirm which organization each team should select, so spend and rate limits land in the right account.

Tools enabled for each client

The server exposes five tools: perplexity_search, perplexity_context, perplexity_ask, perplexity_research and perplexity_reason. Each tool carries different cost and data exposure, since research and reasoning calls send more queries and return more content. Where the client supports it, disable all tools by default and enable only the ones the approved use case needs, starting with perplexity_search.

Tools exposed
5

Where keys are stored and owned

Perplexity's docs warn against committing or sharing API keys, and against placing a literal key in a workspace file such as .cursor/mcp.json or .agents/mcp_config.json, which may be committed or shared. Require keys to come from the developer's environment or a secrets manager, assign each key an owner, and set a rotation process. Ask the vendor how keys are revoked when a person leaves.

Client approval modes

Approval behavior is set in each client, not by the server. Google Antigravity runs unconfigured MCP tools in Ask permission mode by default, so it requests approval before each execution. Other clients may default to auto-approval or allow a per-tool setting. Test each approved client to confirm how it prompts, and write the required mode into the rollout standard so a default change does not silently widen access.

Rollout order for a controlled Perplexity MCP server deployment

This sequence lets security and IT settle the edition, transport, sign-in method and tool scope before any staff member connects a client. The result is a written baseline that reviewers can test again after each client or server update.

  1. Confirm the edition and organization model

    Ask Perplexity which account type, API Platform organization and billing setup your staff will connect to, and who holds the rate limits and billing for tool calls. Tool calls are billed as standard API usage to the API key connected or to the organization chosen at sign-in, so the owner of that organization must be named before rollout. Record the answers in the rollout file. The step is complete when the billing owner, the organization and the rate-limit owner are written down and approved by procurement.

  2. Choose the hosted or local transport

    Perplexity recommends the remote server at its hosted endpoint, while the open-source local server runs over stdio or in a self-hosted HTTP mode you operate. Compare where requests travel, who operates the process and how authentication differs, since the docs note that transport and client behavior can differ between the two. Security owns this decision with the platform team. The step closes with a one-paragraph transport decision that names the approved option and the reason for it.

  3. Decide between OAuth and an API key

    Choose OAuth 2.1 with PKCE and dynamic client registration, or an API key sent as a bearer token. Sign-in through OAuth is limited to API usage for the chosen organization and cannot create keys, view balances or manage the organization, so it usually suits staff accounts better than a shared key. An API key carries the full spend and access of that key, so it needs a named owner and a rotation plan. The step is complete when the chosen method and its owner are recorded for each client group.

  4. Restrict tools to perplexity_search or an approved set

    Start with an allowlist that enables only perplexity_search, and add perplexity_context, perplexity_ask, perplexity_research or perplexity_reason only after a documented use case and a review. In the Anthropic API connector, the docs show disabling all tools by default in the mcp_toolset and enabling only the approved tool. Confirm that each client you use supports an equivalent restriction before you rely on it. The step is complete when a test session shows that only the approved tools are offered to the model.

  5. Keep API keys out of shared config

    Store keys in each user's environment or the client's secret mechanism, never as a literal value in files such as .cursor/mcp.json or .agents/mcp_config.json that may be committed or shared. Scan repositories for literal keys before approving the setup and add the check to code review. For self-hosted HTTP mode, pass PERPLEXITY_API_KEY through the process environment managed by your platform. The step is complete when a repository scan finds no literal key and the config files reference the variable instead.

  6. Test client approval modes

    For each client in scope, confirm whether unconfigured MCP tools run automatically or wait for approval. The docs state that Google Antigravity runs unconfigured MCP tools in Ask permission mode by default, so other clients need the same check. Verify that the mode staff use requires approval for tool calls outside the allowlist and that auto-approve settings are off for this server. The step is complete when a dated test record shows the approval behavior for each client version tested.

  7. Confirm data and log retention with the trust documents

    Read the Perplexity API privacy and security documentation and the Trust Center materials it links to, including the SOC 2 Type II report, the 2025 HIPAA gap assessment and the CAIQlite questionnaire. Ask Perplexity in writing how request content, usage metadata and logs are retained for the organization, whether zero data retention applies, and which logs your team can export. Your own client logs also matter, so confirm what each client records locally. The step is complete when retention answers are filed with the security review and any gap is assigned an owner.

  8. Retest after client or server updates

    Repeat the transport, sign-in, tool allowlist, key storage and approval checks whenever a client, the MCP server package or the hosted endpoint changes. Because the docs note that release timing can differ between hosted and local servers, treat each version as a new baseline. Keep the previous configuration so the team can roll back. The step is complete when the retest record matches the approved baseline or the exception is accepted in writing.

Evidence a security reviewer asks for and where it comes from

This table lists the evidence a reviewer should collect for the Perplexity MCP server, where each item comes from, and what it proves. Read each row as a question to put to the admin or vendor, and treat the sources as the places to check the answer before approval.

EvidenceSourceWhat it proves
Tool listPerplexity API MCP server docs and the perplexityai/modelcontextprotocol repositoryThe five tools the server exposes: perplexity_search, perplexity_context, perplexity_ask, perplexity_research and perplexity_reason. Confirm the list in your deployed version before approving.
Authentication methodPerplexity API MCP server docs, Other Clients tableWhether the remote server uses OAuth 2.1 with PKCE and dynamic client registration or an API key sent as a bearer token. The reviewer should record which one each client uses.
Restriction configurationPerplexity API MCP server docs, Anthropic API tabThat tools can be disabled by default in the mcp_toolset and only perplexity_search enabled. Ask for the saved configuration, not only the documented example.
Key ownership and rotation recordsPerplexity API MCP server docs and your own key management recordsWhich person or team owns each API key, where it is stored, and when it was last rotated. Confirm that no literal key appears in files such as .cursor/mcp.json or .agents/mcp_config.json.
Billing and organization attributionPerplexity API MCP server docsThat tool calls bill as standard API usage to the connected key or the organization chosen at sign-in, and that organization rate limits apply. Ask finance and the admin to confirm which account each team's usage lands on.
SOC 2 Type II reportPerplexity API privacy and security docs, Perplexity Trust CenterThat Perplexity lists a SOC 2 Type II report for API users. Request the report itself through the Trust Center and confirm its scope covers the API Platform.
CAIQlite questionnairePerplexity API privacy and security docs, Perplexity Trust CenterThat Perplexity provides a CAIQlite questionnaire for API users. Use it to compare answers on data handling against your own vendor review checklist.
2025 HIPAA gap assessmentPerplexity API privacy and security docs, Perplexity Trust CenterThat a 2025 HIPAA gap assessment exists. It is a gap assessment, not a HIPAA attestation, so ask Perplexity whether it covers the MCP server and what a BAA would cover.

Questions procurement and security reviewers ask before approving the server

Does the Perplexity MCP server support SSO with our identity provider?

The supplied documentation does not describe an SSO integration with a corporate identity provider for the MCP server, so do not assume one exists. What is documented is the sign-in path: the remote server at ` accepts OAuth 2.1 with PKCE and dynamic client registration, or an API key sent as a bearer token. Ask Perplexity in writing whether its API Platform supports SAML or OIDC single sign-on, whether it enforces it for API organizations, and how staff accounts are provisioned and removed. Until that answer is in writing, treat each person's sign-in as a separate account to manage.

What can an OAuth sign-in grant actually do?

A sign-in with Perplexity through OAuth is limited to API usage. Per the Perplexity docs, it can call the Perplexity API for the organization chosen at sign-in, but it cannot create API keys, view balances or manage the organization. That narrows the blast radius compared with handing over an administrative key, but it still lets a connected client run billable searches and research under that organization. Confirm with Perplexity which organization roles can approve the grant, how long a grant lasts, and how a grant is revoked when someone leaves.

Can we limit which Perplexity MCP tools an agent may call?

Yes, at least in the Anthropic API connector, where the documented pattern is to disable all tools by default in the mcp_toolset and enable only perplexity_search. The server exposes five tools: perplexity_search, perplexity_context, perplexity_ask, perplexity_research and perplexity_reason. Tool-level limits in Claude, Cursor, VS Code or Codex depend on each client's own settings, so test each client. Also confirm whether Perplexity offers server-side tool filtering. Pair any allowlist with an approval mode in the client so new tools do not run unreviewed.

Is it acceptable to keep a Perplexity API key in a shared config file?

No. The Perplexity docs warn never to commit or share API keys and not to place a literal key in a workspace config file that may be committed or shared, such as .cursor/mcp.json or .agents/mcp_config.json. Require staff to reference the key from an environment variable or a local secret store, add local config files to version control ignore rules, and scan repositories for leaked keys. Plan key rotation as a routine task, and confirm with Perplexity how keys are scoped, labeled and revoked per user or per project.

What drives the cost of the Perplexity MCP server, and who pays?

The MCP server is billed as Perplexity API usage. Each tool call is charged at standard API pricing to the API key you connect with, or to the organization chosen at sign-in, and that organization's rate limits apply. Costs therefore depend on how many calls staff make, which tools they call (research and reason calls are heavier than a single search), and whether the organization has a budget or rate cap. Ask Perplexity for its current standard API rates, any spending limits or alerts per key, and whether usage can be attributed to individuals or teams for chargeback.

Can we run the local Perplexity MCP server ourselves instead of the hosted one?

The official repository, perplexityai/modelcontextprotocol, provides an open-source local server that runs over stdio, and it documents a self-hosted HTTP mode configured with environment variables such as PERPLEXITY_API_KEY, PORT (default 8080) and BIND_ADDRESS. Perplexity recommends the remote server, and the docs note that transport, authentication, release timing and client behavior can differ between the two. If you self-host, you own the patching, network exposure, logging and key storage. Review the repository's release history and confirm with Perplexity which server version is supported for your use.

Can DeployOpen review our Perplexity MCP setup before we approve it?

Yes. DeployOpen runs an AI agent rollout security review, which tests the setup for prompt injection, tool and file permissions, data exposure, credential handling, SSO and admin settings, then delivers a findings report with fixes and a retest. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and DeployOpen does not publish a price list, so a quote follows from that written scope. DeployOpen does not issue audit reports or certifications. For Perplexity's own certifications, request the SOC 2 Type II report and other items through the Perplexity Trust Center.

How DeployOpen reviews a Perplexity MCP server rollout

DeployOpen works on Perplexity MCP server security as part of an AI agent rollout review: we test the setup before or after staff connect Claude, Cursor, VS Code or Codex, then deliver fixes and a retest. The work runs inside your own environment and follows a written scope agreed before testing begins.

How we scope

  • We confirm which connection path is in use: the hosted server at the Perplexity endpoint or the local stdio or self-hosted HTTP server.
  • We record which clients, workspace config files and API keys or organizations the written scope covers for Perplexity MCP server security.
  • We agree in writing which tools, including perplexity_search and the other listed tools, are in scope, and which are out of scope. Engagements are fixed-scope.

How we build

  • We test prompt injection paths, tool permission prompts and tool allowlisting in each client, including default approval behavior.
  • We check credential handling: where the API key lives, whether it appears in shared or committed config, and how OAuth sign-in is scoped to the chosen organization.
  • We review the data path from client to Perplexity and document what leaves the organization, against the vendor's published privacy and security documentation.

How we hand over

  • You receive a findings report covering each issue, its risk, the affected client or config, and the recommended fix.
  • Fixes such as environment-based key injection, tool restriction and approved-client rules are documented so your IT team can apply them.
  • We retest the agreed items after fixes are applied and document the results, so your reviewers see what changed.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers when the Perplexity server, its clients or tool lists change.
  • We can prepare the evidence your security questionnaires and internal reviews ask for, such as configuration records and test results.
  • Support scope, deliverables and timelines are agreed in writing, and DeployOpen does not publish a price list, so a quote follows from the written scope.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.