跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Perplexity API,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
让你的 AI 使用你自己的 API 密钥调用 Perplexity:基于实时网络搜索并附带来源的回答、原始排序搜索结果、Sonar 模型,以及在后台运行、耗时更长的深度研究。
试试这样问
Perplexity API 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Perplexity API、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
Perplexity API + Meta Muse
让你的 AI 使用你自己的 API 密钥调用 Perplexity:基于实时网络搜索并附带来源的回答、原始排序搜索结果、Sonar 模型,以及在后台运行、耗时更长的深度研究。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
PERPLEXITY_API_KEY
步骤 1 — 获取凭证
- 登录
https://console.perplexity.ai,在 Billing 中购买额度。API 采用预付费,与 Perplexity Pro 订阅相互独立,Pro 订阅不包含 API 使用。开启自动充值可避免中断。 - 打开 API Keys,创建一个密钥并复制(以
pplx-开头)。 - 按 Perplexity 显示的原样将其粘贴到
PERPLEXITY_API_KEY,不要加 Bearer 一词,然后安装连接器。密钥只会发送给 Perplexity。 - 先运行
perplexity_list_models:它不收费,并能确认密钥可用。
计费使用你自己的 Perplexity 额度:每次调用都从你预付的 API 额度中扣费,列出模型以及读取或取消研究任务除外。每个回答都会以美元显示其费用;除非你要求更多,连接器默认使用低成本设置。
各工具的用途:
perplexity_ask回答需要最新信息的问题,并附带编号来源。预设fast(默认)适合单个事实和简短摘要;low会加入轻量的多步研究。perplexity_search返回带标题、链接和摘要片段的排序网页结果,但不生成书面回答。当 AI 能自行阅读来源时,这是最便宜的选择:使用 fast 搜索类型每 1,000 次约 1 美元,使用 web 约 5 美元。perplexity_sonar使用 Sonar 模型(sonar、sonar-pro和sonar-reasoning-pro)。Perplexity 已于 2026 年 9 月 27 日停止支持 Sonar chat completions:请求仍会得到回答,并被转到较新的 API 上,但新的工作更适合使用perplexity_ask。perplexity_start_research在后台运行深度研究,可选预设medium、high或xhigh。一次运行可能需要几分钟,费用明显高于快速回答,因此 AI 会在启动high或xhigh前先征求你的确认,并取消你不再需要的运行。
筛选:可将来源限制为最多 20 个域名(全部包含,或在前面加减号全部排除,例如 -reddit.com,不能混用),限制为最近的时间段(小时、天、周、月或年),或限制为按 MM/DD/YYYY 格式书写的日期。
时间限制:通过连接器的调用会在 30 秒后停止。快速回答完全来得及;更长的任务会通过后台研究运行完成。
不可信内容:回答来自开放网络。AI 会把其中出现的指令当作数据,而不是命令。
常见错误:401 表示密钥错误或已删除,或账户额度已用完(Perplexity 对这两种情况都返回 401),请在控制台中检查 Billing 和 API Keys。429:你所在使用等级的速率限制,该限制会随累计购买额度提高。400 或 422:参数无效,例如未知模型,或混用了包含和排除的域名。
该连接器不支持流式输出回答、创建嵌入向量、上传文件或读取 Perplexity 的分析数据。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 Muse 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Muse 以自定义连接器的形式添加远程 MCP 服务器,并通过 OAuth 登录。
- 在 Muse 中打开 Settings → Connectors,选择 Add custom connector。
- 粘贴 MCP 服务器 URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。 - Muse 会打开 AnythingMCP 的登录页面:登录并批准访问。
- 在聊天中,向 Muse 提出需要用到
Perplexity API的工具的请求。
你也可以在聊天中完成设置,适用于网页版、iOS 和 Android 应用以及 WhatsApp。给 Muse 发送这条消息:
Create a Custom Connector for a new remote MCP server, then connect to it:
Name: AnythingMCP
Transport: remote streamable HTTP
URL: https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID
Auth: OAuth
自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Muse 从 Meta 的云端连接,因此 localhost 无法使用。
可用工具
| Tool | What it does |
|---|---|
perplexity_ask | Ask Perplexity a question and get an answer grounded in live web search, with its sources (Agent API) |
perplexity_search | Search the web with Perplexity's Search API and get ranked results with title, URL, date and a content snippet, without a written answer |
perplexity_sonar | Ask a Perplexity Sonar model (chat completions) and get an answer with citations and the search results it used |
perplexity_start_research | Start a long Perplexity research run in the background (Agent API background mode) and get its id at once |
perplexity_get_response | Get a Perplexity Agent API run by id, for example a research run from perplexity_start_research |
perplexity_cancel_response | Cancel a Perplexity background run that is still queued or in progress, so it stops using credits |
perplexity_list_models | List the model ids the Perplexity Agent API accepts in the model parameter of perplexity_ask, in provider/model form (for example… |
示例提示
- “今年欧盟电池法规有哪些变化?请附上来源回答。”
- “查找关于远程办公效率的最新文章,只给我链接和摘要片段。”
- “只使用 europa.eu 的来源,告诉我商务出行人员目前适用的漫游规则。”
- “启动一项关于欧洲翻新笔记本电脑市场的深度研究,但先和我确认预设。”
FAQ
Muse 在哪些地区可用? Meta 目前在美国和加拿大提供 Muse,可在网页版、iOS 和 Android 应用以及 WhatsApp 中使用。
Meta 会审核这个连接器吗? 不会。Meta 不审核自定义连接器。Muse 只能看到你在 AnythingMCP 中为此 MCP 服务器启用的工具,你也可以随时在 Settings → Connectors 中断开它。
下一步
这份指南对你有帮助吗?