Perplexity connector and plugin
Use the existing hosted MCP endpoint and four shared skills in Perplexity. This guide prepares a custom connection; it does not publish a marketplace listing.
Operator: prepare a separate OAuth client
The server supports pre-registered confidential clients with S256 PKCE, Basic or POST client authentication, rotating refresh tokens and revocation. Perplexity gets its own registration; do not reuse a ChatGPT or Claude client secret.
From the repository, generate credentials into a new directory outside Git:
uv run python scripts/prepare_perplexity_oauth.py --output "$HOME/.config/deepagentlabs/perplexity-oauth"
The directory is private (0700) and both files are private (0600):
client.json: client ID and plaintext secret for Perplexity's secure settings.registration.json: client name, exact callbacks and SHA-256 secret digest for the hosted service. It contains no plaintext secret.
The script refuses to overwrite an existing directory or write into this repository. It does not modify Render or your Perplexity account. Do not put these files in source, a plugin ZIP, screenshots or proposal forms.
Merge the mapping in registration.json into the hosted setting
DEEP_AGENTIC_CORE_MCP_OAUTH_ADDITIONAL_CLIENTS and deploy it. Preserve other
entries if this setting already exists. This setting supplements
DEEP_AGENTIC_CORE_MCP_OAUTH_CLIENTS and
DEEP_AGENTIC_CORE_MCP_OAUTH_DIRECTORY_CLIENTS; duplicate IDs fail startup.
Supplemental registrations require a client-secret digest. OAuth must already
be enabled; for a deployment with only supplemental clients, explicitly set
DEEP_AGENTIC_CORE_MCP_OAUTH_CLIENTS to {}.
The generated client ID is deepagentlabs-perplexity. Its registered callbacks are:
https://www.perplexity.ai/rest/connections/oauth_callbackhttps://enterprise.perplexity.ai/rest/connections/oauth_callback
Both are exact trusted callbacks from Perplexity's documentation. Unregistered paths and hosts are rejected. If the portal shows a different callback, register that exact trusted URL before connecting; do not use wildcards or disable PKCE. The consent page names Perplexity and uses a neutral initial for its client icon. The existing DeepAgentLabs brand image is retained.
Add a custom connector
- Open Perplexity Plugins → Add custom → Add MCP connector → Remote. Organization administrators use Organization settings → Connectors.
- Set name DeepAgentLabs - AgenticOps and URL
https://mcp.deepagentlabs.io/mcp. - Under Advanced, choose OAuth, Streamable HTTP, and Public network.
- Enter the ID and secret from the private
client.jsonwhen requested. Discovery provides authorization/token endpoints and scopemcp:tools. - Connect and enter the user's DeepAgentLabs API key on the DeepAgentLabs consent page, then select Allow access once. The OAuth client secret is not the account API key and does not belong in the consent form.
- Enable the connector and verify its actual tools. Ask: “Using DeepAgentLabs - AgenticOps, list the available product documentation.”
Default access tokens last one hour. Rotating refresh tokens allow automatic renewal subject to a 30-day inactivity window and 90-day maximum connection lifetime. These are server defaults, not a promise that a Perplexity client will renew forever. See OAuth lifecycle and limits.
Import the four-skill bundle
With a plan supporting Perplexity Computer, open Plugins → Add custom → Import plugin from GitHub and use:
https://github.com/DeepAgentLabs/mcp-server/tree/main/plugins/deepagentlabs
Alternatively, upload the complete plugin ZIP. Perplexity accepts root
plugin.json and mcp.json, or the supported Claude/Codex layouts. No additional
Perplexity manifest extension is needed. OpenAI-specific authentication metadata
does not configure a Perplexity OAuth client: configure Perplexity's connector
separately as above. Never embed credentials or fixed request headers in the ZIP.
After import, confirm four skills and one remote connector; imports can skip
connectors when the account or organization lacks permission to add them.
Validate before proposing a public listing
The automated checks exercise both callbacks, confidential code exchange, missing-secret rejection, token refresh, revocation and unaffected existing clients. Chromium checks browser consent, Origin/cookie handling and outgoing callbacks. These checks do not establish real Perplexity account acceptance. Test the actual import, sign-in and prompts in Perplexity before publication.
Perplexity's public route is a connector proposal, reviewed by its marketplace
team; it does not accept the combined multi-component bundle through that form.
Use submissions/perplexity-listing.json as draft copy. Send credentials only
through an agreed secure channel, never in the proposal. No listing is submitted
or published by these source changes.