π§ Mindbody MCP Server
A comprehensive Model Context Protocol (MCP) server that provides AI assistants with complete access to the Mindbody API for fitness and wellness studio management. Perfect for yoga studios, pilates studios, gyms, and wellness centers.
β¨ Features
50+ Tools covering every aspect of studio operations
Complete Class Management - View schedules, book clients, manage waitlists, substitute teachers
Client Management - Add/update clients, track visits, memberships, and balances
Sales & Commerce - Process payments, sell packages, memberships, and retail products
Staff Management - View schedules, manage appointments, track availability
Multi-Location Support - Manage multiple studio locations seamlessly
High Performance - Built on Bun runtime with intelligent caching
Type-Safe - Full TypeScript support with comprehensive types
Dual Transport Support - STDIO for local development, SSE for production deployment
π Quick Start
Installation with npx (Node.js)
Installation with bunx (Bun - 4x faster)
Install from GitHub
π Prerequisites
Node.js 18+ or Bun 1.0+
Mindbody API credentials (API Key, Site ID, Source credentials)
Claude Desktop or any MCP-compatible client
βοΈ Configuration
1. Get Mindbody API Credentials
Sign up for a Mindbody Developer Account
Create a new app to get your API credentials
Note your Site ID (use -99 for sandbox testing)
2. Set Environment Variables
Create a .env file in your project root:
3. Configure Claude Desktop
Add to your Claude Desktop configuration:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Or use the GitHub repository directly:
π οΈ Available Tools
The server provides 50+ tools across 7 categories:
π Class Management
getClasses- View all classes with filtersgetClassDescriptions- List class typesgetClassSchedules- View recurring schedulesaddClientToClass- Book clients into classesremoveClientFromClass- Cancel bookingsgetWaitlistEntries- Manage waitlistssubstituteClassTeacher- Handle substitutions
π₯ Client Management
getClients- Search and retrieve clientsaddClient- Register new clientsupdateClient- Update client informationgetClientVisits- View attendance historygetClientMemberships- Check active membershipsaddClientArrival- Check-in clientsgetClientAccountBalances- View account balancesgetClientContracts- View contracts
π° Sales & Commerce
getServices- View available servicesgetPackages- List class packagesgetProducts- Browse retail productsgetContracts- View membership optionscheckoutShoppingCart- Process purchasespurchaseContract- Sell memberships
π’ Site & Locations
getSites- Get business informationgetLocations- List all locationsgetPrograms- View programs offeredgetResources- Manage resourcesgetSessionTypes- List session typesgetStaff- View all staff membersgetTeacherSchedule- Teacher schedules
π Appointments
getStaffAppointments- View appointmentsaddAppointment- Book appointmentsupdateAppointment- Modify appointmentsgetBookableItems- Find available slotsgetActiveSessionTimes- Check availabilitygetScheduleItems- View schedules
π Enrollments
getEnrollments- View courses/workshopsaddClientToEnrollment- Register for coursesgetClientEnrollments- View client enrollments
π¬ Example Usage in Claude
Once configured, you can ask Claude:
ποΈ Development
Local Development
Project Structure
π SSE Deployment (Production)
The server supports SSE (Server-Sent Events) transport for production deployment, enabling web-based clients and remote access.
Quick Start with SSE
Docker Deployment
Production Configuration
Configure via environment variables:
MCP_TRANSPORT=sse- Enable SSE transportMCP_PORT=3000- Server portMCP_HOST=0.0.0.0- Server hostMCP_CORS_ORIGIN=https://yourdomain.com- CORS configurationMCP_SSL_CERT=/path/to/cert.pem- SSL certificate (optional)MCP_SSL_KEY=/path/to/key.pem- SSL private key (optional)
Endpoints
/health- Health check endpoint/info- Server information/sse- SSE event stream for MCP communication
For detailed deployment instructions, see SSE Deployment Guide.
π§ͺ Testing
π¦ Publishing
The package is available on:
GitHub Packages: vespo92/MindbodyMCP
π Security
API credentials are stored securely via environment variables
OAuth 2.0 authentication with automatic token refresh
No credentials are logged or exposed
Regular security audits via GitHub Actions
β‘ Performance
Bun Runtime: 4x faster startup than Node.js
Intelligent Caching: 5-minute cache for dynamic data, 60-minute for static
Automatic Retry: Exponential backoff for failed requests
Rate Limiting: Respects Mindbody's 2000 requests/hour limit
π€ Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Fork the repository
Create your feature branch (
git checkout -b feature/AmazingFeature)Commit your changes (
git commit -m 'Add some AmazingFeature')Push to the branch (
git push origin feature/AmazingFeature)Open a Pull Request
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Acknowledgments
Mindbody API for providing comprehensive fitness studio APIs
Anthropic MCP SDK for the Model Context Protocol
Bun for the blazing fast JavaScript runtime
π Support
Issues: GitHub Issues
Discussions: GitHub Discussions
Email: vinnie@vespo92.com
π Roadmap
Webhook support for real-time updates
Advanced reporting and analytics tools
Multi-site synchronization
AI-powered recommendations
Mobile app integration
GraphQL API layer