from the team behind Truto
Connect ClubReady to ChatGPT: Manage Gym Sales and Member Records
Riya Sethi
10 min read
The best way to connect ClubReady to ChatGPT is Elaichi: connect ClubReady to Elaichi once, then add Elaichi to ChatGPT as a connector. Two steps, about a minute, with a 14‑day free trial and no credit card required.
-
Start your free trial
14 days free, no credit card required.
-
Connect ClubReady
Once, in Elaichi. ChatGPT never gets more access than you have.
-
Add Elaichi to ChatGPT
In ChatGPT, open Plugins, press +, and paste the URL into Server URL. Sign in and approve.
https://api.elaichi.ai/mcp
Building ClubReady into your own product? The guide below is for you. Read the guide ↓ Start free on Truto →
The developer guide
Learn how to build a managed MCP server to connect ClubReady to ChatGPT. Automate gym sales, class bookings, and member records using AI agents.
If you need to connect ClubReady to ChatGPT to automate front desk operations, manage member agreements, or orchestrate class bookings, you need a Model Context Protocol (MCP) server. This server acts as the translation layer between ChatGPT's tool calling capabilities and ClubReady's REST APIs. You can either build and maintain this infrastructure yourself, or use a managed integration platform like Truto to dynamically generate a secure, authenticated MCP server URL based on real-time API documentation.
If your team uses Claude, check out our guide on connecting ClubReady to Claude or explore our broader architectural overview on connecting ClubReady to AI Agents.
Giving a Large Language Model (LLM) read and write access to a specialized gym management platform like ClubReady is a massive engineering challenge. You have to handle multi-location scoped requests, map complex stateful sales workflows to discrete MCP tool definitions, and deal with non-standard pagination. Every time a developer adds a new custom category or modifies an integration requirement, your custom server code must be updated, redeployed, and tested.
This guide breaks down exactly how to use Truto to generate a secure, managed MCP server for ClubReady, connect it natively to ChatGPT, and execute complex gym workflows - like full membership sales and class scheduling - using natural language.
The Engineering Reality of the ClubReady API
A custom MCP server is a self-hosted integration layer. While the open MCP standard provides a predictable JSON-RPC interface for models to discover tools, implementing it against ClubReady's specific API architecture is exceptionally painful.
If you decide to build a custom MCP server for ClubReady, you own the entire API lifecycle. Here are the specific integration challenges that break standard CRUD assumptions when working with ClubReady:
Mandatory Multi-Location Routing Context
Unlike standard SaaS platforms where a single API token scopes to a single global account, ClubReady operates on a franchise model. Almost every meaningful endpoint requires a StoreId or ChainId context to function. When an LLM asks "Get me the schedule for today", your custom MCP server must inject the correct StoreId into the payload. If you expose raw ClubReady endpoints directly to ChatGPT, the LLM will hallucinate StoreId values or fail entirely. Truto handles this by scoping the integrated account connection to specific stores, automatically injecting the correct location context into the proxy API call without requiring the LLM to know the internal IDs.
Stateful and Multi-Step Sales Workflows
ClubReady's sales API is not a simple POST /sales. Selling a package to a member requires orchestrating a stateful transaction. First, you must call POST /sales/agreement/add with the MemberId and PackageId to create an incomplete agreement. ClubReady returns an IncompleteAgreementToken. You must then immediately pass that token, along with payment details, to POST /sales/agreement/sale to finalize the transaction. Building static MCP schemas for this means writing middleware that either holds state or instructs the LLM exactly how to chain these tokens together. Truto's auto-generated tools extract these specific required fields from the documentation, forcing the LLM to pass the exact tokens required to complete the chain.
Short-Page Pagination
ClubReady does not use modern cursor-based pagination for user lookups. Endpoints like GET /users/find use a PageNumber and PageSize (defaulting to 100) approach, instructing the client to continue requesting pages until it hits a "short page" (a response with fewer than the requested page size). If your AI agent needs to compile a list of all active staff across a large chain, your MCP server has to handle this pagination logic internally or risk the LLM timing out while attempting to loop through pages manually.
Generating a ClubReady MCP Server
Truto's architecture solves these problems by dynamically generating MCP tools based on the underlying integration's configured resources and documentation records. You do not write JSON-RPC handlers for ClubReady. Instead, you create an MCP token that acts as a secure, authenticated gateway for ChatGPT.
There are two ways to generate this server in Truto: via the UI, or programmatically via the API.
Method 1: Creating the Server via the Truto UI
For internal testing or one-off AI assistant deployments, the Truto UI provides a fast path to generating a server URL.
- Log into your Truto dashboard and navigate to Integrated Accounts.
- Select your connected ClubReady account (ensure the OAuth flow is complete and the connection is active).
- Click the MCP Servers tab on the account detail page.
- Click Create MCP Server.
- Configure your server constraints. You can filter by HTTP methods (e.g., only
readoperations for a read-only reporting agent) or by tags (e.g., only exposesalesanduserstools). - Click Generate and copy the resulting URL. It will look like
https://api.truto.one/mcp/<secure-token>.
Method 2: Creating the Server via the API
For production workflows where you deploy AI agents programmatically for your customers, you should generate MCP servers via the Truto API. This allows you to scope access on the fly.
Execute a POST request to the /integrated-account/:id/mcp endpoint using your Truto API token:
curl -X POST https://api.truto.one/integrated-account/<integrated_account_id>/mcp \
-H "Authorization: Bearer <your_truto_api_token>" \
-H "Content-Type: application/json" \
-d '{
"name": "ClubReady Front Desk Agent",
"config": {
"methods": ["read", "write"],
"tags": ["users", "scheduling", "sales"]
},
"expires_at": "2026-12-31T23:59:59Z"
}'Truto will validate that the ClubReady integration actually has documented tools available for those filters, hash the token securely, and return the database record along with the URL:
{
"id": "abc-123",
"name": "ClubReady Front Desk Agent",
"config": {
"methods": ["read", "write"],
"tags": ["users", "scheduling", "sales"]
},
"expires_at": "2026-12-31T23:59:59.000Z",
"url": "https://api.truto.one/mcp/a1b2c3d4e5f6..."
}Treat this url as a highly privileged credential. It encodes the authentication needed to interact with the specific ClubReady tenant.
A Critical Note on API Rate Limits
When connecting ChatGPT to high-volume tools, rate limiting is a major concern. Truto does not retry, throttle, or apply backoff on rate limit errors. When the upstream ClubReady API returns an HTTP 429 Too Many Requests, Truto passes that error directly to the caller.
Truto normalizes upstream rate limit info into standardized headers (ratelimit-limit, ratelimit-remaining, ratelimit-reset) strictly adhering to the IETF specification. The caller (in this case, your custom ChatGPT client or orchestrator) is strictly responsible for inspecting these headers, pausing execution, and implementing retry and backoff logic. Do not build AI agents assuming the integration layer will magically absorb 429s.
Connecting the MCP Server to ChatGPT
Once you have your https://api.truto.one/mcp/<token> URL, you can connect it directly to ChatGPT. The MCP protocol handles the handshake, tool discovery, and JSON-RPC execution.
Method A: Via the ChatGPT UI
If you are using ChatGPT Pro, Plus, Business, Enterprise, or Education accounts, you can attach the MCP server directly in the interface.
- Open ChatGPT and navigate to Settings -> Apps -> Advanced settings.
- Toggle Developer mode to ON.
- Under the MCP servers / Custom connectors section, click Add a new server.
- Enter a recognizable name, such as "ClubReady Operations".
- Paste the Truto MCP server URL into the Server URL field.
- Click Save.
ChatGPT will immediately ping the endpoint, perform the MCP handshake, and populate its context window with the available ClubReady tools.
Method B: Via Manual Config File (Local / CLI)
If you are orchestrating agents locally via a framework or running a custom desktop client that supports standard MCP configuration files, you can connect using the official Server-Sent Events (SSE) wrapper.
Create a JSON configuration file (e.g., clubready-mcp.json) in your agent's config directory:
{
"mcpServers": {
"clubready_mcp": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sse",
"--url",
"https://api.truto.one/mcp/<token>"
]
}
}
}When your AI framework boots, it will execute the npx command, establish the SSE connection to Truto's JSON-RPC endpoint, and map all ClubReady methods to callable Python or TypeScript functions.
ClubReady Hero Tools
Truto dynamically derives tool names and schemas from the integration's documentation records. The tools are explicitly flattened into a single input namespace, making it easy for the LLM to pass arguments without worrying about URL parameters versus JSON body payloads.
Here are the highest-leverage hero tools for ClubReady available through your MCP server.
find_a_member
Maps to GET /users/find. This is the foundational tool for almost every workflow. It allows the agent to search the ClubReady database for a specific member to retrieve their internal UserId, which is required for booking classes, selling agreements, and checking in.
"Search our system for a member named John Doe and give me his UserId."
get_class_schedule
Maps to GET /scheduling/class-schedule. Retrieves the schedule for the location. It accepts FromDate and ToDate (max 7 days). If dates are omitted, it defaults to today's classes. This gives the AI context on what classes are available before attempting to book a user.
"What fitness classes are on the schedule for tomorrow? Please list the class names and their Schedule IDs."
create_a_class_booking
Maps to POST /scheduling/class-booking. Books a user into a specific class. The LLM must pass the UserId (obtained from the find member tool) and the ScheduleId (obtained from the class schedule tool).
"Book John Doe (UserId 99482) into the HIIT class at 5 PM (ScheduleId 10293)."
check_user_into_club
Maps to POST /users/checkin. Handles front-desk check-ins using a user's barcode. This allows the AI agent to act as an automated front desk or kiosk interface.
"Process a check-in for the member holding barcode 001928374."
set_up_a_package_to_sell
Maps to POST /sales/agreement/add. The crucial first step in the stateful sales process. It sets up a package for an existing user and returns the IncompleteAgreementToken.
"Start the process to sell the 10-Class Pack (PackageId 445) to Sarah Smith (MemberId 88372). I need the incomplete agreement token to finalize it."
sell_a_package_to_an_existing_user
Maps to POST /sales/agreement/sale. The final step in the sales process. It consumes the IncompleteAgreementToken and the payment amount to complete the transaction.
"Finalize the sale for Sarah Smith using IncompleteAgreementToken 'xyz-789'. The payment amount is $150.00."
These represent only a fraction of the available operations. For the complete tool inventory, including detailed JSON Schema requirements for query and body parameters, visit the ClubReady integration page.
Workflows in Action
Giving ChatGPT access to discrete tools is useful, but the real power of MCP emerges when the model orchestrates multi-step workflows. Here are three concrete, persona-specific examples of how an AI agent navigates the ClubReady API using Truto's tools.
Workflow 1: The Automated Front Desk
A gym member texts the facility's AI concierge asking to join a class tonight.
"I want to take the 6 PM Spin class tonight. My name is Alex Carter."
list_all_club_ready_users: ChatGPT calls the user lookup tool with the query "Alex Carter" to locate the member's profile and extracts theirUserId(e.g., 55431).list_all_club_ready_class_schedules: The model queries the schedule for today's date to find theScheduleIdfor the "6 PM Spin" class (e.g., 99210).club_ready_booking_eligibility_lookup: (Optional but smart) The LLM checks if Alex is eligible to book this class (e.g., verifying they have sufficient credits).create_a_club_ready_class_booking: ChatGPT executes the booking by passingUserId: 55431andScheduleId: 99210.
Output: The user receives a confirmation text: "You are all set, Alex! I've booked you into the 6 PM Spin class. See you tonight."
Workflow 2: Complex Membership Sales
A sales representative instructs the internal AI assistant to process a new package sale for an existing lead.
"Sell the standard monthly membership (Package ID 105) to our prospect, David Chen. Charge his card on file for $75."
sequenceDiagram
participant Agent as ChatGPT Agent
participant MCP as Truto MCP Server
participant ClubReady as ClubReady API
Agent->>MCP: call: list_all_club_ready_users (David Chen)
MCP->>ClubReady: GET /users/find
ClubReady-->>MCP: Returns MemberId: 77211
MCP-->>Agent: MemberId: 77211
Agent->>MCP: call: create_a_club_ready_agreement (MemberId: 77211, PackageId: 105)
MCP->>ClubReady: POST /sales/agreement/add
ClubReady-->>MCP: Returns IncompleteAgreementToken: "TOKEN-442"
MCP-->>Agent: Token: "TOKEN-442"
Agent->>MCP: call: create_a_club_ready_agreement_sale (Token: "TOKEN-442", Amount: 75.00)
MCP->>ClubReady: POST /sales/agreement/sale
ClubReady-->>MCP: 200 OK (Sale Success)
MCP-->>Agent: Sale CompletedOutput: ChatGPT successfully navigates the stateful, two-step API requirement without human intervention, responding: "The monthly membership has been successfully sold to David Chen for $75."
Workflow 3: Class Roster Management
A fitness instructor wants a briefing on their upcoming class.
"Who is on the roster and the waitlist for my 8 AM Yoga class tomorrow?"
list_all_club_ready_class_schedules: ChatGPT fetches tomorrow's schedule to find the 8 AM Yoga class and itsScheduleId.club_ready_class_rosters_lookup: The model calls the roster tool using theScheduleId, returning the lists of booked and waitlisted users.get_single_club_ready_user_by_id: For any users the LLM needs more context on, it can fetch individual summaries.
Output: ChatGPT generates a clean, formatted list of the booked attendees and the current waitlist, fully localized to the instructor's specific store.
Security and Access Control
Handing an LLM the keys to your gym management system requires strict governance. Truto implements several layers of security to ensure your MCP servers operate with the principle of least privilege.
- Method Filtering: When generating an MCP token, you can restrict it to specific operations via the
config.methodsarray. Setting this to["read"]ensures the LLM can only executegetandlistoperations, physically preventing it from creating sales or modifying user records. - Tag Filtering: You can scope the server by functional area using the
config.tagsarray. Setting tags to["scheduling"]hides all sales, billing, and global user directory tools from the AI entirely. - Secondary Authentication: Setting
config.require_api_token_auth: truemeans possession of the MCP URL is not enough. The connecting client must also pass a valid Truto API token in the Authorization header. This is critical for zero-trust environments. - Automated Expiration: Every MCP server can be provisioned with an
expires_attimestamp. Once that time passes, Truto's distributed Durable Object alarms automatically clean up the server, sweeping the tokens from both the primary database and the edge KV stores to ensure zero stale access remains.
Summary
Connecting ClubReady to ChatGPT using custom integration code means signing up for months of maintenance. You have to handle ClubReady's multi-location routing constraints, build stateful handlers for its sales workflows, and manage complex pagination loops.
By leveraging Truto's auto-generated MCP servers, you eliminate the integration layer entirely. You simply point ChatGPT at a secure, curated URL, and let the model map its natural language intent directly to ClubReady's documented endpoints. This architecture allows you to focus on building intelligent agent behaviors rather than debugging API request headers.
FAQ
- What is the easiest way to connect ClubReady to ChatGPT?
- The best way to connect ClubReady to ChatGPT is Elaichi: connect ClubReady to Elaichi once, then add Elaichi to ChatGPT as a connector. Two steps, about a minute, with a 14-day free trial and no credit card required.
- How do I handle ClubReady's StoreId requirement with an LLM?
- Truto manages the StoreId context automatically at the integrated account level. The LLM does not need to know or guess the internal StoreId; Truto securely injects the correct location data into the API proxy call during execution.
- Does Truto automatically retry ClubReady rate limit errors?
- No. Truto does not retry or apply backoff on rate limit errors. If ClubReady returns an HTTP 429, Truto passes the error back to the caller (ChatGPT) along with standard IETF rate limit headers. The client is responsible for handling retries.
- Yes. When you generate the MCP server in Truto, you can use Method Filtering (e.g., limiting to 'read' only) or Tag Filtering (e.g., limiting to 'scheduling' only). Tools outside of these filters will not be exposed to the LLM.
- How does the AI handle ClubReady's two-step membership sales process?
- Truto generates discrete tools for each step. The LLM is instructed via the schema to first call the agreement creation tool to obtain an IncompleteAgreementToken, and then immediately pass that token into the final sale execution tool.