# Connect DiscountRay to Your AI Agent (Universal MCP)

> Use your AI to run campaigns, manage sales, and review costs in DiscountRay — and much more.

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

## Key Facts
- Software: DiscountRay | Category: E-Commerce & Retail (Discount Ray) | Auth: Guided workspace authorization
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Discount rules, Customer groups, Rule changes; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=discountray | Guide: https://universalmcp.app/mcp/discountray
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across discount rules, customer groups, and rule changes. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Discount rules (1):** Discount rules (write)
- **Customer groups (1):** Customer groups (write)
- **Rule changes (1):** Rule changes (write)

## Example Prompts for DiscountRay
- **List active rules:** "In DiscountRay, list every active Shopify discount rule on the Harbor Retail store with its customer group."
- **Find overlapping offers:** "Using DiscountRay, show which bundle and code discounts can stack on the same B2B order."
- **Review margin impact:** "With DiscountRay, estimate the margin impact of the quantity tier across last month's wholesale orders."
- **Draft rule (guarded):** "Draft a stacking limit for the WHOLESALE15 code in DiscountRay and hold it for my approval before saving."
