MCP - Perplexity

· Source: perplexity.ai via Google News · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering, Robotics & Autonomous Systems · Depth: Intermediate, medium

Summary

Perplexity's Agent API now supports the Model Context Protocol (MCP), enabling models to interact with external services via remote MCP servers. This "mcp" tool allows models, such as "openai/gpt-5.5", to discover and invoke server-defined tools, extending their capabilities beyond built-in functions. For instance, it can connect to the public DeepWiki MCP server to query GitHub repository details or to a GitHub MCP Server for issue searches, requiring an OAuth access token for authentication. The integration involves specifying "type: \"mcp\"", "server_label", and "server_url", with optional "authorization" and "allowed_tools" for security. Responses include "mcp_list_tools" for discovered functions and "mcp_call" for invoked tools. While MCP tool calls are free, model token usage is billed. Users should be aware of risks associated with third-party servers and the current lack of approval steps for tool calls.

Key takeaway

For AI Engineers building applications that require external data or actions, Perplexity's MCP integration offers a direct way to extend model capabilities. You should evaluate trusted remote MCP servers to augment your models with specific tools, like querying GitHub or custom internal services. Always configure "allowed_tools" and use read-only tokens where possible, as all MCP tool calls currently auto-run without explicit approval, posing a security consideration.

Key insights

Perplexity's Agent API integrates remote MCP servers, expanding model capabilities with external, discoverable tools.

Principles

Method

To connect an MCP server, instantiate Perplexity() client, then call client.responses.create() with model and input. In the tools array, specify type: "mcp", server_label, server_url, and optionally authorization and allowed_tools.

In practice

Topics

Code references

Best for: AI Engineer, Machine Learning Engineer, Software Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by perplexity.ai via Google News.