原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Therapyportal MCP

作者:chrischall版本 0.5.0i★ 0i在你的电脑上运行代码仓库 ↗
注册名称io.github.chrischall/therapyportal-mcp

安装方法

What it does

TherapyNotes client portal: appointments, documents, billing, messages; confirm-gated sends, uploads

  • Connects 在你的电脑上运行
  • Account or key Needs THERAPYPORTAL_PASSWORD, THERAPYPORTAL_DOB · 1 setting to fill in (THERAPYPORTAL_PRACTICE)
  • Category 文档、表格与办公

可搭配使用

教 AI 做这类工作的 Skill,可与本项一起使用

MinerU

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

作者:opendatalab★ 83,9721 个 skill

Skill · 操作手册未注明许可证

watermarks-remover

A privacy-first app that strips AI watermarks from content you own.

作者:guillaumemeyer★ 27,7961 个 skill

Skill · 操作手册

obsidian-skills

Agent skills for Obsidian. Teach your agent to use Obsidian CLI and open formats including Markdown, Bases, JSON Canvas.

作者:kepano★ 53,183 (whole repo)5 个 skill

Skill · 操作手册

为什么排在这里

列表按使用分(满分 100)排序,由以下部分组成

热度22/80GitHub 星标或每周下载量:较大的计 60,较小的计 20
新鲜度12/1230 天内有发布或代码更新得满分
仍在响应0/8上次检查时云端端点有响应
使用分34/100

质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)

安装

选择你使用的 AI 应用,然后复制设置。

用一句话让 AI 帮你安装

请帮我安装 Therapyportal MCP。按照 https://mcp.popnx.com/i/chrischall-therapyportal-mcp.md 操作,先把命令给我看,等我同意后再运行。

粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文

通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要 Therapyportal MCP 的密钥(在开发者网站创建) · 需要填写 1 项设置(THERAPYPORTAL_PRACTICE) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

让 AI 帮你安装

把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude 安装 MCP server Therapyportal MCP,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "therapyportal": { "command": "npx", "args": [ "-y", "@chrischall/therapyportal-mcp" ], "env": { "THERAPYPORTAL_PRACTICE": "your-value", "THERAPYPORTAL_PASSWORD": "your-value", "THERAPYPORTAL_DOB": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) THERAPYPORTAL_PASSWORD, THERAPYPORTAL_DOB, THERAPYPORTAL_PRACTICE 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Therapyportal MCP 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 Therapyportal MCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 填写 1 项设置

    这些是程序设置,不是密钥,无需注册。按开发者的说明填写。

    • THERAPYPORTAL_PRACTICE 您诊所在门户中的代码:TherapyPortal 网址中 /p/ 之后的部分 (www.therapyportal.com/p/ /)
      查看英文原文Your practice's portal code: the part after /p/ in its TherapyPortal URL (www.therapyportal.com/p/ /).

    说明为自动翻译,变量名保持原样;不确定时请查看原文。

  4. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  5. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "therapyportal": {
          "command": "npx",
          "args": [
            "-y",
            "@chrischall/therapyportal-mcp"
          ],
          "env": {
            "THERAPYPORTAL_PRACTICE": "your-value",
            "THERAPYPORTAL_PASSWORD": "your-value",
            "THERAPYPORTAL_DOB": "your-value"
          }
        }
      }
    }

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  6. 退出 Claude 再重新打开

  7. 试一试

    用 Therapyportal MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Therapyportal MCP,或回答中出现 Therapyportal MCP 的工具名称,就表示连接成功

10 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • THERAPYPORTAL_EMAIL The email you sign in to TherapyPortal with. Set with the password to sign in server-side; leave both empty to relay through your signed-in browser tab.
  • THERAPYPORTAL_TRANSPORT server 或 fetchproxy。默认值:当邮箱和密码均已设置时为 server,否则为 fetchproxy。
    查看英文原文server or fetchproxy. Default: server when email and password are both set, otherwise fetchproxy.
  • THERAPYPORTAL_WS_PORT fetchproxy 集中器端口(仅适用于 fetchproxy 传输,默认 37149)。整个集群共用此端口,仅在自行托管时覆盖
    查看英文原文fetchproxy concentrator port (fetchproxy transport only, default 37149). The whole fleet shares this one port; override only when hosting.
  • THERAPYPORTAL_OUTPUT_DIR 服务器传输方式下下载文件的保存位置(以路径分隔符分隔的列表; 会被展开)。默认为 /Downloads 和 /Documents。每次调用的 dest 必须解析到其中某个目录之内
    查看英文原文Where downloaded files are written on the server transport (a path-delimiter list; ~ expands). Default ~/Downloads and ~/Documents. A per-call dest must resolve inside one of these.
  • THERAPYPORTAL_INLINE_DOWNLOADS 设为 true 时,下载的字节将以内联方式(base64)返回,而不是写入磁盘,适用于无法访问其磁盘的托管 runner。默认为 false。
    查看英文原文true returns downloaded bytes inline (base64) instead of writing to disk, for a hosted runner whose disk you cannot reach. Default false.
  • THERAPYPORTAL_UPLOAD_DIR 上传的 file_path 必须位于其中的文件夹(以路径分隔符分隔的列表; 会被展开)。默认 /Downloads、/Documents 和 /Desktop。仅适用于本地安装;托管服务器会拒绝 file_path 并接受上传…
    查看英文原文Folders an upload's file_path must be inside (a path-delimiter list; ~ expands). Default ~/Downloads, ~/Documents and ~/Desktop. Local installs only: a hosted server refuses file_path and takes uploa…
  • MCP_CONFIRM_MODE Confirm-gate mode for every write (secure messages, document uploads). ask-user (default) returns a preview + confirmToken and needs a second call with that token; auto lets a capable host confirm in…
  • MCP_CONFIRM_ELICITATION on(默认)允许宿主以交互方式确认写入操作;off 则强制使用 confirmToken 往返流程。
    查看英文原文on (default) lets the host confirm a write interactively; off forces the confirmToken round-trip.
  • FETCHPROXY_WS_HOST Bind interface for the fetchproxy concentrator, a literal IP only (default 127.0.0.1). Keep on loopback; it exists for hosted deployments that run each MCP in its own network namespace.
  • FETCHPROXY_IDENTITY_DIR 存储 fetchproxy 长期身份密钥对的绝对路径(默认 /.fetchproxy/identity/)
    查看英文原文Absolute path where the fetchproxy long-term identity keypair is stored (default ~/.fetchproxy/identity/).

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 Therapyportal MCP

Therapyportal MCP 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 Therapyportal MCP 的应用

  • 需要 Therapyportal MCP 的密钥(在开发者网站创建) · 需要填写 1 项设置(THERAPYPORTAL_PRACTICE) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要 Therapyportal MCP 的密钥(在开发者网站创建) · 需要填写 1 项设置(THERAPYPORTAL_PRACTICE) · 需要先在电脑上安装 Node.js(只需一次)
  • 需要 Therapyportal MCP 的密钥(在开发者网站创建) · 需要填写 1 项设置(THERAPYPORTAL_PRACTICE) · 需要先在电脑上安装 Node.js(只需一次)
  • 需要 Therapyportal MCP 的密钥(在开发者网站创建) · 需要填写 1 项设置(THERAPYPORTAL_PRACTICE) · 需要先在电脑上安装 Node.js(只需一次)

B · 文档、表格与办公 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要 Therapyportal MCP 的密钥(在开发者网站创建) · 需要填写 1 项设置(THERAPYPORTAL_PRACTICE) · 需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude Code 安装 MCP server Therapyportal MCP,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user therapyportal --env THERAPYPORTAL_PRACTICE=your-value --env THERAPYPORTAL_PASSWORD=your-value --env THERAPYPORTAL_DOB=your-value -- npx -y @chrischall/therapyportal-mcp 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) THERAPYPORTAL_PASSWORD, THERAPYPORTAL_DOB, THERAPYPORTAL_PRACTICE 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Therapyportal MCP 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 Therapyportal MCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 填写 1 项设置

    这些是程序设置,不是密钥,无需注册。按开发者的说明填写。

    • THERAPYPORTAL_PRACTICE 您诊所在门户中的代码:TherapyPortal 网址中 /p/ 之后的部分 (www.therapyportal.com/p/ /)
      查看英文原文Your practice's portal code: the part after /p/ in its TherapyPortal URL (www.therapyportal.com/p/ /).

    说明为自动翻译,变量名保持原样;不确定时请查看原文。

  4. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  5. 粘贴这条命令并按 Enter

    claude mcp add --scope user therapyportal --env THERAPYPORTAL_PRACTICE=your-value --env THERAPYPORTAL_PASSWORD=your-value --env THERAPYPORTAL_DOB=your-value -- npx -y @chrischall/therapyportal-mcp

    按 Enter 前,把“your-value”改成你的密钥

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  6. 在 Claude Code 中输入 /mcp

    应能看到 Therapyportal MCP 在列表中并显示已连接

  7. 试一试

    用 Therapyportal MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Therapyportal MCP,或回答中出现 Therapyportal MCP 的工具名称,就表示连接成功

10 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • THERAPYPORTAL_EMAIL The email you sign in to TherapyPortal with. Set with the password to sign in server-side; leave both empty to relay through your signed-in browser tab.
  • THERAPYPORTAL_TRANSPORT server 或 fetchproxy。默认值:当邮箱和密码均已设置时为 server,否则为 fetchproxy。
    查看英文原文server or fetchproxy. Default: server when email and password are both set, otherwise fetchproxy.
  • THERAPYPORTAL_WS_PORT fetchproxy 集中器端口(仅适用于 fetchproxy 传输,默认 37149)。整个集群共用此端口,仅在自行托管时覆盖
    查看英文原文fetchproxy concentrator port (fetchproxy transport only, default 37149). The whole fleet shares this one port; override only when hosting.
  • THERAPYPORTAL_OUTPUT_DIR 服务器传输方式下下载文件的保存位置(以路径分隔符分隔的列表; 会被展开)。默认为 /Downloads 和 /Documents。每次调用的 dest 必须解析到其中某个目录之内
    查看英文原文Where downloaded files are written on the server transport (a path-delimiter list; ~ expands). Default ~/Downloads and ~/Documents. A per-call dest must resolve inside one of these.
  • THERAPYPORTAL_INLINE_DOWNLOADS 设为 true 时,下载的字节将以内联方式(base64)返回,而不是写入磁盘,适用于无法访问其磁盘的托管 runner。默认为 false。
    查看英文原文true returns downloaded bytes inline (base64) instead of writing to disk, for a hosted runner whose disk you cannot reach. Default false.
  • THERAPYPORTAL_UPLOAD_DIR 上传的 file_path 必须位于其中的文件夹(以路径分隔符分隔的列表; 会被展开)。默认 /Downloads、/Documents 和 /Desktop。仅适用于本地安装;托管服务器会拒绝 file_path 并接受上传…
    查看英文原文Folders an upload's file_path must be inside (a path-delimiter list; ~ expands). Default ~/Downloads, ~/Documents and ~/Desktop. Local installs only: a hosted server refuses file_path and takes uploa…
  • MCP_CONFIRM_MODE Confirm-gate mode for every write (secure messages, document uploads). ask-user (default) returns a preview + confirmToken and needs a second call with that token; auto lets a capable host confirm in…
  • MCP_CONFIRM_ELICITATION on(默认)允许宿主以交互方式确认写入操作;off 则强制使用 confirmToken 往返流程。
    查看英文原文on (default) lets the host confirm a write interactively; off forces the confirmToken round-trip.
  • FETCHPROXY_WS_HOST Bind interface for the fetchproxy concentrator, a literal IP only (default 127.0.0.1). Keep on loopback; it exists for hosted deployments that run each MCP in its own network namespace.
  • FETCHPROXY_IDENTITY_DIR 存储 fetchproxy 长期身份密钥对的绝对路径(默认 /.fetchproxy/identity/)
    查看英文原文Absolute path where the fetchproxy long-term identity keypair is stored (default ~/.fetchproxy/identity/).

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要 Therapyportal MCP 的密钥(在开发者网站创建) · 需要填写 1 项设置(THERAPYPORTAL_PRACTICE) · 需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Cursor 安装 MCP server Therapyportal MCP,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "therapyportal": { "command": "npx", "args": [ "-y", "@chrischall/therapyportal-mcp" ], "env": { "THERAPYPORTAL_PRACTICE": "your-value", "THERAPYPORTAL_PASSWORD": "your-value", "THERAPYPORTAL_DOB": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) THERAPYPORTAL_PASSWORD, THERAPYPORTAL_DOB, THERAPYPORTAL_PRACTICE 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Therapyportal MCP 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 Therapyportal MCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 填写 1 项设置

    这些是程序设置,不是密钥,无需注册。按开发者的说明填写。

    • THERAPYPORTAL_PRACTICE 您诊所在门户中的代码:TherapyPortal 网址中 /p/ 之后的部分 (www.therapyportal.com/p/ /)
      查看英文原文Your practice's portal code: the part after /p/ in its TherapyPortal URL (www.therapyportal.com/p/ /).

    说明为自动翻译,变量名保持原样;不确定时请查看原文。

  4. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  5. 填写你的密钥

    在 Therapyportal MCP 的设置中,THERAPYPORTAL_PASSWORD, THERAPYPORTAL_DOB, THERAPYPORTAL_PRACTICE 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  6. 在 Cursor 中以 Agent 模式打开 AI 聊天

  7. 试一试

    用 Therapyportal MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Therapyportal MCP,或回答中出现 Therapyportal MCP 的工具名称,就表示连接成功

10 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • THERAPYPORTAL_EMAIL The email you sign in to TherapyPortal with. Set with the password to sign in server-side; leave both empty to relay through your signed-in browser tab.
  • THERAPYPORTAL_TRANSPORT server 或 fetchproxy。默认值:当邮箱和密码均已设置时为 server,否则为 fetchproxy。
    查看英文原文server or fetchproxy. Default: server when email and password are both set, otherwise fetchproxy.
  • THERAPYPORTAL_WS_PORT fetchproxy 集中器端口(仅适用于 fetchproxy 传输,默认 37149)。整个集群共用此端口,仅在自行托管时覆盖
    查看英文原文fetchproxy concentrator port (fetchproxy transport only, default 37149). The whole fleet shares this one port; override only when hosting.
  • THERAPYPORTAL_OUTPUT_DIR 服务器传输方式下下载文件的保存位置(以路径分隔符分隔的列表; 会被展开)。默认为 /Downloads 和 /Documents。每次调用的 dest 必须解析到其中某个目录之内
    查看英文原文Where downloaded files are written on the server transport (a path-delimiter list; ~ expands). Default ~/Downloads and ~/Documents. A per-call dest must resolve inside one of these.
  • THERAPYPORTAL_INLINE_DOWNLOADS 设为 true 时,下载的字节将以内联方式(base64)返回,而不是写入磁盘,适用于无法访问其磁盘的托管 runner。默认为 false。
    查看英文原文true returns downloaded bytes inline (base64) instead of writing to disk, for a hosted runner whose disk you cannot reach. Default false.
  • THERAPYPORTAL_UPLOAD_DIR 上传的 file_path 必须位于其中的文件夹(以路径分隔符分隔的列表; 会被展开)。默认 /Downloads、/Documents 和 /Desktop。仅适用于本地安装;托管服务器会拒绝 file_path 并接受上传…
    查看英文原文Folders an upload's file_path must be inside (a path-delimiter list; ~ expands). Default ~/Downloads, ~/Documents and ~/Desktop. Local installs only: a hosted server refuses file_path and takes uploa…
  • MCP_CONFIRM_MODE Confirm-gate mode for every write (secure messages, document uploads). ask-user (default) returns a preview + confirmToken and needs a second call with that token; auto lets a capable host confirm in…
  • MCP_CONFIRM_ELICITATION on(默认)允许宿主以交互方式确认写入操作;off 则强制使用 confirmToken 往返流程。
    查看英文原文on (default) lets the host confirm a write interactively; off forces the confirmToken round-trip.
  • FETCHPROXY_WS_HOST Bind interface for the fetchproxy concentrator, a literal IP only (default 127.0.0.1). Keep on loopback; it exists for hosted deployments that run each MCP in its own network namespace.
  • FETCHPROXY_IDENTITY_DIR 存储 fetchproxy 长期身份密钥对的绝对路径(默认 /.fetchproxy/identity/)
    查看英文原文Absolute path where the fetchproxy long-term identity keypair is stored (default ~/.fetchproxy/identity/).

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要 Therapyportal MCP 的密钥(在开发者网站创建) · 需要填写 1 项设置(THERAPYPORTAL_PRACTICE) · 需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 VS Code 安装 MCP server Therapyportal MCP,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "therapyportal": { "type": "stdio", "command": "npx", "args": [ "-y", "@chrischall/therapyportal-mcp" ], "env": { "THERAPYPORTAL_PRACTICE": "your-value", "THERAPYPORTAL_PASSWORD": "your-value", "THERAPYPORTAL_DOB": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) THERAPYPORTAL_PASSWORD, THERAPYPORTAL_DOB, THERAPYPORTAL_PRACTICE 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Therapyportal MCP 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 Therapyportal MCP 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 填写 1 项设置

    这些是程序设置,不是密钥,无需注册。按开发者的说明填写。

    • THERAPYPORTAL_PRACTICE 您诊所在门户中的代码:TherapyPortal 网址中 /p/ 之后的部分 (www.therapyportal.com/p/ /)
      查看英文原文Your practice's portal code: the part after /p/ in its TherapyPortal URL (www.therapyportal.com/p/ /).

    说明为自动翻译,变量名保持原样;不确定时请查看原文。

  4. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  5. 填写你的密钥

    在 Therapyportal MCP 的设置中,THERAPYPORTAL_PASSWORD, THERAPYPORTAL_DOB, THERAPYPORTAL_PRACTICE 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  6. 在 VS Code 中以 Agent 模式打开 AI 聊天

  7. 试一试

    用 Therapyportal MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Therapyportal MCP,或回答中出现 Therapyportal MCP 的工具名称,就表示连接成功

10 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • THERAPYPORTAL_EMAIL The email you sign in to TherapyPortal with. Set with the password to sign in server-side; leave both empty to relay through your signed-in browser tab.
  • THERAPYPORTAL_TRANSPORT server 或 fetchproxy。默认值:当邮箱和密码均已设置时为 server,否则为 fetchproxy。
    查看英文原文server or fetchproxy. Default: server when email and password are both set, otherwise fetchproxy.
  • THERAPYPORTAL_WS_PORT fetchproxy 集中器端口(仅适用于 fetchproxy 传输,默认 37149)。整个集群共用此端口,仅在自行托管时覆盖
    查看英文原文fetchproxy concentrator port (fetchproxy transport only, default 37149). The whole fleet shares this one port; override only when hosting.
  • THERAPYPORTAL_OUTPUT_DIR 服务器传输方式下下载文件的保存位置(以路径分隔符分隔的列表; 会被展开)。默认为 /Downloads 和 /Documents。每次调用的 dest 必须解析到其中某个目录之内
    查看英文原文Where downloaded files are written on the server transport (a path-delimiter list; ~ expands). Default ~/Downloads and ~/Documents. A per-call dest must resolve inside one of these.
  • THERAPYPORTAL_INLINE_DOWNLOADS 设为 true 时,下载的字节将以内联方式(base64)返回,而不是写入磁盘,适用于无法访问其磁盘的托管 runner。默认为 false。
    查看英文原文true returns downloaded bytes inline (base64) instead of writing to disk, for a hosted runner whose disk you cannot reach. Default false.
  • THERAPYPORTAL_UPLOAD_DIR 上传的 file_path 必须位于其中的文件夹(以路径分隔符分隔的列表; 会被展开)。默认 /Downloads、/Documents 和 /Desktop。仅适用于本地安装;托管服务器会拒绝 file_path 并接受上传…
    查看英文原文Folders an upload's file_path must be inside (a path-delimiter list; ~ expands). Default ~/Downloads, ~/Documents and ~/Desktop. Local installs only: a hosted server refuses file_path and takes uploa…
  • MCP_CONFIRM_MODE Confirm-gate mode for every write (secure messages, document uploads). ask-user (default) returns a preview + confirmToken and needs a second call with that token; auto lets a capable host confirm in…
  • MCP_CONFIRM_ELICITATION on(默认)允许宿主以交互方式确认写入操作;off 则强制使用 confirmToken 往返流程。
    查看英文原文on (default) lets the host confirm a write interactively; off forces the confirmToken round-trip.
  • FETCHPROXY_WS_HOST Bind interface for the fetchproxy concentrator, a literal IP only (default 127.0.0.1). Keep on loopback; it exists for hosted deployments that run each MCP in its own network namespace.
  • FETCHPROXY_IDENTITY_DIR 存储 fetchproxy 长期身份密钥对的绝对路径(默认 /.fetchproxy/identity/)
    查看英文原文Absolute path where the fetchproxy long-term identity keypair is stored (default ~/.fetchproxy/identity/).

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Therapyportal MCP 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user therapyportal --env THERAPYPORTAL_PRACTICE=your-value --env THERAPYPORTAL_PASSWORD=your-value --env THERAPYPORTAL_DOB=your-value -- npx -y @chrischall/therapyportal-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "therapyportal": {
      "command": "npx",
      "args": [
        "-y",
        "@chrischall/therapyportal-mcp"
      ],
      "env": {
        "THERAPYPORTAL_PRACTICE": "your-value",
        "THERAPYPORTAL_PASSWORD": "your-value",
        "THERAPYPORTAL_DOB": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "therapyportal": {
      "command": "npx",
      "args": [
        "-y",
        "@chrischall/therapyportal-mcp"
      ],
      "env": {
        "THERAPYPORTAL_PRACTICE": "your-value",
        "THERAPYPORTAL_PASSWORD": "your-value",
        "THERAPYPORTAL_DOB": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "therapyportal": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@chrischall/therapyportal-mcp"
      ],
      "env": {
        "THERAPYPORTAL_PRACTICE": "your-value",
        "THERAPYPORTAL_PASSWORD": "your-value",
        "THERAPYPORTAL_DOB": "your-value"
      }
    }
  }
}

需要你填写的值

  • THERAPYPORTAL_PRACTICE 必填 env
    您诊所在门户中的代码:TherapyPortal 网址中 /p/ 之后的部分 (www.therapyportal.com/p/ /)
    查看英文原文Your practice's portal code: the part after /p/ in its TherapyPortal URL (www.therapyportal.com/p/ /).
  • THERAPYPORTAL_EMAIL env
    The email you sign in to TherapyPortal with. Set with the password to sign in server-side; leave both empty to relay through your signed-in browser tab.
  • THERAPYPORTAL_PASSWORD 机密 必填 env
    你的 TherapyPortal 密码。登录被拒绝后不会自动重试。
    查看英文原文Your TherapyPortal password. A rejected sign-in is never retried automatically.
  • THERAPYPORTAL_DOB 机密 必填 env
    Only if the portal asks for a date of birth at sign-in: that date, as MM/DD/YYYY. Tried once; never retried, because the portal limits attempts.
  • THERAPYPORTAL_TRANSPORT env
    server 或 fetchproxy。默认值:当邮箱和密码均已设置时为 server,否则为 fetchproxy。
    查看英文原文server or fetchproxy. Default: server when email and password are both set, otherwise fetchproxy.
  • THERAPYPORTAL_WS_PORT env
    fetchproxy 集中器端口(仅适用于 fetchproxy 传输,默认 37149)。整个集群共用此端口,仅在自行托管时覆盖
    查看英文原文fetchproxy concentrator port (fetchproxy transport only, default 37149). The whole fleet shares this one port; override only when hosting.
  • THERAPYPORTAL_OUTPUT_DIR env
    服务器传输方式下下载文件的保存位置(以路径分隔符分隔的列表; 会被展开)。默认为 /Downloads 和 /Documents。每次调用的 dest 必须解析到其中某个目录之内
    查看英文原文Where downloaded files are written on the server transport (a path-delimiter list; ~ expands). Default ~/Downloads and ~/Documents. A per-call dest must resolve inside one of these.
  • THERAPYPORTAL_INLINE_DOWNLOADS env
    设为 true 时,下载的字节将以内联方式(base64)返回,而不是写入磁盘,适用于无法访问其磁盘的托管 runner。默认为 false。
    查看英文原文true returns downloaded bytes inline (base64) instead of writing to disk, for a hosted runner whose disk you cannot reach. Default false.
  • THERAPYPORTAL_UPLOAD_DIR env
    上传的 file_path 必须位于其中的文件夹(以路径分隔符分隔的列表; 会被展开)。默认 /Downloads、/Documents 和 /Desktop。仅适用于本地安装;托管服务器会拒绝 file_path 并接受上传…
    查看英文原文Folders an upload's file_path must be inside (a path-delimiter list; ~ expands). Default ~/Downloads, ~/Documents and ~/Desktop. Local installs only: a hosted server refuses file_path and takes uploa…
  • MCP_CONFIRM_MODE env
    Confirm-gate mode for every write (secure messages, document uploads). ask-user (default) returns a preview + confirmToken and needs a second call with that token; auto lets a capable host confirm in…
  • MCP_CONFIRM_ELICITATION env
    on(默认)允许宿主以交互方式确认写入操作;off 则强制使用 confirmToken 往返流程。
    查看英文原文on (default) lets the host confirm a write interactively; off forces the confirmToken round-trip.
  • FETCHPROXY_WS_HOST env
    Bind interface for the fetchproxy concentrator, a literal IP only (default 127.0.0.1). Keep on loopback; it exists for hosted deployments that run each MCP in its own network namespace.
  • FETCHPROXY_IDENTITY_DIR env
    存储 fetchproxy 长期身份密钥对的绝对路径(默认 /.fetchproxy/identity/)
    查看英文原文Absolute path where the fetchproxy long-term identity keypair is stored (default ~/.fetchproxy/identity/).

说明为自动翻译,变量名保持原样;不确定时请查看原文。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
954/周
连接方式
在你的电脑上运行
最新版本i
0.5.0
发布到注册中心i
2026年11月12日
代码最后更新i
2026年11月12日
作者
chrischall
软件包
npm: @chrischall/therapyportal-mcp
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月19日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 chrischall 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于7天前

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

已公开的漏洞(OSV.dev)

OSV.dev 中没有 @chrischall/therapyportal-mcp@0.5.0 的记录

只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月15日

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/chrischall-therapyportal-mcp.svg)](https://mcp.popnx.com/en/servers/chrischall-therapyportal-mcp)

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“文档、表格与办公”中的其他服务器比较i

  • 星标数多于此分类中其他 4130 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 4130 个服务器的 81% 更新
  • 基础检查结果等于或优于此分类中其他 4130 个服务器的 99%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Therapyportal MCP 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:THERAPYPORTAL_PASSWORD, THERAPYPORTAL_DOB

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于7天前,最新版本(0.5.0)于7天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Puter MCP, XcodeBuildMCP, Vexa, Atlassian Rovo MCP Server, Anki MCP Server

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Puter MCP

Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more

作者:HeyPuter广泛使用★ 4.4万5个月前更新

在云端运行✓ 服务方 · puter.com

XcodeBuildMCP

XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.

作者:getsentry广泛使用↓ 13万/周 共用包的下载量★ 65884个月前更新

在你的电脑上运行✓ 服务方 · xcodebuildmcp.com

Vexa

Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.

作者:Vexa-ai广泛使用★ 29962个月前更新

在云端运行✓ 服务方 · vexa.ai

Anki MCP Server

MCP server for Anki flashcards: adaptive review, notes, media, and deck management via AnkiConnect.

作者:ankimcp正在增长↓ 1136/周★ 568上个月更新

在你的电脑上运行✓ 服务方 · ankimcp.ai
与相似项目对比
本项
Therapyportal MCP
Puter MCPXcodeBuildMCPVexaAtlassian Rovo MCP ServerAnki MCP Server
运行位置需要安装在电脑上在云端运行,无需安装需要安装在电脑上在云端运行,无需安装在云端运行,无需安装需要安装在电脑上
需要密钥是否否是否否
可在 Claude 中按 + 添加否否否否是否
基础检查3/34/43/32/44/43/3
许可证MITAGPL-3.0MITApache-2.0Apache-2.0MIT
价格登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

therapyportal-mcp

MCP server for TherapyPortal, the client portal of TherapyNotes (https://www.therapyportal.com/p/ /). It reads upcoming therapy appointments, paperwork the practice sent, the practice's standing forms, balances due, payment receipts and secure messages, and downloads completed documents and receipts as PDFs. It can also send secure messages and upload a file in answer to a document request, each behind a confirm gate.

This project was developed and is maintained by AI. Use at your own discretion.

It reads mental-health records, and only ever from the signed-in user's own account.

Not read-only

Most tools are reads. Three are writes, and each one reaches the practice and cannot be undone through this server:

ToolWhat it sendsLook up first with
therapyportal_send_messagea new secure-message conversation, for one client, under a topictherapyportal_list_message_topics
therapyportal_reply_messagea reply in an existing conversation (leaves read state alone unless mark_thread_read)therapyportal_list_message_threads
therapyportal_upload_documenta file (local path, inline base64, or an upload slot when hosted) in answer to a pending document request, or an upload-required always-available formtherapyportal_list_documents, therapyportal_list_forms

All three are annotated destructive and confirm-gated (see below). The server signs no form, fills in no form and makes no payment. Anything that needs a signature (PatientSignatureRequired) is refused, with a pointer to the portal. A download is logged by the practice, the same way the portal logs the click.

On the privacy side, therapyportal_list_clients returns names and date of birth only. The portal's client record also carries the address, phones, email, an SSN field, billing notes and free-text comments, and none of those are ever passed through, on any view.

Tools

ToolWhat it returns
therapyportal_list_clientsthe clients linked to this login (for a parent, each child), with the patientId other tools take
therapyportal_list_appointmentsupcoming appointments: time, clinician, telehealth or location, which client; pending requests; practice phone. The portal shows no past visits
therapyportal_list_documentspaperwork requests (pending / completed / all) and their documents, with portalDocumentId and whether each needs an upload or a signature
therapyportal_list_formsthe practice's always-available forms (sign or upload as needed), with libraryDocumentId
therapyportal_get_document_countsper client, documents waiting to be completed or approved
therapyportal_list_balancesthe balance due per client, and whether autopay is on
therapyportal_list_receiptspayments, with the dates of service each covered, and paymentId
therapyportal_list_message_threadsone client's secure-message conversations (does not mark read)
therapyportal_get_thread_messagesthe messages in one conversation (does not mark read); format: "markdown" or "text" reads each body without its HTML
therapyportal_download_documenta completed form (rendered to PDF) or a file the practice uploaded
therapyportal_download_receipta payment receipt PDF
therapyportal_list_message_topicsthe topics a client can message (topicId, and whether each reaches clinical, billing or administrative staff), whether messaging is on, and whether the client has an assigned clinician
therapyportal_send_messagewrite. Start a new conversation (confirm-gated)
therapyportal_reply_messagewrite. Reply in a conversation (confirm-gated)
therapyportal_upload_documentwrite. Upload a PDF, JPG, JPEG, PNG, HEIC or DOCX (max 25 MB) for a document that asks for one (confirm-gated)
therapyportal_upload_slothosted only: a signed URL to PUT one file to, whose blobKey therapyportal_upload_document then takes. Sends nothing to the practice
therapyportal_healthcheckconnectivity, from whichever transport is live

Read tools take view. The default is compact (projected to the useful fields); full and raw return more. Text the practice wrote (document titles, instructions, messages) comes back inside an untrusted-content envelope.

Message tools are not verified against real messages. The account this was built against had none, so the thread and message reads return the portal's payload exactly as sent rather than a projection.

Writes

The three writes are derived from the portal's own JavaScript (SecureMessagingDataService, CreateMessageViewV2, ThreadViewV2, DocumentsDataService, the document view controllers and xhrfileuploader) and are UNVERIFIED on the wire: no automated run sends a message or uploads a file, because each one reaches the practice. An owner-supervised live test confirms them later. The lookups they make first (messaging settings, topics, the assigned-clinician check, the document and form lists) were verified live, read-only.

Before showing a preview, each write checks against live reads: the client is one of yours (therapyportal_list_clients), the practice has secure messaging turned on, the topic exists for that client, and, for an upload, that the document or form exists, is not completed, asks for an upload and needs no signature.

  • Messages. 1 to 5000 characters. Plain text by default, sent as the portal's editor sends it (one HTML paragraph per line). With format: "markdown", bold, italic, lists, headings and quotes are sent formatted, limited to what the portal's editor offers a client; a link is sent as its text and address, since clients get no link tool. A practice may refuse new messages after several unanswered ones; a refusal says so. Archived conversations cannot be replied to.
  • Uploads. Give exactly one source:
  • file_path (local installs): the file must be inside THERAPYPORTAL_UPLOAD_DIR (default ~/Downloads, ~/Documents or ~/Desktop) and be a regular file (no symlinks). A hosted server refuses file_path with a "this server is remote" error: it cannot see the caller's files.
  • inline ({filename, content_base64, mime_type?}): the bytes as base64, strictly decoded (a truncated or mangled payload is refused, not sent). Works anywhere, but every byte rides in one request; keep it small.
  • blob_key (hosted): call therapyportal_upload_slot with the filename, PUT the file to the returned uploadUrl (its curl does exactly that), then pass the blobKey. The preview reads the uploaded copy and binds its SHA-256; the confirmed call re-reads it (a changed file is refused) and deletes it only once the portal accepted the upload. A failed or unconfirmed upload keeps it; a failed delete is reported, not thrown.

Every source gets the same checks: an allowlisted extension, contents that match it, at most 25 MB, and the SHA-256 in the preview. Legacy .doc is refused (its format cannot be checked before upload); save it as PDF or .docx. The file is staged in 100 KB segments, validated by the portal, and only then submitted. Only the submit reaches the practice.

  • Sent once. A write is posted exactly once. It is never replayed after a re-sign-in, on either transport. A send the portal answers with a 5xx, or whose connection drops, is reported as status: "unknown" rather than as an error, so a model checks the matching list before trying again instead of sending twice.

Confirm gate

Every write is gated by @chrischall/mcp-utils' confirmWrite, through its defineWrite / registerWrite. The first call sends nothing and returns a preview + a `confirmToken`; only a second call carrying that token, after you approve the preview, sends. The exact request (for an upload, the file's name, type, size and SHA-256) and the shown preview are bound into the token, so an argument, file or portal state that changed since the preview is refused as DRAFT_CHANGED. Values that change on every send (the upload guid, the document date) are made at send time and are not bound. Practice-written text in a preview or a result (topic names, document titles, the returned conversation) is wrapped as untrusted content. MCP_CONFIRM_MODE / MCP_CONFIRM_ELICITATION tune the gate (see Configuration).

Transports

Server (default when credentials are set)Browser bridge
Howsigns in itself with your email and password; holds a cookie jar in memoryrelays every request through your signed-in Chrome tab via the ContextMint Bridge extension
NeedsTHERAPYPORTAL_EMAIL, THERAPYPORTAL_PASSWORD (and THERAPYPORTAL_DOB if the portal asks)the extension, and a signed-in portal tab
Hostable (claude.ai, phone)yesonly as a bridged registration
Downloadswritten to THERAPYPORTAL_OUTPUT_DIR, or inlinesaved by the browser to its download folder

The two can run side by side. A server-side sign-in does not end your browser's portal session (checked live), and the portal signs out an idle browser tab on its own after a while; that is the usual reason the bridge reports "not signed in".

A rejected password or date of birth is never retried. The date-of-birth check locks after a few wrong dates, so the server tries it once.

Configuration

Variable
THERAPYPORTAL_PRACTICErequired. The code after /p/ in your portal URL (a full URL also works)
THERAPYPORTAL_EMAILthe email you sign in with
THERAPYPORTAL_PASSWORDyour portal password
THERAPYPORTAL_DOBonly if the portal asks for a date of birth at sign-in: MM/DD/YYYY (M/D/YYYY and YYYY-MM-DD are accepted)
THERAPYPORTAL_TRANSPORTserver or fetchproxy. Default: server when email and password are set
THERAPYPORTAL_WS_PORTfetchproxy concentrator port, default 37149 (shared by the whole fleet)
THERAPYPORTAL_OUTPUT_DIRwhere downloads are written (path-delimiter list; ~ expands). Default ~/Downloads and ~/Documents; a per-call dest must be inside one
THERAPYPORTAL_INLINE_DOWNLOADStrue returns downloads inline (base64), for a hosted runner
THERAPYPORTAL_UPLOAD_DIRwhere an upload's file_path must be (path-delimiter list; ~ expands). Default ~/Downloads, ~/Documents and ~/Desktop. Ignored when hosted, where file_path is refused (use therapyportal_upload_slot + blob_key, or inline)
MCP_CONFIRM_MODEconfirm-gate mode for every write. ask-user (default) = preview + confirmToken round-trip; auto lets a capable host confirm in one step; an unrecognised value fails closed (refuse)
MCP_CONFIRM_ELICITATIONon (default) lets the host confirm a write interactively; off forces the confirmToken round-trip
FETCHPROXY_WS_HOST, FETCHPROXY_IDENTITY_DIRfetchproxy bind address and identity directory (advanced)

Copy .env.example to .env for a local install.

{

"mcpServers": { "therapyportal": { "command": "npx", "args": ["-y", "@chrischall/therapyportal-mcp"], "env": { "THERAPYPORTAL_PRACTICE": " " } } } }

Without the server

skills/therapyportal-fpx does the same reads (not the writes) from a shell with the fpx CLI, through the signed-in tab. See its SKILL.md.

Development

npm install

npm run build npm test # typecheck + vitest, all mocked npm run test:coverage # 100% threshold

The wire protocol (tokens, sign-in, download jobs, the write shapes) is in docs/THERAPYPORTAL-API.md.