rxlocal-mcp
БесплатноЗапускает вложенные скриптыНе проверенRead an RxLocal pharmacy patient portal (patient.rxlocal.com, PioneerRx/RedSail) from a shell: your prescriptions (refills remaining, whether a refill can be…
от chrischall309 установок в других каталогахОб этом скилле
RxLocal patient portal access (fpx)
RxLocal Patient (PioneerRx / RedSail Technologies) is a single-page app at
https://patient.rxlocal.com. There is no public API. Its own /api/* backend
is a Keycloak-protected Bearer API: the SPA holds a short-lived access token and
sends it as Authorization: Bearer …, a constant portalid header (the web
portal's public patientPortalID) and, where it has one, an rxlocaluserid
header. So every call here reads the live token from the signed-in tab and sends
the same headers through that tab with fpx. Read-only.
What works
- Account reads (
profile,age) and patient-data reads (refills,refill-options,messages,notifications) all work, as long as theportalidheader is sent. The helper always sends it. - Earlier notes said prescriptions and messages were "bound to the live SPA
session" because they answered 401. They are not. The 401 came from the
missing
portalidheader: with the same fresh bearer, leaving it out gives 401 and sending it gives 200 (verified live, read-only, 2026-10-29). - Patient data ALSO needs the tab's
session-idcookie. Calls through the tab (fpx get/post-json) carry it automatically, which is why the helper uses them. The same bearer and header from plaincurlanswer 401 unless that cookie is sent too. Never callPUT auth/sessionto get a fresh one: the portal keeps one session per user, and a new one signs the browser out. messagesnever marks anything read. Read-marking is a separate endpoint the helper does not call.
Keep the signed-in patient.rxlocal.com tab open so the account token stays
fresh. reCAPTCHA v3 guards login only, not the API.
One-time setup
npm install -g @fetchproxy/cli # provides `fpx`
fpx profile add rxlocal --domain rxlocal.com
# declare ALL scopes BEFORE the first pairing (a later declare forces a re-pair):
fpx profile declare rxlocal \
--local-storage kc_authRes \
--capture-header [email protected] \
--capture-header [email protected]
Needs ContextMint Bridge in the browser that holds the portal session, with a
patient.rxlocal.com tab open and signed in. The first call prints a pair code
on stderr; approve it in the bridge popup of that browser. If the bridge also
runs in a second browser, every call prints refusing an extension whose identity is not the one this MCP paired with and a fresh pair code — that is the other
browser being turned away, the call still succeeds, and those codes should NOT be
approved. Wrong browser pinned? fpx trust clear fpx-rxlocal, then pair again.
Core call
R=~/.claude/skills/rxlocal-fpx/scripts/rxlocal
$R profile # name, email, phone, account type, patient + user IDs
$R age # account-holder age gate
$R patient # demographics for the active patient (shape not re-verified)
$R refills # prescriptions on file: name, Rx number, refills left, canRequestRefill
$R refill-options [DEI] # pickup/delivery/mail, pickup times, calendar, pharmacy hours, disclaimers
$R messages # recent messages with the pharmacy, newest first (does not mark read)
$R notifications # most-relevant notification banner
$R raw GET <path> # any /api GET, unprojected
$R raw POST <path> '<json>' # read POSTs only (Messaging/SyncPatientMessages, Messaging/EmployeeInfo)
<path> is everything after /api/ (e.g. account/getuserinfo). stdout is
JSON ready for jq; stderr carries pair codes and status.
Exit codes (from fpx)
0 ok · 2 bridge down (open/reload the signed-in tab) · 3 bot wall ·
4 upstream HTTP error (often a 401 — the 5-minute token aged; reload the tab).
In context groups
When the rxlocal-mcp server is hosted on mcp-host, its tools join the
health group (_meta.mint.domain: "health"). The group's canonical reads,
each answered with view: "brief" (one line per item,
title — <ISO date | no date> — <status>, ≤ 120 chars, inside the
untrusted-data envelope's data because drug and sender names are
pharmacy-written; a line starting -- is a note — -- none when empty,
-- N of M shown when limit cut the messages short):
- what's due →
rxlocal_list_prescriptions(the drug, the day the last fill runs out — fill date + days supply — and its refill status: can request a refill, needs a prescriber renewal, no refills left, …; soonest first). - what's new →
rxlocal_list_messages(pharmacy messages, newest first: the sender, the day, and whether it came from the pharmacy or from you; the pharmacy-written body is never in a brief line).
Nothing here answers what's on, and neither read takes a subject or a
range: one signed-in account holder, nothing to fan out over. A compound ask —
"anything due at the pharmacy, and any new messages from my doctors?" — is one
whats-due call plus one whats-new call, merged with the other hea
Установить rxlocal-mcp в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл rxlocal-mcp?
Read an RxLocal pharmacy patient portal (patient.rxlocal.com, PioneerRx/RedSail) from a shell: your prescriptions (refills remaining, whether a refill can be requested), refill pickup/delivery options and pharmacy hours, messages with the pharmacy, notifications, the account profile and the age gate, through your signed-in portal tab with the fpx CLI. Read-only: it never requests a refill or sends a message. Use when asked about an RxLocal / PioneerRx pharmacy portal account, prescriptions, refills or pharmacy messages.
Как установить скилл rxlocal-mcp?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл rxlocal-mcp запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic