# Next Stop Comedy — Public MCP Connector

Remote Streamable HTTP MCP server for discovering live stand-up comedy shows, checking live ticket availability and pricing estimates, and generating pre-filled 1-tap checkout links on Next Stop Comedy.

- **MCP Endpoint:** `https://www.nextstopcomedy.com/api/public/mcp`
- **Transport:** Streamable HTTP (`POST` / `GET` / `DELETE`, SSE disabled)
- **Authentication:** None (public read-only discovery and stateless checkout handoff)
- **Official MCP Registry:** `com.nextstopcomedy/shows` (`https://registry.modelcontextprotocol.io/v0.1/servers/com.nextstopcomedy%2Fshows/versions/latest`)
- **Website:** `https://www.nextstopcomedy.com`
- **Support:** `https://www.nextstopcomedy.com/contact`
- **Privacy Policy:** `https://www.nextstopcomedy.com/privacy`
- **Terms of Service:** `https://www.nextstopcomedy.com/terms`

## Tools

### `search_shows`
Search upcoming, published, public stand-up comedy shows across the United States, Canada, United Kingdom, Ireland, Europe, and Australia.

- **Optional parameters:** `q` (city, venue, state, or postal code), `slug`, `from`, `to` (ISO 8601 timestamps with offset), `latitude` & `longitude` with `radiusMiles` (up to 100), `language` (`en`, `fr`, `de`, `de-AT`, `nl`), `limit` (1–20), `offset` (0–1000).
- **Returns:** Venue details, local start time with UTC offset, venue time zone, currency, active ticket tiers (`ticketTypeId`, `name`, `admissionsPerPackage`, fee-inclusive `priceBeforeTax`, and indicative `availability`), and attributed show URLs.

### `get_show`
Look up one upcoming public show by its exact `slug`.

- **Required parameters:** `slug`.
- **Returns:** Full public venue address, local start time, time zone, currency, active ticket tiers (including `admissionsPerPackage` so couples/group packages are never confused with per-person prices), and attributed show URL.

### `create_checkout_link`
Validate live availability (accounting for active checkout holds), compute a fee and cached-tax estimate without reserving seats, and return a pre-filled Next Stop Comedy checkout URL where the buyer can finish payment in one tap (Apple Pay, Google Pay, Link, or card) and enter any promo or gift-card codes.

- **Required parameters:** `slug`, `items` (`[{ ticketTypeId, quantity }]`, 1–5 unique tiers, up to 10 packages total).
- **Returns:** Show details, line-item breakdown, subtotal, processing fee, estimated/applicable tax (`taxStatus`), `holdCreated: false`, `checkoutUrl`, `termsUrl`, and `privacyUrl`.

## Example Prompts

- *"Find stand-up comedy shows in Boston this weekend."*
- *"Are there any comedy shows near 10012 on Friday night?"*
- *"Get me a checkout link for 2 General Admission tickets to Friday's show."*

## Privacy, Safety & Limits

- **No payment data in chat:** Never ask users for credit card numbers, emails, or gift-card codes. Hand the user the `checkoutUrl` returned by `create_checkout_link` to finish payment securely on Next Stop Comedy.
- **No inventory holds:** Calling MCP tools never reserves seats or charges cards; seats are held for 10 minutes only once the buyer opens the checkout page.
- **Rate limit:** 60 requests/minute/IP. Single JSON-RPC requests only (batch arrays are not supported; 16 KB body limit). Responses use `Cache-Control: no-store`.
