WPCafe MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WPCAFE_SITE_URL | Yes | The URL of your WordPress site (e.g., https://yoursite.com) | |
| WPCAFE_USERNAME | Yes | Your WordPress admin or shop manager username | |
| WPCAFE_APP_PASSWORD | Yes | Your WordPress Application Password |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_reservationsA | List table reservations with optional filters. Returns paginated results including guest info, date/time, status, and branch. |
| get_reservationA | Get full details of a single reservation by its ID. |
| create_reservationC | Create a new table reservation. Requires guest name, email, date, start_time, end_time, and total_guest. The booking price is calculated server-side. |
| update_reservationA | Update an existing reservation. Only provide fields you want to change. |
| delete_reservationB | Permanently delete a reservation by ID. |
| bulk_delete_reservationsA | Delete multiple reservations at once by providing an array of IDs. |
| cancel_reservationA | Cancel a reservation using invoice number and guest email (public-facing cancellation, no admin login required). |
| get_reservation_time_slotsA | Get available reservation time slots for a date range. Used to show a calendar of open and blocked slots. |
| get_reservation_capacityB | Check how many seats are available, booked, and total for a specific date/time slot. |
| list_food_ordersB | List WooCommerce food orders managed by WPCafe. Returns order summaries including customer, items count, total, and status. |
| get_food_orderA | Get full details of a single food order including line items, billing/shipping address, totals, and customer notes. |
| update_food_order_statusC | Update the WooCommerce status of a food order (e.g. mark as processing, completed, cancelled). |
| delete_food_orderA | Move a food order to trash. The order is not permanently deleted — it can be restored from the WooCommerce orders screen. |
| update_dashboard_order_statusA | Update the status of an order directly from the dashboard analytics view (shortcut for the restaurant management panel). |
| list_productsA | List WooCommerce food menu products managed by WPCafe. Supports filtering by category, location, search, and pagination. |
| get_productA | Get full details of a single food menu product including price, description, categories, labels, images, and WooCommerce meta. |
| list_product_categoriesB | List WooCommerce product categories used in the WPCafe food menu. |
| list_locationsC | List all restaurant locations/branches configured in WPCafe. |
| get_locationA | Get details of a single restaurant location including address, coordinates, schedule, and capacity. |
| create_locationB | Create a new restaurant location/branch. Requires a name and location coordinates (lat/lng object). |
| update_locationA | Update an existing restaurant location. Only provide fields you want to change. |
| delete_locationB | Delete a single restaurant location by ID. |
| bulk_delete_locationsA | Delete multiple restaurant locations at once. |
| list_qrcodesB | List all QR codes created in WPCafe. Each QR code links to a specific table or location for scan-to-order functionality. |
| get_qrcodeA | Get details of a single QR code including the image URL, linked table/location, and scan statistics. |
| create_qrcodeA | Create a new QR code for a table or location. The QR encodes a URL that customers scan to open the food ordering page. |
| update_qrcodeA | Update an existing QR code — rename it or change its linked table/location. |
| delete_qrcodeA | Delete a QR code by ID. Scanning the deleted QR code will no longer open the ordering page. |
| get_settingsA | Get all WPCafe plugin settings. Requires administrator or shop manager role. Sensitive credentials (WhatsApp token, webhook URLs) are only returned for administrators with manage_options capability. |
| get_public_settingsA | Get public (non-sensitive) WPCafe settings. Safe to call without admin credentials. Returns reservation form config, colors, schedule, currency, and UI settings. |
| update_settingsA | Update one or more WPCafe settings. Only provide the keys you want to change — all other settings remain unchanged. Requires administrator role. |
| get_dashboard_overviewB | Get a high-level overview of restaurant performance: total revenue, orders, reservations, and new customers for a date range. |
| get_dashboard_food_ordersB | Get a paginated list of food orders from the dashboard analytics view, optionally filtered by status and branch. |
| get_dashboard_reservationsB | Get a paginated list of reservations from the dashboard analytics view, optionally filtered by status and branch. |
| get_top_selling_productsB | Get the top selling food menu items for a given time period and branch. Useful for menu optimization and promotions. |
| list_extensionsA | List all WPCafe modules/extensions with their current on/off status. Includes both free modules (Reservation, Food Ordering, QR Code, Tipping, Mini Cart) and Pro modules (Delivery, Pickup, Discounts, Dine-In, Seat Plan, etc.). |
| toggle_extensionA | Enable or disable a WPCafe module by its slug. Affects which features are active on the site. |
| get_integrationsA | Get the status and configuration of WPCafe third-party integrations (WooCommerce, FluentCRM, Mailmint, WhatsApp, etc.). |
| get_addon_pluginsA | Get the list of available WPCafe addon plugins (Elementor Addons, Bricks Builder, Multivendor) and whether they are installed and active. |
| list_seat_plansC | [WPCafe Pro] List visual seat plans / floor layouts for restaurant locations. |
| get_seat_planA | [WPCafe Pro] Get details of a specific seat plan including table positions, capacities, and shape data. |
| create_seat_planB | [WPCafe Pro] Create a new seat plan layout for a restaurant location. |
| update_seat_planB | [WPCafe Pro] Update an existing seat plan (rename or change canvas layout data). |
| delete_seat_planB | [WPCafe Pro] Delete a seat plan by ID. |
| list_discountsA | [WPCafe Pro] List discount codes configured for food ordering. |
| get_discountB | [WPCafe Pro] Get details of a single discount code including type, amount, usage limits, and expiry. |
| create_discountB | [WPCafe Pro] Create a new discount code for food orders. |
| update_discountC | [WPCafe Pro] Update an existing discount code. |
| delete_discountB | [WPCafe Pro] Delete a discount code by ID. |
| list_receipt_layoutsC | [WPCafe Pro] List custom receipt/bill layouts created with the Receipt Layout Builder. |
| get_receiptA | [WPCafe Pro] Get a generated receipt/bill for a specific order. Returns the receipt data or PDF download URL. |
| list_timed_productsA | [WPCafe Pro] List products with time-based availability rules (e.g. breakfast items only available 6am-11am). |
| create_timed_productB | [WPCafe Pro] Create a time-availability rule for a product — restrict when it appears on the menu. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/xs-mahbub/wpcafe-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server