Ticket-Generator MCP

Ticket-Generator MCP

MCP server bridging AI agents with Ticket Generator APIs to manage tickets and events.

0
Stars
0
Forks
0
Releases

Overview

The Ticket Generator MCP Server acts as an MCP bridge between AI agents and the Ticket Generator APIs, enabling actions such as retrieving ticket data, generating shareable ticket URLs, delivering tickets via email or other channels, and fetching event details. It operates over HTTP transport and expects the API key to be supplied by the MCP client in the Authorization header, with secure transmission over HTTPS in production or via ngrok during development. The server exposes a minimal API surface including health checks and session lifecycle endpoints: GET /health, POST /mcp, GET /mcp for streaming updates, and DELETE /mcp to terminate sessions. Four tools are exposed to AI agents to perform common tasks: get_ticket_data, get_ticket_url, send_ticket, and get_event_details, each mapped to corresponding Ticket Generator API calls. The README provides guidance for integrating with MCP clients such as Claude Desktop and Cursor, as well as deployment steps for local development with ngrok and production deployments using environment variables. Comprehensive error handling is included to return structured errors that AI agents can understand and act upon.

Details

Owner
trycon
Language
License
MIT License
Updated
2025-12-07

Features

Bridge AI agents to Ticket Generator APIs via HTTP MCP

Provides a dedicated MCP server layer that enables AI agents to call Ticket Generator API endpoints over the MCP HTTP transport.

get_ticket_data tool

Tool to retrieve ticket data and information by ticket_id with optional event_id and user_id.

get_ticket_url tool

Tool to generate a shareable ticket URL, supporting format options (web, mobile, pdf) and optional event_id/user_id.

send_ticket tool

Tool to deliver tickets via email or other delivery methods, with recipient details and optional message.

get_event_details tool

Tool to fetch event details and information, with options to include tickets and attendees.

Health and lifecycle endpoints

Includes health check and session management endpoints (GET /health, POST /mcp, GET /mcp, DELETE /mcp) for reliable operation and streaming.

Audience

AI agentsEnable AI agents to access ticket data, URLs, and event details via MCP.
MCP clientsIntegrate Claude Desktop, Cursor, and other MCP clients to connect securely.
DevelopersDevelopers implementing MCP servers to bridge Ticket Generator APIs with AI workflows.

Tags

Ticket Generator APIMCPHTTP transportTicket managementEvent dataURL generationEmail deliveryngrok