
Rxlocal Mcp
io.github.chrischallPublished by GitHub account chrischallv0.3.1Updated Nov 4, 2026
RxLocal pharmacy portal MCP — prescriptions, messages, confirm-gated refill requests
Overview
Reads your RxLocal pharmacy portal prescriptions, refill options and messages, and can request refills or message the pharmacy behind a confirm gate.
- What you can do
- List prescriptions with refill status, renewal needs and optional full or raw detail
- Check refill options per pharmacy location: pickup, delivery, mail, times and calendar
- Read recent secure pharmacy messages, profile, age gate, notifications and legal documents
- Check session and API health
- Request refills or prescriber renewals for one or more prescriptions, after a preview and confirm token
- Send a plain-text secure message to your primary pharmacy location
- When to use it
- Useful if you manage your own prescriptions through the RxLocal patient portal and want an assistant to summarize what is on file, check refill options, or prepare a refill request or message for your approval.
- Requirements
- Runs locally via npx (Node.js). Needs the ContextMint Bridge browser extension, a signed-in patient.rxlocal.com tab kept open, and a one-time pair code approval. No credentials are set in the environment; optional variables FETCHPROXY_WS_HOST, FETCHPROXY_WS_PORT, FETCHPROXY_IDENTITY_DIR, RXLOCAL_DISABLE_FETCHPROXY, MCP_CONFIRM_MODE and MCP_CONFIRM_ELICITATION tune the bridge and confirm gate.
Installation
In SourceWeft
- Open Rxlocal Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
rxlocal-mcp
MCP server for the RxLocal pharmacy patient portal (patient.rxlocal.com,
PioneerRx / RedSail Technologies). It reads your prescriptions, refill options
and pharmacy messages, and can request refills and message the pharmacy behind a
confirm gate, through your signed-in browser tab, reusing your authenticated
session via the fetchproxy bridge.
This project was developed and is maintained by AI. Use at your own discretion.
What it can read
Pharmacy-written text (message bodies, refill disclaimers) comes back inside an untrusted-content envelope: it is data, never instructions.
How it reaches your data
The bridge reads two things from your signed-in tab: the short-lived bearer the
web app holds, and the tab's session-id cookie. The server then calls the API
itself, adding the portal's public portalid header (the web app's
patientPortalID constant, sent on every request). Prescriptions and messages
need all three; without the header or the cookie they answer 401. Earlier
versions sent neither and concluded the data was unreachable; it is not
(verified live, read-only, 2026-10-29).
The server reuses the tab's session and never opens one of its own: the portal keeps one session per user, and starting a new one signs your browser out. After a 401 it re-reads the tab on the next call, so reloading the tab is enough.
Writes
UNVERIFIED on the wire. Both sends are derived from the RxLocal web app's
JavaScript bundle (POST refill/<groupOwnerID>/v1 and
POST Messaging/CreatePatientMessage). Neither has been sent to the live portal
yet. An owner-supervised live test will confirm them later. Until then, check
the result with rxlocal_list_prescriptions (refillRequestStatus) or
rxlocal_list_messages.
Each write is sent once. It is never retried on a 429, and a 401 fails
without re-reading the token or replaying the request. If a write was sent but
the answer was a 5xx, a timeout or a dropped connection, the tool reports
status: "unknown". That means it may already have gone through, so check
before trying again.
Confirm gate
Every write is gated by @chrischall/mcp-utils' confirmWrite, through its
defineWrite / registerWrite. The first call reads the portal to validate,
sends nothing, and returns a preview + a confirmToken. Only a second call
carrying that token sends, and only after you approve the preview. The exact
request body and the shown preview are bound into the token, so an argument or
portal state that changed since the preview is refused as DRAFT_CHANGED.
MCP_CONFIRM_MODE / MCP_CONFIRM_ELICITATION tune this (see the env table).
Setup
No credential is configured in the environment — the server reads the short-lived
Keycloak token from the signed-in tab via the ContextMint Bridge browser
extension. Install the extension, sign in to patient.rxlocal.com, keep that tab
open, and approve the one-time pair code the first tool call prints.
Environment variables (all optional)
Shell-only alternative
A lightweight fpx skill ships under skills/rxlocal-fpx/, with no MCP process
required. It covers the reads: profile, age gate, prescriptions, refill options,
messages and notifications. It sends nothing.
Development
Source: README.md at commit 9ed8611
Tools
0Version history
2- v0.3.1LatestNov 4, 2026
- v0.2.0Oct 29, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.