Wix Bookings MCP Server
Create a powerful Model Context Protocol (MCP) server for Wix Bookings in minutes with our AI Gateway. This guide walks you through setting up seamless scheduling and appointment management integration with enterprise-grade security and instant OAuth authentication.
About Wix Bookings API
Wix Bookings is a comprehensive scheduling and appointment management platform for service-based businesses. The Bookings API provides programmatic access to:
- Service Catalog: Manage bookable services with pricing and duration
- Staff Management: Create and manage staff members and resources
- Booking Operations: Create, confirm, cancel, and reschedule appointments
- Availability: Query available time slots for booking
- Calendar Integration: View and manage calendar events
- Customer Portal: Integration with online booking interfaces
Key Features
- Service Types: APPOINTMENT (one-on-one), CLASS (group sessions), COURSE (multi-session)
- Resource Scheduling: Staff availability and resource allocation
- Real-time Availability: Dynamic slot availability queries
- Booking Workflows: Confirmation, cancellation, and rescheduling flows
- Calendar Events: Unified view of bookings and blocked times
- Payment Integration: In-person and online payment options
- Custom Forms: Booking form customization
- Multi-location: Support for multiple business locations
What You Can Do with Wix Bookings MCP Server
The MCP server transforms Wix Bookings API into a natural language interface, enabling AI agents to:
Service Management
-
Service Operations
- "Create a new 30-minute haircut service priced at $45"
- "List all available appointment services"
- "Update the yoga class capacity to 20 participants"
- "Hide the massage service from online booking"
-
Service Configuration
- "Set up a 60-minute consultation with online booking enabled"
- "Configure payment options for in-person services"
- "Add multiple session durations to a service"
- "Update service descriptions and taglines"
Staff & Resource Management
-
Staff Operations
- "Add a new staff member named Jane Smith"
- "List all staff members and their assigned services"
- "Update staff contact information"
- "Assign staff to specific services"
-
Availability Configuration
- "Check staff availability for next week"
- "View blocked time periods for each staff member"
- "Set up working hours for new employees"
- "Manage resource scheduling conflicts"
Booking Management
-
Appointment Booking
- "Book a haircut for John Doe tomorrow at 2 PM"
- "Create a class reservation for 5 participants"
- "Schedule a consultation with a specific staff member"
- "Book using an available session slot"
-
Booking Operations
- "Confirm the pending booking for customer Jane"
- "Cancel tomorrow's 3 PM appointment with notification"
- "Reschedule the booking to next Friday at 10 AM"
- "List all confirmed bookings for this week"
-
Booking Queries
- "Show all upcoming bookings for today"
- "Find bookings for a specific service"
- "List pending bookings awaiting confirmation"
- "Get booking details by customer email"
Calendar & Availability
-
Availability Queries
- "Find available slots for haircut service next week"
- "Check availability for a specific staff member"
- "Show open spots for yoga class on Saturday"
- "Get bookable time slots for the next 7 days"
-
Calendar Management
- "View all calendar events for this month"
- "Show staff schedules and blocked times"
- "List booking conflicts and overlaps"
- "Generate weekly calendar report"
Reporting & Analytics
-
Booking Analytics
- "Count bookings by service type this month"
- "Track cancellation rates by service"
- "Analyze peak booking times"
- "Report on staff utilization"
-
Customer Insights
- "List repeat customers and their booking history"
- "Track no-show rates by customer"
- "Analyze booking patterns by day of week"
- "Generate customer retention report"
Prerequisites
- Access to Cequence AI Gateway
- Wix account with Bookings app installed
- App development access in Wix
- API credentials (Client ID and Secret)
Step 1: Create Wix App
Before setting up the MCP server, you need to create an app in Wix.
1.1 Access Wix Developers
- Navigate to dev.wix.com
- Sign in with your Wix account
- Go to My Apps in the developer dashboard
1.2 Create New App
- Click Create New App
- Select Build from scratch
- Fill in app details:
- App Name: "AI Gateway Bookings MCP"
- Description: "MCP server for Wix Bookings automation"
1.3 Configure OAuth
- Navigate to OAuth settings
- Add Redirect URL:
https://auth.aigateway.cequence.ai/v1/outbound/oauth/callback - Select required permissions for Bookings access
1.4 Get Credentials
- Go to OAuth page
- Copy App ID
- Copy App Secret Key
Step 2: Access AI Gateway Apps
- Log in to your Cequence AI Gateway dashboard
- Navigate to Apps in the left sidebar
Step 3: Find and Select Wix Bookings API
- Browse the Third-party category
- Look for Wix Bookings
- Click on the API card to view details
Step 4: Create MCP Server
Click Create MCP Server to start the wizard.
Step 5: Configure API Endpoints
- Base URL:
https://www.wixapis.com - Select API endpoints to expose:
- Services (create, query, get, update, delete)
- Staff Members (create, query)
- Bookings (create, query, get, confirm, cancel, reschedule)
- Availability (query)
- Calendar Events (query)
- Click Next
Step 6: MCP Server Basic Setup
- MCP Server Name: "Wix Bookings Scheduler"
- Description: "Scheduling and appointment management for service businesses"
- Production Mode: Toggle as needed
- Click Next
Step 7: Configure Authentication
-
Authentication Type: OAuth 2.0
-
Fill in OAuth settings:
- Authorization URL:
https://www.wix.com/installer/install - Token URL:
https://www.wixapis.com/oauth2/token - Client ID: Paste from Wix app
- Client Secret: Paste from Wix app
- Redirect URI:
https://auth.aigateway.cequence.ai/v1/outbound/oauth/callback
- Authorization URL:
-
Required Headers:
Authorization:Bearer {access_token}wix-site-id:{site_id}
Step 8: Configure Security
-
API Protection: Toggle ON to enable
- Protects against bot attacks, DDoS, and threats
- Monitors for suspicious activity
- Rate limiting and anomaly detection
-
Click Next
Step 9: Choose Deployment Method
Option A: Deploy to Cequence Cloud (Recommended)
- Fully managed deployment
- Automatic scaling and monitoring
- Built-in high availability
Option B: Deploy with Helm Chart
- Self-managed Kubernetes deployment
- Full control over infrastructure
Click Next after selecting.
Step 10: Review and Deploy
Review your configuration:
- MCP Server Name: Your chosen name
- Base URL:
https://www.wixapis.com - Selected Endpoints: Bookings operations
- Authentication: OAuth 2.0 (Configured)
- API Protection: Enabled/Disabled
Click Create & Deploy to finalize.
Using Your Wix Bookings MCP Server
Setup Instructions:
Common Use Cases
Appointment Scheduling
- Online booking systems
- Customer self-service portals
- Staff calendar management
- Automated confirmation emails
Class & Course Management
- Group class bookings
- Capacity management
- Waitlist handling
- Multi-session course enrollment
Staff Scheduling
- Resource allocation
- Availability management
- Work schedule optimization
- Conflict detection
Business Operations
- Booking analytics and reporting
- Revenue tracking by service
- Customer engagement metrics
- Operational efficiency analysis
Security Best Practices
-
OAuth Security:
- Secure credential storage
- Regular token rotation
- Minimal permission scopes
- Monitor API usage
-
Data Protection:
- Customer data privacy
- GDPR compliance
- Secure transmission
- Audit logging
-
Access Control:
- Role-based permissions
- Staff-level access limits
- Site-specific tokens
- Session management
Troubleshooting
Common Issues
-
401 Unauthorized
- Verify access token validity
- Check wix-site-id header
- Ensure app is installed on site
- Regenerate credentials if expired
-
404 Not Found
- Verify resource IDs exist
- Use query endpoints for lookups
- Check collection/service exists
- Confirm booking ID format
-
400 Bad Request
- Check required fields (staffMemberIds, sessionDurations)
- Verify payment.options configuration
- Validate date/time formats (ISO 8601)
- Ensure locationType is set
-
409 Conflict
- Check revision number for updates
- Verify slot availability
- Handle concurrent booking conflicts
- Refresh and retry operation
Getting Help
- Documentation: AI Gateway Docs
- Support: support@cequence.ai
- Community: AI Gateway Forum
- Wix Docs: dev.wix.com/docs/rest/business-solutions/bookings