API, MCP and CLI

Built for the agent era

Other booking systems were built for people clicking around a dashboard. ClubBrain does that and the next thing too: agents that read your club, write to it and act in it. Open API, MCP server, CLI. Not a bolt on, that is how it is built.

  • One line of code puts your events on your own website
  • An open API and an MCP server, so an agent can run the boring half
  • Your data in and out whenever you want it. No fee, no notice.

Your events, on your website

One line of code. Your matches and tournaments, live on your own site.

Paste this where the events should show up:

<div id="ace-events"></div>
<script src="https://www.aceplay.app/embed/club.js"
  data-key="YOUR_EMBED_KEY"
  data-target="ace-events"
  data-past="5"
  defer></script>

No build step, no dependencies, no plugin. It runs on WordPress, Wix, Webflow, Squarespace or a hand written HTML page. Generate the key in ClubBrain under Integrations, paste it in, done.

  • Open matches with the players already in: name, photo, level, free spots and the level range.
  • Upcoming tournaments with seats left, and finished ones with their champions.
  • Every card links straight to Ace, where a player joins in one tap.
  • Speaks the visitor's language (EN, CS, SK, RU, UK) and follows their dark mode.
  • Inherits your font and takes your colours through CSS variables, so it looks like your site, not like ours.

A completely open API

Want your own design, your own front end, your own workflow? Take the data and build it.

One GET, CORS open, no auth headers:

GET https://www.aceplay.app/api/club/events?key=YOUR_EMBED_KEY&limit=8&past=5

Everything the app does.

Courts, reservations, price bands, members, tournaments, payments. If a person can do it in ClubBrain, you can do it from your own code.

White label all the way down.

Build your own booking page, push reservations from your CRM, feed your reporting. Players never have to see our name anywhere.

Keys you control.

Generate a key, revoke it in one click. The website key is public by design: it picks which club's already public events to show and authorises nothing else.

Your club, agent ready

MCP is how an AI assistant talks to a system. Connect your club to Claude, ChatGPT or whatever you use, and just ask.

  • Which slots stayed empty last month, and at what hours?
  • Open an Americano for level 3.0 to 4.0 on Thursday at seven and tell the members.
  • How much came in through card payments in September, court by court?
  • Who hasn't played here since June? Draft a message for them.

You keep the permissions. The assistant reads what you let it read, writes what you let it write, and every change lands in the same activity log your team already sees.

Players get one too

Every player on Ace can connect their own account to an assistant and ask why their level moved or what's open near them tonight. Read only, and never contact details. That's where this whole thing started, and it has been running since April 2026.

How the player MCP server works

Connect it once:

{
  "mcpServers": {
    "ace": {
      "url": "https://aceplay.app/mcp",
      "headers": { "Authorization": "Bearer ace_YOUR_KEY" }
    }
  }
}

And a CLI, for people who prefer a terminal

Bulk imports, exports, scripted jobs and one off fixes without clicking through a dashboard. Same API underneath, so anything you can script by hand, an agent can run for you on a schedule.

Your club, your data

Import your bookings and your member base when you arrive. Export all of it whenever you want, in a format you can actually open. No notice period, no export fee, nothing held hostage. Player profiles belong to players, club data belongs to the club.

Agent first, not agent washed

Every integration ships with a copy ready prompt. Paste it into Claude Code, Cursor or Codex together with your key and it wires ClubBrain into your site, your tools or your stack while you make coffee. Nobody on your team has to read a manual.

Building something on top of your club?

Tell us what you want to wire up. Half an hour, your courts, your stack.