TryBooking MCP Server
An MCP server that wraps the TryBooking Reporting API, enabling AI assistants like Claude to query bookings, events, sales reports, and attendance scans.
README
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)
Installation
Claude Code Plugin (Recommended)
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.jsonif 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
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。