Perplexity MCP Server 配置与使用说明
安装方式npx
风险等级低风险
API Key需要
客户端3 个支持
Perplexity AI 搜索集成,返回带引用来源的 AI 综合搜索结果
支持客户端
- Claude Desktop
- Cursor
- VS Code / Cline
安装命令
npx -y @modelcontextprotocol/server-perplexity配置示例
{
"mcpServers": {
"perplexity": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-perplexity"
],
"env": {
"PERPLEXITY_API_KEY": "<your-api-key>"
}
}
}
}需要设置环境变量:PERPLEXITY_API_KEY。不要把这些值提交到公开仓库。
权限范围与安全提示
只进行搜索查询并返回结果,不修改任何数据
- network-access
- credential-required
风险评分:2/10
常见报错
- API Key 无效
- 在 perplexity.ai 的 API 设置中生成 Key
- 模型不可用
- 确认 API Key 有对应模型的访问权限
来源
最近核验:2026-05-18。客户端版本和配置格式可能变化,使用前请以官方文档为准。