Learning resourcesReviewed · Perplexity

Perplexity Agent API Connectors Guide

Perplexity's Connectors guide helps developers connect AI agents to workplace services, but any API key in the same Project can use a connection and calls run without approval by default. It explains managed integrations, custom Model Context Protocol servers, tool discovery and GitHub access through Sandbox commands.

Researched 25 Nov 2026

In short.

Perplexity's Connectors guide is documentation for developers giving AI agents access to external services, with Project-wide connection access and no call approval by default. It covers six managed services, custom remote Model Context Protocol servers, deferred tool discovery and GitHub workflows using either tool calls or Sandbox commands. A critical distinction is that tool approvals govern MCP calls, not individual Sandbox commands; approval settings can change which execution path GitHub uses. Pricing, licensing and actual operational reliability are not established by this page.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete Connectors documentation page at [https://docs.perplexity.ai/docs/agent-api/tools/connectors.md], captured on November 25, 2026. This includes its notices about deferred discovery, default approvals, Sandbox credential routing and silent connector failures. Linked documentation, the documentation index, console pages and repositories are excluded. Examples were not executed; live behavior, performance, current availability, costs and redistribution rights remain unverified.

The overview

Identity

This is Perplexity's Connectors documentation for its Agent API, available at [https://docs.perplexity.ai/docs/agent-api/tools/connectors.md]. It teaches an API feature rather than providing a standalone assistant or downloadable plugin.

A connector is a saved service connection belonging to a Perplexity Project. Applications reference its ID instead of supplying the remote service's credentials with every request. Custom connectors connect remote Model Context Protocol (MCP) servers, which expose tools an agent can call.

Assessment

The guide is useful for developers choosing how to connect an Agent API application to existing services. Its strongest practical detail is the relationship between saved credentials, tool restrictions, approvals and Sandbox access.

It supports an initial implementation plan, but does not establish successful operation, answer accuracy, latency or reliability. Complete approval-policy syntax and Sandbox behavior depend on linked documentation outside this page.

Users

The intended users are application developers building agents that search workplace information or perform service operations, and Project administrators who configure those connections. GitHub examples also address developers delegating bounded repository tasks.

Beginners receive Python, TypeScript and cURL examples, but still need familiarity with API authentication, request objects and response inspection. Teams requiring separate connection access for each application user should examine the documented rule that any API key in the same Project can use a connector.

Capabilities

The documented managed catalog includes GitHub, Slack, Google Drive, Datadog, Linear and Notion. Custom connectors accept a remote MCP URL, API Key or None authentication, and Streamable HTTP or SSE transport.

GitHub's MCP catalog covers repositories, files, commits, issues and pull requests. Its get_file_contents tool can read a file or list a directory, with an optional ref for a branch, tag or commit; omitting ref uses the default branch.

With the GitHub connector and Sandbox enabled, the documented capabilities extend to cloning private repositories, searching files, changing code, committing, pushing branches and creating or updating pull requests, within the connected account's permissions.

Using it

Requirements

A Project administrator must configure managed or custom connections. Agent API requests require a Perplexity API key from the same Project as the connector. Custom connections additionally require a remote MCP server and its connection settings.

Each connector entry requires type set to connector, its id and a request-local server_label. The server_description, allowed_tools and require_approval fields are optional. Because tools use deferred discovery, max_steps must allow enough steps to discover and use them; the page gives no universal minimum.

Mechanism

Perplexity stores the connection settings and credentials for the Project. The model initially receives a connector namespace, searches its tool catalog and loads the schemas it needs. Deferred discovery limits schemas entering the model's context, while mcp_list_tools still records the full catalog in the response.

The allowed_tools field is an exact-name allowlist. Omitting it or supplying an empty array exposes every available tool. Omitted, null or never approval settings allow connector calls to execute without review.

GitHub switches to authenticated git and gh commands when Sandbox is enabled without allowed_tools or a nondefault approval policy. That path produces sandbox_results rather than MCP call records. Configuring allowed_tools or a nondefault approval policy returns GitHub to MCP tools and withholds its credentials from Sandbox. MCP approvals do not approve or deny individual Sandbox commands.

Setup

An administrator opens [https://console.perplexity.ai/project/connectors], selects a managed service, completes its connection setup and copies the connector ID. For a custom connector, the administrator supplies the server name, MCP URL, authentication method and transport before copying its ID.

The application adds that ID to a connector entry in the request's tools array and authenticates with its Perplexity API key. Choose tool restrictions and approval behavior before enabling operations that change external services. Exact approval-policy configuration is referred to a separate MCP page.

Example

The Slack example asks for recent workspace messages about AI, sets max_steps to 6 and supplies type as connector, id as connector_slack and server_label as slack. Equivalent Python, TypeScript and cURL examples are provided. Their illustrative model identifier is openai/gpt-5.6-terra; current model availability is not independently established.

The sample response shows a tool catalog, a catalog search, a Slack search call and a final answer. A separate GitHub example combines Sandbox with the connector to make a small README change and open a pull request. These are documentation examples; none were executed.

Assessment & evidence

Limitations

A successful Agent API request does not establish successful connector access. A failed mcp_call can return an error while the run continues and the model still answers. AUTH_REQUIRED indicates stale or revoked authorization. A disconnected connector can instead expose an empty tool list without reporting an error.

These connections are not inherently read-only: the sample Slack catalog includes a message-sending tool, and GitHub supports repository changes. Full permission scopes and operation coverage for every managed service are not documented here.

The page describes Sandbox as suitable for bounded tasks completed in one run, rather than repository-wide review or development requiring a persistent environment and long iteration loops. It also contains inconsistent console paths: the prose uses [https://console.perplexity.ai/project/connectors], while error-handling examples use [https://console.perplexity.ai/group/connectors]. Which path currently resolves is unverified.

Reasoning

The documented design trades repeated credential handling in the application for a shared Project connection. This makes connectors a plausible fit when several requests should reuse the same service access, while the Project access boundary matters for applications serving users with different permissions.

For GitHub, the task determines the useful execution path: MCP provides individual tool-call records and approval handling, while Sandbox provides git and gh workflows. These suitability judgments follow from the documented architecture, not measured outcomes.

Alternatives

The page compares connectors with direct MCP configuration in the Agent API. Direct MCP supplies the remote server URL and authentication in each request, making it appropriate when those settings need to vary between requests. Connectors save those settings once for reuse within a Project.

The documented direct MCP option supports Streamable HTTP, while custom connectors also support SSE. Direct MCP credentials are not available to Sandbox commands. The page does not compare competing agent platforms or independent integration products.

Evidence

The evidence is the complete Perplexity Connectors documentation page at [https://docs.perplexity.ai/docs/agent-api/tools/connectors.md]. It supplies procedural instructions, parameter descriptions, request examples, illustrative response records and error-handling guidance.

This supports statements about documented behavior. It does not provide independent benchmarks, observed service responses or evidence of successful end-to-end operation. No code, commands or API requests were run.

Access & freshness

Costs

The page provides no connector pricing, model rates, Sandbox charges, quotas or third-party service costs. Total cost is unknown.

Deferred discovery is described as avoiding the token overhead of loading every tool schema into the model's context. No measured token savings or cost comparison is supplied.

Rights

The page does not state a license or redistribution grant for its documentation or examples. Permission to redistribute a captured copy is unknown.

GitHub access is explicitly limited to repositories and actions permitted by the connected account. That access boundary does not establish rights to redistribute repository contents or other connected-service data. Applicable third-party terms and data-use permissions are not provided.

Freshness

The documentation snapshot was captured on November 25, 2026, at 11:42:36 UTC. The supplied page shows no publication date, last-updated date or explicit API version guarantee.

The service catalog, sample model identifier, console paths and execution behavior reflect that snapshot. Their continued availability and maintenance status are not independently established.

Actions

For an initial implementation, configure the needed service and use a bounded read request to establish the required tool access. Set a nonempty allowed_tools list when restricting exposure; an empty list exposes all tools. Choose approvals and Sandbox use together because they affect GitHub credential routing.

Inspect mcp_call errors and empty catalogs rather than relying only on the final answer. Reconnect authorization after AUTH_REQUIRED, avoid retrying POLICY_DENIED, and handle transient availability failures separately. Treat unrecognized error strings as tool failures. Confirm pricing, applicable terms and linked approval details before depending on the integration.

Evidence for this report

selected-page.txtselected · checked 2026-11-25