Skip to content
MCP server

Therapyportal MCP

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.5.0
Listing updated
4 days ago

About Therapyportal MCP

Therapyportal MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

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

Install

Run in a terminal

claude mcp add therapyportal-mcp --env THERAPYPORTAL_PRACTICE='<THERAPYPORTAL_PRACTICE>' --env THERAPYPORTAL_PASSWORD='<THERAPYPORTAL_PASSWORD>' --env THERAPYPORTAL_DOB='<THERAPYPORTAL_DOB>' -- npx -y @chrischall/therapyportal-mcp

Add to claude_desktop_config.json

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Configuration

  • THERAPYPORTAL_PRACTICEYour practice's portal code: the part after /p/ in its TherapyPortal URL (www.therapyportal.com/p/<code>/).Required
  • THERAPYPORTAL_EMAILThe 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_PASSWORDYour TherapyPortal password. A rejected sign-in is never retried automatically.
  • THERAPYPORTAL_DOBOnly 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_TRANSPORTserver or fetchproxy. Default: server when email and password are both set, otherwise fetchproxy.
  • THERAPYPORTAL_WS_PORTfetchproxy concentrator port (fetchproxy transport only, default 37149). The whole fleet shares this one port; override only when hosting.
  • THERAPYPORTAL_OUTPUT_DIRWhere 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_DOWNLOADStrue returns downloaded bytes inline (base64) instead of writing to disk, for a hosted runner whose disk you cannot reach. Default false.
  • THERAPYPORTAL_UPLOAD_DIRFolders 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 uploads by upload slot or inline base64.
  • MCP_CONFIRM_MODEConfirm-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 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_HOSTBind 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_DIRAbsolute path where the fetchproxy long-term identity keypair is stored (default ~/.fetchproxy/identity/).

Pricing

Open source

Therapyportal MCP FAQ

Is Therapyportal MCP free?

Yes. Therapyportal MCP is open source, so you can use and self-host it for free.

How do I add Therapyportal MCP to Claude Code?

Run this command in your terminal: claude mcp add therapyportal-mcp --env THERAPYPORTAL_PRACTICE='<THERAPYPORTAL_PRACTICE>' --env THERAPYPORTAL_PASSWORD='<THERAPYPORTAL_PASSWORD>' --env THERAPYPORTAL_DOB='<THERAPYPORTAL_DOB>' -- npx -y @chrischall/therapyportal-mcp