# Mindbody — how to use (mcp.ai)

Connect your Mindbody account and use 8 tools for fitness straight from your AI agent. Connect with your own API key. Mindbody provides scheduling, client management, commerce, and business operations software for fitness, wellness, and beauty businesses.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_mindbody?ms=1787295900000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `mindbody_list_accessible_sites`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/mindbody`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/mindbody/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/mindbody/list/accessible/sites` — List Mindbody sites accessible to the connected API key, or retrieve fuller details by filtering to one site ID.
  - body: { limit?: integer, site_ids?: integer[], next_cursor?: string, include_lead_channels?: boolean, include_per_staff_pricing?: boolean }
- `POST https://api.mcp.ai/api/mindbody/list/active/session/times` — List configured business-hour time slots and booking increments. This does not report actual appointment availability.
  - body: { limit?: integer, end_time?: string, start_time?: string, next_cursor?: string, schedule_type?: string, session_type_ids?: integer[] }
- `POST https://api.mcp.ai/api/mindbody/list/classes` — Search scheduled class instances by date, location, program, session type, instructor, or known class IDs.
  - body: { limit?: integer, class_ids?: integer[], staff_ids?: integer[], next_cursor?: string, program_ids?: integer[], location_ids?: integer[], semester_ids?: integer[], end_date_time?: string, modified_since?: string, start_date_time?: string, session_type_ids?: integer[], class_schedule_ids?: integer[], class_description_ids?: integer[], hide_canceled_classes?: boolean, within_scheduling_window?: boolean }
- `POST https://api.mcp.ai/api/mindbody/list/enrollments` — Search scheduled multi-session enrollments such as workshops and events by date and business resource IDs.
  - body: { limit?: integer, end_date?: string, staff_ids?: integer[], start_date?: string, next_cursor?: string, program_ids?: integer[], location_ids?: integer[], session_type_ids?: integer[], class_schedule_ids?: integer[] }
- `POST https://api.mcp.ai/api/mindbody/list/locations` — List physical or online locations configured for the connected Mindbody site.
  - body: { limit?: integer, next_cursor?: string }
- `POST https://api.mcp.ai/api/mindbody/list/session/types` — List service and session types configured at the connected Mindbody site, including IDs used by schedule and availability searches.
  - body: { limit?: integer, next_cursor?: string, online_only?: boolean, program_ids?: integer[] }
- `POST https://api.mcp.ai/api/mindbody/list/staff` — List basic staff directory records available to the connected API key, with optional role, activity, and ID filters.
  - body: { limit?: integer, filters?: string[], staff_ids?: integer[], next_cursor?: string, include_inactive?: boolean }
- `POST https://api.mcp.ai/api/mindbody/search/products` — Search the connected site's read-only retail product catalog by text, IDs, categories, location, or online-sale status.
  - body: { limit?: integer, location_id?: integer, next_cursor?: string, product_ids?: string[], search_text?: string, sell_online?: boolean, category_ids?: integer[], sub_category_ids?: integer[], secondary_category_ids?: integer[] }

## Example prompts
- "What can I do in Mindbody?"
- "Show me a summary of my Mindbody account"

## More
- Page: https://mcp.ai/mindbody
- Agent spec (llms.txt): https://mcp.ai/mindbody/llms.txt
- Postman collection: https://mcp.ai/mindbody/postman.json
