FreeTicket MCP Server
One-line summary: FreeTicket's MCP server gives an agent a full B2B toolkit for events, tickets, sales, memberships, content and reporting ā plus anonymous public discovery/checkout and optional superadmin tools ā over stdio or Streamable HTTP with OAuth.
Public / buyer-side (no credentials, always registered):
public_events_list,public_events_get,public_events_availability,public_orders_create(returns a Mercado PagocheckoutUrlā the agent never pays),public_orders_get,public_tickets_resend. General admission only; check stock before creating an order.Events & dates: create, update, publish, schedule/unschedule, cancel, delete events; create/update/delete dates; list courtesy seats.
Tickets & door: manage ticket types, check-in/undo, reassign, resend, access-control, live attendance, access-close signing, validators.
Sales & presales: list/get sales, tickets, attempts, payment intents; create, abandon, cancel, refund, transfer; manage presale windows.
Lineup: search artists, set/remove event artists, resend/cancel invitations.
Memberships & commercial: plans, subscribers, subscriptions cancel; discounts, webhooks, venues, staff, API key listing.
Reports & exports: summaries, by-event, timeseries, inventory, financials, reconciliation; CSV exports of buyers/attendees/subscribers; settlements with signed 5-minute document URLs.
Content & community: videos/series/lives (Mux), posts, playback tokens, channels, moderation queue/bans, meetups, courses and digital products.
Website, profile, templates: website get/put/publish, organization profile/analytics, ticket templates, box-office master QRs.
Buyer session tools (
customer_*): own tickets, membership, profile, orders, addresses, newsletter, community and live chat ā enabled only with a buyer session.Superadmin (
admin_*, stdio only): workspaces, users/impersonation, platform plans, feature flags, CRM reads, settlement reads (sending is deliberately excluded).Guardrails: destructive ops require confirmation and carry
destructiveHint; results capped at 25k chars with truncation hints; read-only mode/scope registers only read tools; secrets (stream keys, master QR codes) flagged š; stateless and multi-tenant safe.UI: 49 list/report tools render tables or KPI tiles via the MCP Apps extension; other tools return compact JSON text.
Provides tools for creating orders that generate a Mercado Pago checkout URL for payment processing, allowing AI agents to initiate payment flows in the FreeTicket platform.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@FreeTicket MCP Server list upcoming events"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@freeticket/mcp
FreeTicket's official MCP (Model Context Protocol) server. It exposes the B2B domain ā events, dates, sales, tickets, memberships, venues, staff, reports ā as tools to any MCP client (Claude Code, Claude Desktop, claude.ai).
Same contract and same session as the ft CLI: if you have run ft login, the
MCP is already authenticated with nothing to configure (it reads
~/.freeticket/config.json).
Install as a Claude plugin
The repo is a Claude Code plugin and its own marketplace. The plugin wires
the remote server (https://mcp.appfreeticket.com/mcp, declared in
.mcp.json) and ships four skills.
/plugin marketplace add AppFreeticket/freeticket-mcp
/plugin install freeticket@freeticketOr in one step (Claude Code 2.1.275+):
/plugin install freeticket --marketplace AppFreeticket/freeticket-mcp.
Authentication is OAuth ā the same embedded authorization server claude.ai
uses (see below): Claude Code discovers it from the 401 +
WWW-Authenticate (RFC 9728) and registers itself (RFC 7591). Run /mcp,
pick freeticket, and sign in with your FreeTicket account in the browser. No
API key or header goes in the plugin.
Skill | What it does |
| Venue ā event ā dates ā ticket types ā optional member presale and lineup ā publish now or schedule. |
| Live attendance, access-close record, capacity vs. sold, revenue, stuck payments, attendee export and settlement status for one date. |
| Reported comments, member posts awaiting review, bans and meetup RSVP requests, one approved action at a time. |
| Create or edit a course or downloadable product (modules, lessons, quizzes, drip) keeping lesson ids, then publish. |
Files: .claude-plugin/plugin.json (version kept
equal to package.json by src/plugin.test.ts),
.claude-plugin/marketplace.json (plugin
source: "./", the repo root), .mcp.json and skills/. Check
them with claude plugin validate .. None of them is published to npm
(files is dist only).
Local stdio instead of the remote server (CI, headless, or a pinned build): add it yourself rather than through the plugin ā
git clone https://github.com/AppFreeticket/freeticket-mcp && cd freeticket-mcp
pnpm install && pnpm build
claude mcp add --env FT_API_KEY=ft_live_... --transport stdio freeticket \
-- node "$PWD/dist/index.js"(@freeticket/mcp is not on npm, so build it from source as above). If you
also keep the plugin enabled, toggle its freeticket server off in /mcp so
the tools are not listed twice.
Related MCP server: thinker-mcp
Use (Claude Code / Claude Desktop)
The simplest path is the remote server below (nothing to install). For a local
stdio server, @freeticket/mcp is not published on npm: build it from
source (git clone, pnpm install && pnpm build) and point the client at
dist/index.js with an absolute path:
{
"mcpServers": {
"freeticket": {
"command": "node",
"args": ["/absolute/path/to/freeticket-mcp/dist/index.js"]
// No env: uses the `ft login` session. For CI or headless:
// "env": { "FT_API_KEY": "ft_live_...", "FT_WORKSPACE_ID": "ws_..." }
}
}
}Config precedence: env > ~/.freeticket/config.json > default. Variables:
FT_API_URL (base, without /api/v1), FT_API_KEY, FT_WORKSPACE_ID,
FT_ADMIN_SESSION (enables the admin_* tools of the superadmin contract
/api/admin), FT_CUSTOMER_SESSION (a buyer session: enables customer_*),
FT_READ_ONLY=1 (registers only the read-only tools).
The stored session is the ft CLI's ~/.freeticket/config.json: plaintext
JSON, mode 0600. The CLI does not use the OS keychain, so this server cannot
either; prefer a read-only key (ft login --read-only) on shared machines.
Remote use over URL (HTTP)
Beyond stdio, the server runs over Streamable HTTP so it can be added as a
connector by URL (claude.ai, remote Claude Code, curl) with nothing installed
locally. It is live at https://mcp.appfreeticket.com/mcp.
freeticket-mcp-http # listens on :3333 (PORT to change it)It is stateless: every request carries its own credentials and the server builds per-session isolated clients (it never reads disk), so one process serves many workspaces without crossing sessions. Endpoints:
Endpoint | Auth | Tools |
| optional Bearer (OAuth access token issued by this server) | No token: |
| buyer session header | adds |
| none |
|
Connecting from claude.ai (Add custom connector)
The server ships an embedded OAuth 2.1 authorization server ā that is the only thing claude.ai knows how to speak (it cannot send API keys or custom headers). Steps:
claude.ai ā Settings ā Connectors ā Add custom connector.
Remote MCP server URL:
https://mcp.appfreeticket.com/mcp. Client ID and Secret: leave empty (it uses dynamic client registration, RFC 7591).Connecting opens the consent page: the "Continue with FreeTicket" button signs you into free-admin with your usual account and asks for approval (device flow, RFC 8628 ā the same backend as
ft login). No keys to paste, and no workspace to pick: the connection reaches every workspace your account does. Tick "Solo lectura" on that page (or request OAuth scoperead) for a read-only connection: only read tools are registered. Under "Advanced options" there is still the manual form (an API key for CI and a workspace field to tie the connection to a single tenant). The superadmin cookie field is gone since 0.24.0:admin_*is stdio-only.Tokens: access 1 h, refresh 30 days rotated on every use, session capped at 90 days from sign-in (refresh tokens issued before 0.24.0 get at most 30 more days). Each refresh re-checks the API key with free-admin, so revoking the key (panel or
ft api-keys revoke) ends the connection within the hour. Being stateless, a used refresh token cannot be invalidated (no replay detection) ā the price of not having a database.Credentials are sealed (AES-256-GCM,
MCP_TOKEN_SECRET) inside the issued token ā the server persists nothing: no database, multi-tenant safe.
The full standard flow: RFC 9728/8414 discovery ā /register ā /authorize
(PKCE S256) ā /token (with refresh). FT_OAUTH_ISSUER delegates all of it to
an external AS (for instance, once free-admin publishes its own).
Direct auth (curl, your own clients)
Raw API keys are not accepted as Bearer since 0.24.0 (401
invalid_token). For scripts and CI use stdio (FT_API_KEY), or go through
OAuth once and use the access token it issues. Anonymous calls need nothing:
curl -X POST http://localhost:3333/mcp \
-H 'x-customer-session: <buyer session>' \ # optional ā enables customer_*
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'Rate limits are best-effort and per instance: counters live in memory, so
each Vercel instance keeps its own and a restart clears them. They stop one
client hammering free-admin through this server; they are not a quota.
Per client IP (IPv6 grouped by /64; X-Forwarded-For is trusted only on
Vercel, the standalone server uses the socket address):
What | Limit |
Anonymous |
|
Consent page: | 60 per minute |
Device flows started ( | 5 per 10 minutes |
| 600 per minute (it comes from the client's backend: one IP, many users) |
Refresh of one same token | 6 per minute |
The consent page starts the device flow only when the user clicks
"Continue with FreeTicket" (POST /device-start), not on page load.
MCP_REQUIRE_AUTH=1 turns lazy auth off (401 on any /mcp request without a
token, as before 0.24.0).
Deploying on Vercel
The repo already carries vercel.json + api/server.ts (the same logic as the
binary, as a Vercel Function):
vercel # preview
vercel env add MCP_TOKEN_SECRET production # openssl rand -hex 32
vercel --prodEnv on Vercel: MCP_TOKEN_SECRET (required ā without it tokens die on every
cold start), FT_API_URL (optional, defaults to production), MCP_PUBLIC_URL
(optional ā derived from the Host header). The resulting connector URL is
https://<project>.vercel.app/mcp.
Domain verification (OpenAI plugin directory)
The submission portal issues a token and fetches it back as plain text from
/.well-known/openai-apps-challenge. The server hands back whatever is in
OPENAI_APPS_CHALLENGE, trimmed:
vercel env add OPENAI_APPS_CHALLENGE production # paste the portal's token
vercel --prod
curl https://mcp.appfreeticket.com/.well-known/openai-apps-challengeThe token belongs to the deployment, not to the repo ā a committed one is a verification anybody can serve from a fork. Unset, the path answers 404 and names the variable rather than inventing a value that would pass and prove nothing.
Tools
B2B /api/v1 (one tool = one contract operation). Destructive writes
(*_delete, *_refund, *_cancel, and every operation the contract flags
x-ft-destructive, such as sales_abandon, event_dates_access_close_sign,
content_channels_archive or content_members_ban) carry destructiveHint
and ask for confirmation.
Domain | Reads | Writes |
Session |
|
|
Events |
|
|
Lineup |
|
|
Tickets |
|
|
Presales |
|
|
Sales |
|
|
Door |
|
|
Event viewers (read-only stats) |
|
|
Memberships |
|
|
Commercial |
|
|
Reports |
| ā |
Settlements (EVENT and MEMBERSHIP, |
| ā |
Credentials |
| ā |
Exports |
| ā |
Landing waitlist |
|
|
Landing courtesy requests | ā (the list lives in the dashboard) |
|
Landing merch store |
| ā (placing and paying an order needs the buyer's ID document and the card widget) |
Merch store catalog |
|
|
Members area (buyer session) |
|
|
Buyer community and live chat (enterprise key + buyer session) |
|
|
Content |
|
|
Community channels | ā |
|
Community moderation |
|
|
Community meetups |
|
|
Digital products and courses |
|
|
Videos, series and lives (Mux) |
|
|
Website and profile |
|
|
Ticket templates |
|
|
Box-office QR codes |
|
|
Minting and revoking credentials (ft api-keys, ft admin tokens) is left out
of the MCP on purpose: an agent lists credentials to audit them, it does not
issue them. The customer_* tools speak for one buyer: they are registered
only when the connection carries a buyer session (X-Customer-Session header,
or FT_CUSTOMER_SESSION over stdio) and send nothing else ā never the B2B key,
and the session is never a tool argument, so it does not pass through the
model. The exchange that issues that token is not a tool either ā it mints
third-party sessions. merch_orders_lookup needs both an enterprise key and
the buyer session, and so does the buyer community (customer_community_*,
customer_live_chat*): the organization comes from the key, the buyer from
the session, and they are registered only when the connection carries both.
settlements_document and settlements_proof return a signed URL with a
5-minute TTL, not the file: the API answers 302, and following the redirect
would drop the whole PDF into the model's context.
š = the result carries a secret: the stream key of a live (streamKey,
broadcast rights in the organization's name; only content_lives_create and
content_lives_reset_key return it) or the code/URL of a master QR (opens the
sale flow, cannot be rotated). The descriptions tell the agent not to echo it
into the chat or docs unless the human explicitly asks. The server does not
log or store tool results: the value only lives in the client's transcript.
Videos cannot be uploaded through the API (the Mux upload needs a browser).
The content tools list what is published without the playback id; to play
anything you need content_playback_token (30 min live, 1 h video), and
memberOnly content additionally requires a buyer session with a membership.
Public B2C /api/public (no credentials ā a buyer's agent):
Domain | Tools |
Discovery |
|
Checkout |
|
Post-sale |
|
The public_* tools are always registered (anonymous). The agent never
touches the payment: public_orders_create returns the Mercado Pago link for
the human to pay. Checkout scope: general admission (not seated, not
members-only).
Superadmin /api/admin (only with FT_ADMIN_SESSION):
Domain | Tools |
Session / audit |
|
Workspaces |
|
Users |
|
Platform plans |
|
Feature flags |
|
CRM master (reads only) |
|
Settlements (reads only) |
|
Launching, advancing or stopping batches and cancelling CRM campaigns is not
exposed: those operations send real email and WhatsApp to buyers. The contract
marks them x-ft-mcp: { expose: false } and src/coverage.test.ts fails if a
tool calls them. Use the CLI (ft admin crm) or the panel. The same marker
keeps out adding or lifting CRM suppressions, the test send, the people search
(it returns full buyer emails) and every settlement write (create, files,
regenerate, send, mark paid, proofs, delete: organizers' money), which go
through ft admin crm / ft admin settlements or the panel.
UI in the host (MCP Apps)
The server implements the io.modelcontextprotocol/ui extension
(MCP Apps, spec
2026-01-26), so lists and reports do not arrive as a wall of JSON: the host
draws them.
Resource:
ui://freeticket/view.html, mimeTypetext/html;profile=mcp-app.Tools with a view point at it through
_meta.ui.resourceUri; only those carrystructuredContent(what the view reads). Every other tool returns the text alone, so a host that feeds structuredContent to the model never gets the payload twice.
Output budget
Every result is compact JSON capped at MAX_TEXT_CHARS (25 000 chars,
src/api.ts). Over the cap the largest list is cut by whole items and a
truncated: { shown, total, field, hint } note says how to get the rest
(limit + cursor when the tool pages, filters when it does not); the result
is always valid JSON. sales_list, sales_tickets, sales_attempts and the
buyer/attendee exports return a trimmed row by default ā verbose: true returns
it as the API sends it. Errors keep the API's error.code and add status,
retryable, retryAfterSeconds (429) and a hint with the next step.
A single view picks the render from the shape of the payload: array ā table (currency formatting, status pills, horizontal scroll), object ā KPI tiles.
The HTML is self-contained: no external scripts, no fetch, no remote fonts. It declares
csp: {}ā it asks for no network, so the host's deny-by-default sandbox has nothing to block.The brand is ours, the theme is the host's. The view adopts the host's CSS variables (
hostContext.styles.variables) to blend into the chat, but only those in the extension's contract (--color-*,--font-*): the FreeTicket logo and brand accent are not overridable. On a theme change it setsdata-themeandcolor-scheme, otherwiselight-dark()would follow the OS and the view would render light inside a dark chat.It listens only to the frame that mounted it (
event.source), reports its height withui/notifications/size-changed, formats currency in the host's locale, and answersui/resource-teardownso unmounting is clean.Hosts without the extension (or terminal clients) ignore
_metaand see the same text as always: nothing breaks.
49 tools with a view (v0.20.0) ā every list and every report. Details
(*_get) and writes deliberately have none: a lone object or a delete
acknowledgement gains nothing from a table, and drawing one suggests there is
data where there is not. src/ui.test.ts mounts the real view in jsdom and
fails if a new list registers without _meta.ui, if the host manages to
override the branding, or if an API payload renders unescaped.
Support and privacy
Support: soporte@freeticket.us, or open an issue at AppFreeticket/freeticket-mcp.
Privacy policy: appfreeticket.com/legal/privacidad. The server is stateless: it keeps no log or store of tool results.
Development
pnpm install
pnpm generate # regenerates src/client/, src/admin-client/ and src/public-client/ from the specs
pnpm dev # runs the server over stdio
pnpm typecheck && pnpm testContracts this build targets: B2B 1.45.0, superadmin 1.8.0, public
0.10.1. All three are served by free-admin and are the only source of
truth, on separate semver lineages. To propagate a backend change, use the
contract-sync agent from the
ai-native umbrella ā and check for
drift first: what free-admin serves today may already be ahead of the numbers
above.
MIT.
Available Tools
6 toolspublic_events_availabilityA
Stock en vivo por fecha y tipo de ticket (GET /public/events/{slug}/availability). Consultar antes de armar una orden.
Inputs: slug (required).
public_events_getA
Detalle pĆŗblico de un evento por slug (GET /public/events/{slug}).
Inputs: slug (required).
public_events_listA
CatÔlogo público de eventos publicados (GET /public/events). Descubrimiento B2C, sin login.
Inputs: q, to, city, from, +3 more.
public_orders_createA
Crea una orden B2C y devuelve el link de pago de Mercado Pago (POST /public/orders). El agente NUNCA procesa el pago: entrega la checkoutUrl al comprador para que pague. Solo admisión general (no numerado / no members-only) de un mismo organizador. ConsultÔ el stock con public_events_availability antes.
Inputs: items (required), buyerName (required), buyerEmail (required), buyerPhone.
public_orders_getA
Estado de una orden B2C ā pending | paid | expired | cancelled ā y los tickets al pagar (GET /public/orders/{id}).
Inputs: id (required).
public_tickets_resendA
ReenvĆa el QR/email de un ticket al correo del comprador (POST /public/tickets/{code}/resend). Rate-limited; el email va siempre al correo original de la compra.
Inputs: code (required), email.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogā¦
TDQS
Scored across 6 tools
Each tool targets a distinct resource-action pair (events availability, events detail, events list, orders create, orders get, tickets resend) with no functional overlap.
All tools follow a consistent 'public_{resource}_{action}' pattern using snake_case, making it predictable for an agent.
With 6 tools, the server is well-scoped for B2C event browsing and order management, covering the essential workflows without bloat.
The set covers the main user journey (browse, check stock, create order, check status, resend ticket) but lacks a cancel order tool, which is a minor gap.
Maintenance
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Marketo MCP server for AI. 130 tools to operate Marketo from Claude, Cursor, or ChatGPT.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for eventos event management platform, enabling AI assistants to manage events and tickets via API integration. Supports authentication, ticket CRUD operations, and listing with pagination.1MIT

thinker-mcpofficial
FlicenseNot gradedqualityDmaintenanceMCP server for thinker-ci, exposing tickets, CI/CD pipelines, project management data, and AI-agent sessions as tools and resources for Claude Code and other MCP clients.-- FlicenseNot gradedqualityCmaintenanceExposes ChatATP Studio's backend API as MCP tools over Streamable HTTP, enabling clients to manage agents, knowledge bases, MCP connections, HTTP APIs, LLM providers, messaging platforms, and teams with forwarded authorization.-
- AlicenseNot gradedqualityNot gradedmaintenanceTurns any OpenAPI/Swagger or REST API into callable MCP tools for Claude, ChatGPT, Copilot, and Cursor, with secure authentication and role-based access control.3AGPL 3.0