# Connect AffinityRx to Your AI Agent (Universal MCP)

> Use your AI to enter orders, track inventory, and run purchasing in AffinityRx — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http affinityrx https://api.universalmcp.app/mcp/affinityrx`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/affinityrx` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "affinityrx", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: AffinityRx | Category: Healthcare & Clinical (AffinityRx) | Auth: Guided workspace authorization
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Order queue read, Stock levels read, Routing drafts; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://universalmcp.app/mcp/affinityrx | Guide: https://universalmcp.app/mcp/affinityrx
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across order queue read, stock levels read, and routing drafts. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Order queue read (1):** Order queue read (write)
- **Stock levels read (1):** Stock levels read (write)
- **Routing drafts (1):** Routing drafts (write)

## Example Prompts for AffinityRx
- **Routing backlog:** "List AffinityRx compounding orders awaiting pharmacy routing, grouped by clinic partner and age."
- **Substitution flags:** "Show AffinityRx orders needing ingredient substitutions and the pharmacy that flagged each one."
- **Ingredient stock check:** "Summarize AffinityRx ingredient stock levels across pharmacies and list items below reorder point."
- **Draft routing summary:** "Draft an AffinityRx routing summary for the pharmacy team and hold it until I approve submission."
