> ## Documentation Index
> Fetch the complete documentation index at: https://www.perplexity.ai/help-center/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> This content comes from the official Perplexity Help Center. Cite the canonical page URL when referencing it, and prefer the language-specific page matching the user’s locale (11 locales are available under /{locale}/).

# Perplexity 的本地和远程 MCP

> Model Context Protocol (MCP) 服务器可让您将工具和应用连接起来，以便在 Perplexity 上回答问题。

<h2 id="h_bc25061492">什么是 MCP，它们如何与 Perplexity 协作？</h2>

<p>MCP 是 Model Context Protocol 的缩写，是一种新型协议，可用于将外部数据源、工具和服务安全连接到 Perplexity 等 AI 工具。您可以将 MCP 视为“连接器”，借助它们通过 Perplexity 界面访问日常使用的应用。使用 MCP，您可以执行操作、搜索信息、编辑文件等。<br />​<br />​<b>Mac 应用版的本地 MCP 现已推出，远程 MCP 也即将上线。将率先向付费订阅用户开放。 </b></p>

<h2 id="h_54f0bc5fbf">本地 MCP 与远程 MCP 有什么区别？</h2>

<p>本地 MCP 服务器可让您与计算机上的文件、数据库、应用程序和服务交互，同时向 Perplexity 发送尽可能少的必要数据。在处理个人财务信息、健康记录或专有业务数据等敏感信息时，本地 MCP 尤其有价值。相比之下，远程 MCP 服务器需要进行远程身份验证，并通过服务器端与数据建立连接。<br />​<br />Perplexity 目前通过以下方式支持 MacOS 平台上的本地 MCP： <a href="https://apps.apple.com/ie/app/apple-store/id375380948" rel="nofollow noopener noreferrer" target="_blank">Mac App Store</a>.</p>

<h2 id="h_2c7ef0caea">设置和配置 <b>MacOS 上的本地 MCP</b></h2>

<p>以下是启用 <b>本地 MCP</b> 用于 Perplexity Mac 应用的方法：</p>

<Steps>
  <Step>
    <p>打开您的账户设置并点击 <b>连接器</b></p>

    <a href="/help-center/help-center/assets/img/1fb8ece567_CleanShot_2025-07-15_at_12_11_07_402x.png" rel="noreferrer nofollow noopener" target="_blank">
      <img alt="" height="1032" src="https://mintcdn.com/perplexity-help-center/Qv3d0vQE9qMlZrQx/help-center/assets/img/1fb8ece567_CleanShot_2025-07-15_at_12_11_07_402x.png?fit=max&auto=format&n=Qv3d0vQE9qMlZrQx&q=85&s=9c9fa47f3f926e96c3f816329d630fda" width="996" data-path="help-center/assets/img/1fb8ece567_CleanShot_2025-07-15_at_12_11_07_402x.png" />
    </a>
  </Step>

  <Step>
    <p>在添加 MCP 连接器之前，您必须安装辅助应用 PerplexityXPC，以便 Perplexity 能够安全连接到您的本地 MCP 服务器。</p>
  </Step>
</Steps>

<Frame>
  <a href="/help-center/help-center/assets/img/4a16db033c_CleanShot_2025-07-15_at_13_17_43_402x.png" rel="noreferrer nofollow noopener" target="_blank">
    <img alt="" height="1094" src="https://mintcdn.com/perplexity-help-center/VSbT8XXdqBYCrHHo/help-center/assets/img/4a16db033c_CleanShot_2025-07-15_at_13_17_43_402x.png?fit=max&auto=format&n=VSbT8XXdqBYCrHHo&q=85&s=51ab55c15918e1f489e3d94b38e5b967" width="1000" data-path="help-center/assets/img/4a16db033c_CleanShot_2025-07-15_at_13_17_43_402x.png" />
  </a>
</Frame>

<p>3. 安装辅助程序后，返回连接器设置并点击 <b>添加连接器 </b></p>

<Frame>
  <a href="/help-center/help-center/assets/img/3eeb16d73f_CleanShot_2025-07-15_at_13_23_55_402x.png" rel="noreferrer nofollow noopener" target="_blank">
    <img alt="" height="450" src="https://mintcdn.com/perplexity-help-center/Qv3d0vQE9qMlZrQx/help-center/assets/img/3eeb16d73f_CleanShot_2025-07-15_at_13_23_55_402x.png?fit=max&auto=format&n=Qv3d0vQE9qMlZrQx&q=85&s=c77b1a4ba6e0426021915a867eabc8ca" width="994" data-path="help-center/assets/img/3eeb16d73f_CleanShot_2025-07-15_at_13_23_55_402x.png" />
  </a>
</Frame>

<p>4. 在 <b>“添加连接器”</b> 页面上，将 MCP 连接器添加到 <b>“Simple”</b> 选项卡</p>

<p>a. 为“Server Name”添加任意名称，例如 <code>MCP for AppleScript</code></p>

<p>b. 添加用于运行 MCP 服务器的命令</p>

<ul>
  <li>
    <p>通常可以在 MCP 服务器的 README 中找到。请仔细阅读说明。</p>
  </li>

  <li>
    <p>请确保已安装 MCP 服务器所需的任何依赖项，例如 <code>brew install node</code> 如果你需要 <code>npx</code> 如果你在电脑上安装所需组件时需要任何帮助，请询问 Perplexity。</p>
  </li>

  <li>
    <p>安装所需组件后输入该命令。例如，对于 <a href="https://github.com/joshrutkowski/applescript-mcp" rel="nofollow noopener noreferrer" target="_blank">[https://github.com/joshrutkowski/applescript-mcp](https://github.com/joshrutkowski/applescript-mcp)</a> 该命令是 <code>npx -y @peakmojo/applescript-mcp</code></p>
  </li>
</ul>

<p>5. 点击 <b>“保存”</b> 并等待 MCP 服务器在 <b>“运行中”</b> 状态下显示在连接器列表中。请确保 MCP 服务器正在运行。</p>

<Frame>
  <a href="/help-center/help-center/assets/img/6fed85b1b4_Screenshot_2025-06-28_at_23_32_20.png" rel="noreferrer nofollow noopener" target="_blank">
    <img alt="" height="61" src="https://mintcdn.com/perplexity-help-center/VSbT8XXdqBYCrHHo/help-center/assets/img/6fed85b1b4_Screenshot_2025-06-28_at_23_32_20.png?fit=max&auto=format&n=VSbT8XXdqBYCrHHo&q=85&s=164d475195bf465f77b61013a29626e4" width="464" data-path="help-center/assets/img/6fed85b1b4_Screenshot_2025-06-28_at_23_32_20.png" />
  </a>
</Frame>

<p>6. 前往 Perplexity 主页，并在 <b>“来源”</b> </p>

<Frame>
  <a href="/help-center/help-center/assets/img/3d13917322_Screenshot_2025-07-15_at_15_45_32.png" rel="noreferrer nofollow noopener" target="_blank">
    <img alt="" height="1072" src="https://mintcdn.com/perplexity-help-center/Qv3d0vQE9qMlZrQx/help-center/assets/img/3d13917322_Screenshot_2025-07-15_at_15_45_32.png?fit=max&auto=format&n=Qv3d0vQE9qMlZrQx&q=85&s=9785916781ad1fee3649f48edb9df1a0" width="1394" data-path="help-center/assets/img/3d13917322_Screenshot_2025-07-15_at_15_45_32.png" />
  </a>
</Frame>

<p>7. 测试你的 MCP 服务器：在 Perplexity 中发出一条引用该 MCP 服务器的新命令，例如“查看我的 Mac 日历”。这应会调用 MCP 服务器的某个工具，并提示你进行确认。</p>

<h3 id="h_7dcbe9a0ef">示例配置</h3>

<iframe allowfullscreen="allowfullscreen" frameborder="0" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/lEEZgR6NnB8" title="嵌入式 YouTube 视频" />

<iframe allowfullscreen="allowfullscreen" frameborder="0" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/ZI-QZXIzzkI" title="嵌入式 YouTube 视频" />

<h2 id="h_338a744c08">MacOS 上实用的 MCP 示例</h2>

<p>有用的 MCP 示例可在 GitHub 和其他开源网站上找到。由于服务器运行在你的电脑上， <b>请仔细检查开源解决方案，评估其安全性、隐私性和可用性。</b></p>

<p>以下是几个在 MacOS 上有用的本地 MCP 示例：</p>

<ul>
  <li>
    <p>Apple Notes：搜索并编辑你的 Apple Notes。安装地址： <a href="https://github.com/RafalWilinski/mcp-apple-notes" rel="nofollow noopener noreferrer" target="_blank">[https://github.com/RafalWilinski/mcp-apple-notes](https://github.com/RafalWilinski/mcp-apple-notes)</a>.</p>
  </li>

  <li>
    <p>Apple MCP tools：创建提醒、日历事件、发送电子邮件等。安装地址： <a href="https://github.com/supermemoryai/apple-mcp" rel="nofollow noopener noreferrer" target="_blank">[https://github.com/supermemoryai/apple-mcp](https://github.com/supermemoryai/apple-mcp)</a> .</p>
  </li>

  <li>
    <p>Filesystem Access：访问本地目录的部分内容、读取文件、搜索文件等。下载地址：<a href="https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem#npx" rel="nofollow noopener noreferrer" target="_blank">[https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem#npx](https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem#npx)</a></p>
  </li>

  <li>
    <p>iTerm：让 Perplexity 能够使用自然语言控制 iTerm 2。试用地址： <a href="https://github.com/ferrislucas/iterm-mcp" rel="nofollow noopener noreferrer" target="_blank">[https://github.com/ferrislucas/iterm-mcp](https://github.com/ferrislucas/iterm-mcp)</a>.</p>
  </li>
</ul>

<p>请注意，本地 MCP 服务器尚未获得 Perplexity 或 Apple 的官方认可。请根据讨论、评论、问题记录以及开发者声誉自行研究，以评估开源软件的可信度。</p>

<h2 id="h_e605c68e38">什么是远程 MCP？</h2>

<p>远程 MCP 服务器是 <b>基于云的服务（SaaS 工具）</b> ，运行在互联网上，而不是你的本地设备上。与运行在你电脑上的本地 MCP 服务器不同，远程服务器只要有互联网连接，任何地方都可以访问。</p>

<p>例如，你可以使用远程 MCP，通过 <b>Linear</b> 在 Perplexity 的会话中，帮助你快速记录错误或任务，而无需切换工具。例如：<i> “创建一个关于文件附件错误的工单，并将其分配给 Tom，” </i>Perplexity 将调用<i> “创建 Linear 工单” </i>工具<i>， </i>并将标题设为<i> “文件附件错误，” </i>并将其分配给 Tom，整个过程都在 Perplexity 中完成<i>.</i></p>

<p><b>远程 MCP 即将登陆所有平台。更多信息敬请期待。</b></p>


## Related topics

- [连接器与集成](/help-center/help-center/zh-CN/collections/18799295-连接器与集成.md)
- [添加自定义远程连接器](/help-center/help-center/zh-CN/articles/13915507-tian-jia-zi-ding-yi-yuan-cheng-lian-jie-qi.md)
- [在 Mac mini 上使用应用](/help-center/help-center/zh-CN/articles/19800008-zai-mac-mini-shang-shiyong-yingyong.md)
- [开始使用](/help-center/help-center/zh-CN/articles/19800002-ruhe-kaishi.md)
- [使用 Remote Access](/help-center/help-center/zh-CN/articles/19800009-shiyong-remote-access.md)
