Connect Order Delivery Date Pro to AI Assistants Using MCP

Managing deliveries often requires switching between multiple WooCommerce screens to check orders, update holidays, monitor delivery schedules, or review time slot availability.

With Order Delivery Date Pro’s AI Abilities via the Model Context Protocol (MCP), you can interact with your store using natural language through an AI assistant.

Instead of manually navigating different settings pages of the plugin, you can simply ask questions like:

  • Show today’s deliveries.
  • Which delivery day is the busiest this month?
  • List all delivery holidays.
  • Block Christmas for deliveries.
  • Increase the capacity of the 3 PM – 4 PM delivery slot.

This is how the Order Delivery Date Pro now supports Model Context Protocol (MCP), allowing you to connect your WooCommerce store with AI assistants such as Claude Desktop and other MCP-compatible AI clients.

This allows you to manage deliveries faster while continuing to use your existing WooCommerce store.  

1. Prerequisites

↑ Back to top

Before configuring the integration, ensure your environment meets the following requirements.

  • A WordPress website running WordPress 6.9 or later.
  • WooCommerce installed and activated.
  • Order Delivery Date Pro for WooCommerce installed and activated. Ensure you’re using a version that supports AI Abilities via MCP.
  • An MCP-compatible AI client, such as Claude Desktop. You can also use other AI clients that support custom MCP servers, such as ChatGPT.
  • Node.js installed on your computer. This is required to run the WordPress MCP server which securely connects your AI client to your WordPress website. 
  • A WordPress Application Password for an Administrator account. This allows the AI client to securely authenticate with your WordPress site.

Note: This guide uses Claude Desktop and the ChatGPT desktop app to demonstrate the setup process. The setup process is similar for other MCP-compatible AI clients, although the configuration screens and available connection options may differ depending on the client. 

2. Configure Order Delivery Date Pro

↑ Back to top

Before your AI client can access delivery schedules, holidays, time slots, and other Order Delivery Date Pro data, you need to enable MCP support in the plugin.

By default, the MCP integration is disabled. Enabling it allows Order Delivery Date Pro to register its AI abilities with the WordPress MCP server, making them available to your connected AI client.

  1. Navigate to Order Delivery Date → Settings → Additional Settings.
  2. Scroll down and enable the Enable MCP setting. This setting enables the Order Delivery Date MCP (Model Context Protocol) for AI-powered store operations.

  3. Click Save Settings.

3. Generate Authentication Credentials 

To establish a secure connection between your WordPress store and your AI client, you’ll need to generate the following credentials:

  • A WordPress Application Password to authenticate the WordPress MCP server.

3.1 Create a WordPress Application Password

↑ Back to top

A WordPress Application Password provides a secure way for external applications, such as AI clients, to access your WordPress website without using your main account password.

To create an Application Password:

  1. Log in to your WordPress Admin Dashboard.
  2. Navigate to Users → Profile.
  3. Scroll down to the Application Passwords section.
  4. In the New Application Password Name field, enter a descriptive name.
  5. Click Add Application Password.

  6. Copy the generated password immediately and save it in a secure location. WordPress will not display the complete password again after you leave the page.

You will need the following information in a later step:

  • WordPress Site URL
  • WordPress Username
  • Application Password

Note: The WordPress user account used to generate the Application Password should have Administrator privileges so the AI client can access all supported Order Delivery Date Pro abilities.

4. Connect Order Delivery Date Pro to an AI Client

↑ Back to top

Order Delivery Date Pro can be connected to any AI client that supports the Model Context Protocol (MCP). The setup process is similar across supported AI clients, although the configuration screens and options may vary.

This documentation includes setup instructions for the following AI clients:

  • Claude Desktop – Recommended for self-hosted WordPress websites because it currently provides the most reliable setup experience.
  • ChatGPT Desktop – Can be configured using an MCP server.
  • Claude Web – Currently not supported for self-hosted WordPress websites due to authentication limitations.
  • ZCode Desktop (GLM-5.2) – Supports MCP server configuration

The following sections explain how to configure each AI client.

5. Connect Using Claude Desktop 

In this section, you’ll configure Claude Desktop to connect to your WordPress store. This allows Claude to securely access the AI abilities provided by Order Delivery Date Pro and WooCommerce.

Note: Claude Desktop uses Node.js to run the local WordPress MCP server. If Node.js is not already installed on your computer, download and install the latest version from https://nodejs.org/ before continuing. 

5.1 Open the Claude Desktop Configuration File

↑ Back to top

Next, you’ll configure Claude Desktop to connect to your WordPress website.

  1. Open Claude Desktop.
  2. Click your Profile icon.
  3. Select Settings.
  4. Open the Developer tab.
  5. Click Edit Config. Claude Desktop will open the folder that contains the claude_desktop_config.json file on your computer. 
  6. Open the claude_desktop_config.json file using your preferred text editor, such as Visual Studio Code, Notepad, or any other code or text editor. 
  7. Add the following WordPress MCP Server configuration inside the config file. 
"mcpServers": {

   "wordpress-insta": {

      "command": "npx",

      "args": [

        "-y",

        "@automattic/mcp-wordpress-remote@latest"

      ],

      "env": {

        "WP_API_URL": "https://<your-site-url>/wp-json/mcp/mcp-adapter-default-server",

        "WP_API_USERNAME": "<username>",

        "WP_API_PASSWORD": "<Application Password>"

    },

   "woocommerce_mcp": {

     "command": "npx",

     "args": [

       "-y",

       "@automattic/mcp-wordpress-remote@latest"

     ],

     "env": {

       "WP_API_URL": "https://<your-site-url>/wp-json/woocommerce/mcp",

       "CUSTOM_HEADERS": "{\"X-MCP-API-Key\": \"<Consumer_key>:<consumer_secret>\"}"

     }

   }

 },

Note: Your claude_desktop_config.json file may look different depending on your Claude Desktop version and existing settings. If an mcpServers section is already present, add the configuration inside it. Otherwise, create a new mcpServers section before the final closing curly brace (}) of the file.

Replace the following placeholders with your own values:

  • WP_API_URL – Enter your WordPress website URL followed by /wp-json/mcp/mcp-adapter-default-server
  • WP_API_USERNAME – Enter the username of the WordPress account you used to generate the Application Password. 
  • WP_API_PASSWORD – The WordPress Application Password you created earlier.
  1. Save the claude_desktop_config.json file.
  2. Close the Claude Desktop completely and reopen it.
  3. To verify the MCP server connection, navigate to Settings → Developer → Local MCP Servers. If the configuration is correct, both servers should appear with a Running status. 

5.2. Test the Integration

↑ Back to top

Once you’ve completed the setup, verify the integration by running the following example prompts. If your AI client responds with the expected results, you can continue using natural language to interact with Order Delivery Date Pro instead of manually navigating through the plugin settings. 

These examples demonstrate the AI abilities available in Order Delivery Date Pro, including:

  • View Delivery Calendar – Retrieve delivery schedules, available capacity, holidays, and delivery time slots.
  • List Orders by Delivery Date – View orders scheduled for delivery on a specific date or within a date range.
  • View Delivery Summary – Get delivery summaries for a day, week, or month.
  • View Delivery Analytics – Identify your busiest delivery days and peak delivery periods.
  • Manage Holidays and Blackout Dates – Add or update delivery holidays and blackout dates.
  • Manage Time Slot Capacity – Update or block delivery time slot capacities.

The following sections demonstrate how to use each of these abilities with example prompts. 

Show my delivery calendar for this week

Show me today’s delivery schedule

Troubleshooting: The AI Returns a Generic Response Instead of Using Your Store Data

↑ Back to top

If your AI assistant responds with a generic answer even though the MCP server is connected:

  1. Confirm that the MCP server is running and connected.
  2. Ask the AI which MCP servers or tools are currently connected or available.
  3. Once the AI confirms the available MCP server or abilities, try your original prompt again.
  4. If the issue persists, restart the AI client and verify your MCP server configuration.

Note: If the AI continues to return a generic response instead of your store data, try rephrasing your prompt to explicitly ask it to use the available MCP abilities

6. Connect Using ChatGPT Desktop

↑ Back to top

If you use ChatGPT Desktop as your AI assistant, you can connect it to your WooCommerce store by adding the WordPress MCP server. Once connected, ChatGPT can securely access the AI abilities provided by Order Delivery Date Pro, allowing you to retrieve delivery information and perform supported delivery management tasks using natural language.

To configure the connection:

  1. Open ChatGPT Desktop.
  2. Navigate to Settings → Plugins → MCP Servers.
  3. Click Add Server.
  4. Configure the server using the following details:
  • Name: Any preferred name. For example: Order Delivery Date Pro
  • Type: STDIO
  • Command: npx

Under the Arguments, add these 2 arguments:

-y
@automattic/mcp-wordpress-remote@latest
  1. Under Environment Variables, add the following:
  • WP_API_URL – Your WordPress MCP endpoint (for example, https://your-store.com/wp-json/mcp/mcp-adapter-default-server)
  • WP_API_USERNAME – Your WordPress username.
  • WP_API_PASSWORD – The WordPress Application Password you generated earlier.
  1. Save the server configuration.
  2. Restart ChatGPT Desktop.

After ChatGPT restarts, open Settings → Plugins → MCP Servers. Under Servers, you should see the Order Delivery Date Pro server listed. 

You can now proceed to test the integration to verify the connection.

You can use the example prompt. Show my delivery calendar for this week. The AI will retrieve the delivery schedule from your WooCommerce store and display the relevant information.

7. ZCode Desktop

↑ Back to top

ZCode Desktop also supports the Model Context Protocol (MCP), allowing you to connect your WooCommerce store and interact with the AI abilities provided by Order Delivery Date Pro using natural language.

Once the connection is configured, ZCode can securely access the delivery management abilities registered by Order Delivery Date Pro through the WordPress MCP server.

To configure the connection:

To connect Order Delivery Date Pro with ZCode Desktop:

  1. Open ZCode Desktop.
  2. Navigate to Settings → MCP Servers.
  3. Click + to add New MCP Server.
  4. Configure the server using the following values:
    Name: ORDD-mcp-server
    Type: STDIO
    Command: npx
  5. In the Arguments field, enter:-y @automattic/mcp-wordpress-remote@latest
  6. Under Environment Variables, add the following values:
    WP_API_URL – Your WordPress MCP endpoint (for example, https://your-store.com/wp-json/mcp/mcp-adapter-default-server)
    WP_API_USERNAME – Your WordPress username.
    WP_API_PASSWORD – The WordPress Application Password you generated earlier.
  7. Save the server configuration.
  8. Restart ZCode Desktop.

    After restarting ZCode Desktop, the configured MCP server should appear under Configured MCP Servers with the available WordPress MCP tools.

You can now proceed to test the integration and use the example prompt to verify the connection.

Example Prompt: Show my delivery calendar for this week.

If the connection is configured correctly, ZCode retrieves the delivery information directly from your WooCommerce store using the Order Delivery Date Pro AI abilities.

8. Connect Using Cursor Desktop

↑ Back to top

If you use Cursor Desktop as your AI assistant, you can connect it to your WooCommerce store by adding the WordPress MCP server. Once connected, Cursor can securely access the AI abilities provided by Abandoned Cart Pro, allowing you to retrieve abandoned cart insights and perform supported actions using natural language.

To configure the connection:

  1. Open Cursor Desktop.
  2. Navigate to Settings → Tools & MCPs.
  3. Under Installed MCP Servers, click + New MCP Server.
  4. Cursor opens the mcp.json configuration file. Add the following MCP server configuration:
  5. Replace the following placeholders with your own values:
    • WP_API_URL – Your WordPress MCP endpoint (for example, https://your-store.com/wp-json/mcp/mcp-adapter-default-server)
    • WP_API_USERNAME – Your WordPress username.
    • WP_API_PASSWORD – The WordPress Application Password you generated earlier.
  6. Save the mcp.json file.
    After saving the configuration, the MCP server appears under Installed MCP Servers.

    You can now proceed to test the integration and use the example prompt to verify the connection. Example Prompt:Show my delivery calendar for this week.Expected AI Response:The AI displays your delivery calendar for the current week, including scheduled delivery dates, delivery counts, booked time slots, capacity information, and any configured holidays or blackout dates based on your Order Delivery Date Pro settings.

Your AI client is now connected to your WordPress store through the WordPress MCP server and can securely access the AI abilities registered by Order Delivery Date Pro and WooCommerce. You can now interact with your store using natural language to retrieve delivery information, manage delivery schedules, holidays, time slots, and perform other supported delivery operations. 

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.