Skip to main content
Glama
TryBooking MCP Server

TryBooking MCP Server

by marek-knappe

TryBooking MCP Server

An MCP (Model Context Protocol) server that wraps the TryBooking Reporting API, letting AI assistants like Claude query bookings, events, sales reports, attendance scans, and more.

Prerequisites

  • Node.js 18+

  • A TryBooking account with API access

  • API Key and Secret Key from TryBooking Portal (Integration Tools > API Management)

Related MCP server: Pulumi Events MCP

Installation

The easiest way to install — use the Claude Code plugin marketplace:

/plugin marketplace add marek-knappe/TryBookingMCP
/plugin install trybooking-mcp@trybooking-marketplace
/reload-plugins

Then configure your API credentials (see Setting Environment Variables below).

Manual Installation

git clone https://github.com/marek-knappe/TryBookingMCP.git
cd TryBookingMCP
npm install
npm run build

Configuration

The server requires three environment variables:

Variable

Required

Description

TRYBOOKING_API_KEY

Yes

Your TryBooking API key

TRYBOOKING_SECRET_KEY

Yes

Your TryBooking secret key

TRYBOOKING_REGION

Yes

Region code: au (Australia), nz (New Zealand), uk (United Kingdom), or us (United States)

Get your API credentials from the TryBooking Portal under Integration Tools > API Management.

Setting Environment Variables

Whether you installed via the plugin marketplace or manually, the MCP server needs your TryBooking credentials as environment variables.

Option 1: Claude Code settings file (Recommended)

Add the env vars to your Claude Code settings at ~/.claude/settings.json:

{
  "env": {
    "TRYBOOKING_API_KEY": "your-api-key",
    "TRYBOOKING_SECRET_KEY": "your-secret-key",
    "TRYBOOKING_REGION": "au"
  }
}

Option 2: Shell environment

Export them in your shell profile (~/.bashrc, ~/.zshrc, ~/.config/fish/config.fish, etc.):

export TRYBOOKING_API_KEY="your-api-key"
export TRYBOOKING_SECRET_KEY="your-secret-key"
export TRYBOOKING_REGION="au"

Then restart Claude Code for changes to take effect.

Option 3: Project-level settings

For project-specific configuration, add to .claude/settings.json in your project directory:

{
  "env": {
    "TRYBOOKING_API_KEY": "your-api-key",
    "TRYBOOKING_SECRET_KEY": "your-secret-key",
    "TRYBOOKING_REGION": "au"
  }
}

Note: Don't commit .claude/settings.json if it contains secrets — add it to .gitignore.

After configuring, run /reload-plugins in Claude Code to pick up the changes.

Claude Code (Manual Setup)

If you installed manually (not via the plugin marketplace), add to your Claude Code settings (~/.claude/settings.json or project .claude/settings.json):

{
  "mcpServers": {
    "trybooking": {
      "command": "node",
      "args": ["/absolute/path/to/TryBookingMCP/dist/index.js"],
      "env": {
        "TRYBOOKING_API_KEY": "your-api-key",
        "TRYBOOKING_SECRET_KEY": "your-secret-key",
        "TRYBOOKING_REGION": "au"
      }
    }
  }
}

Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "trybooking": {
      "command": "node",
      "args": ["/absolute/path/to/TryBookingMCP/dist/index.js"],
      "env": {
        "TRYBOOKING_API_KEY": "your-api-key",
        "TRYBOOKING_SECRET_KEY": "your-secret-key",
        "TRYBOOKING_REGION": "au"
      }
    }
  }
}

Available Tools

Account

Tool

Description

get_account_transactions

Retrieve account transactions for a date range

Bookings

Tool

Description

get_booking

Fetch a specific booking by transaction ID

get_bookings_by_date

Get bookings within a date range

Events

Tool

Description

list_events

List all events for the account

get_event

Get details for a specific event

get_event_session

Get event session details by session ID

get_event_sections

List sections for an event

get_seat_status

Get seat availability for a session and section

Fundraising

Tool

Description

get_fundraising

Retrieve fundraising pages

Sales Reports

Tool

Description

get_ticket_sales

Ticket sales by period (day/week/month/year)

get_booking_sales

Booking sales report (max 180 days)

get_event_sales

Event sales report (max 180 days)

get_fundraising_sales

Fundraising sales report

Attendance Scans

Tool

Description

get_scan_attendance

Scan attendance for a session (one scan per ticket)

get_scan_all

All scan events for a session

Example Usage

Once configured, you can ask Claude things like:

  • "List all my TryBooking events"

  • "Show me bookings from 2025-01-01 to 2025-01-31"

  • "Get ticket sales for last month grouped by week"

  • "What's the seat availability for session X, section Y?"

  • "Show my account transactions for this quarter"

API Reference

This server wraps the TryBooking Reporting API. All endpoints use HTTP Basic Authentication and return JSON responses. The server uses API v1 for most endpoints and v2 for scan endpoints (which use string-based rule IDs).

License

MIT

Available Tools

15 tools
get_account_transactionsA

Retrieve account transactions for a date range

Inputs: endDate (required), startDate (required).

get_bookingB

Fetch a specific booking by transaction ID

Inputs: transactionId (required).

get_booking_salesA

Get booking sales report (max 180 days range)

Inputs: endDate (required), startDate (required).

get_bookings_by_dateC

Get bookings within a date range

Inputs: endDate (required), startDate (required).

get_eventC

Get details for a specific event

Inputs: eventId (required).

get_event_salesA

Get event sales report (max 180 days range)

Inputs: endDate (required), startDate (required).

get_event_sectionsB

List sections for an event

Inputs: eventId (required).

get_event_sessionB

Get event session details by session ID

Inputs: sessionId (required).

get_fundraisingC

Retrieve fundraising pages

Inputs: no named parameters.

get_fundraising_salesC

Get fundraising sales report

Inputs: endDate (required), startDate (required).

get_scan_allC

Get all scan events for a session

Inputs: sessionId (required).

get_scan_attendanceB

Get scan attendance for a session (one scan per ticket)

Inputs: sessionId (required).

get_seat_statusC

Get seat status for a session and section

Inputs: sectionId (required), sessionId (required).

get_ticket_salesC

Get ticket sales report by period. datePeriod: 1=Day, 2=Week, 3=Month, 4=Year

Inputs: endDate (required), startDate (required), datePeriod (required).

list_eventsA

List all events for the account

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 15 tools

    Disambiguation5/5

    All tools have distinct purposes, covering different resources like transactions, bookings, events, sessions, sales, and scanning. Even though many start with 'get', their targets are clearly differentiated by resource type and context.

    Naming Consistency4/5

    14 out of 15 tools follow the 'get_{resource}' pattern. The only exception is 'list_events', which uses 'list' instead of 'get'. This minor inconsistency reduces the score.

    Tool Count4/5

    15 tools is reasonable for a read-only ticketing API. It covers many query aspects without being overwhelming or too sparse, though a few more could be added for completeness.

    Completeness2/5

    The tool set is entirely read-only, lacking any write operations such as creating, updating, or deleting bookings, events, or tickets. This is a significant gap for a ticketing system where transaction processing is expected.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      B
      maintenance
      An MCP server that exposes the Tickiti helpdesk API to AI assistants, enabling ticket management and helpdesk operations via natural language.
      11
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      MCP server for interacting with the ThreatLocker Portal API, enabling querying of computers, applications, policies, audit logs, and more through AI assistants.
      18
      3
      GPL 3.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server that exposes aggregated Shotgun event sales, net revenue, ticket quotas, and audience stats to AI assistants via natural language queries.
      MIT