ai

Onboarding took two days. Now it takes two hours.

Onboarding took two days. Now it takes two hours.

Moving a club onto 1club used to cost us about two working days of a person's time. The club would arrive with its members in one export, its plans in a spreadsheet, its payment history in whatever the card processor produced, and its class schedule in a third format again. Someone on our side would reconcile all of it into our format, load it, find the rows that hadn't matched, fix them, and load again. It was the slowest part of signing a customer, and also where a wrong date was most likely to end up on a membership.

That's now one to two hours, with fewer mistakes, because we stopped being the only ones allowed to drive the platform.

Two doors

mcp.1club.ai hosts two Model Context Protocol servers. /discovery is anonymous. It can search clubs and check class, area and instructor availability, which is everything a member could see on the public marketplace and nothing an organisation would consider private. /admin is the one this post is about. It requires OAuth 2.1, or a platform API key for developer-managed clients, and every response is limited to the one organisation the connection was granted for.

Behind /admin there are now around seventy-five tools, and every one of them is a thin wrapper over the documented platform API, the same /v1/platform/* endpoints a customer's own integration would call. Nothing reaches the database that the API wouldn't let through. That was the first rule we set, that the MCP server is a new way to call the API and not a new API, and it has held.

Scopes, not trust

Each tool needs a scope (contacts:read, bookings:write, website:publish, thirty-odd in total) and the scope has to be on the OAuth grant or the key. A connection with website:write but not website:publish can rebuild a club's site all afternoon on a draft that isn't visible outside, and the decision to make it live still belongs to a person. Deleting a contact is contacts:delete, separate from contacts:write, because "correct this email address" and "retire this person, cancelling their memberships and future bookings" should not ride on the same permission.

We argued about the wildcard longer than about anything else. A client may request *, and it's expanded at consent time into the full list of scopes that exist that day, and the expansion is what gets stored. A stored * would silently widen every existing grant each time we shipped a new capability, and the consent screen could never show a user a write they hadn't opted into. So the first thing we tell every connecting assistant is to call get_account, read effectiveScopes, and expect anything outside that list to fail.

The scope list lives in a shared package the rest of the platform imports. The MCP server can't import it, because it deploys standalone and builds with plain tsc, so it carries a copy, and an architecture test in the main repository reads the copy's source and fails the build if the two lists drift. Four surfaces used to hardcode that list, and they did drift. A scope missing from the metadata is a scope no client can ask for, and the grant freezes.

Onboarding, reports, billing

Onboarding. The bulk load now goes through the AI import in the admin portal. It reads the export, proposes the column mapping, previews what would be created, and executes once a person agrees. Then the same person sits in Claude or ChatGPT with the admin server connected and lets the assistant work through the leftovers that never fit a CSV, one odd case at a time (create_membership, create_booking, update_contact). The two days were mostly the leftovers, and the hours now are mostly review. Every step is a preview before it's a write, and every write goes through the same validated API as the admin portal, so the mistakes we used to find weeks later in a membership with the wrong end date have largely stopped appearing.

Reports. We expected this to be an engineering tool and it became a customer one. Club owners connect their own assistant and ask the questions they used to email us: how did Tuesday evenings do this quarter, which plans are churning, what does utilisation look like by court. The assistant pulls the data through the read scopes and renders a report. Early on those came back in whatever colours the model felt like, so we added get_report_theme. It needs no scope and makes no request, it just hands over our palette, chart colours, wordmark and a self-contained HTML template. It sits second in the tool list, right after get_account, because anything in the middle of seventy entries gets overlooked. The template links to nothing. The surfaces these documents render on block every external request, so a linked font or logo doesn't degrade, it vanishes. A test asserts that.

Billing that heals. We didn't design for this one. Ask the assistant to list last week's transactions with a failed or pending status and check them against the memberships they should have paid for, and it finds the ones that do not line up: the charge that failed while the membership stayed active, the payment recorded twice, the booking paid for and never attended. Where a tool exists to put it right (amend the membership, cancel the booking) it proposes the fix and, with the scope, makes it. Where there isn't one, it hands the person a list and a link into the portal. That reconciliation used to happen when a customer noticed. Now it happens on a Monday morning because someone asked.

The descriptions are the interface

We never had to trust the model. The work needed a platform with an API worth exposing and a permission model fine enough that a client can be given only what it needs, plus the habit of previewing before writing, which we already had for humans. The MCP server added a protocol on top and a description on every tool, and the descriptions became the interface. The model never sees the code, only the paragraph, so the engineering went into the paragraph.

Two days to two hours is the number we quote. The one we watch is how many migrations we had to do twice, and that one has fallen furthest.

Deyan Peev

Founding Engineer in Sofia, Bulgaria. Currently at 1club.

© 2026 Deyan Peev