# Connect NServiceBus to Your AI Agent (Universal MCP)

> Use your AI to build software, track issues, and monitor systems in NServiceBus — and much more.

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

## Key Facts
- Software: NServiceBus | Category: Manufacturing & Supply Chain (Particular Software) | Auth: Encrypted API key or guided local/on-prem setup | Deployment: hybrid
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Queues and endpoints, Saga state, Message replay; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=nservicebus | Guide: https://universalmcp.app/mcp/nservicebus
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (15 actions: 6 Read, 9 Write)
Perform over 10 actions across messaging, monitoring & visibility, recoverability, and scalability. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Messaging (5):** Publish Event (write), Send Command (write), Configure Message Routing (write), Build Async Workflow (write), Review Routing Rules (read)
- **Monitoring & Visibility (4):** View Endpoint Health (read), Review Performance Insights (read), Search Failed Messages (read), Review Failure Diagnosis (read)
- **Recoverability (3):** Retry Failed Message (write), Recover Failed Message (write), Configure Retry Policy (write)
- **Scalability (3):** Deploy Endpoint to Container (write), Deploy Endpoint to Azure or AWS (write), Review Transport Configuration (read)

## Example Prompts for NServiceBus
- **Error queue triage:** "Group NServiceBus error queue messages from today by exception type, endpoint and retry count, highest volume first."
- **Stuck sagas:** "List NServiceBus sagas waiting on timeouts longer than one hour, with their order IDs and the message that started them."
- **Latency trend:** "Compare NServiceBus endpoint processing latency this week against last week and flag any endpoint slower by 20 percent."
- **Guarded replay:** "Draft the NServiceBus replay plan for the Billing.Endpoint errors, then hold it until I approve running the replay."
