> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getmcp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GetMCP for WordPress & WooCommerce

> Give AI clients direct access to your WordPress site — posts, products, orders, and custom data.

## The Opportunity

Your WordPress site already holds everything — products, orders, customers, posts, pages, custom post types. AI clients like Claude and Cursor can read and act on all of it, but only if there's an MCP server in between.

GetMCP runs on your WordPress installation and bridges that gap. No separate server, no API to build. Your existing WordPress REST API and WooCommerce endpoints become MCP tools in minutes.

***

## What You Can Expose

| WordPress Feature          | Example MCP Tools                                 |
| -------------------------- | ------------------------------------------------- |
| Posts & Pages              | `get_post`, `search_posts`, `create_draft`        |
| WooCommerce Products       | `get_product`, `search_products`, `update_stock`  |
| WooCommerce Orders         | `get_order`, `list_orders`, `update_order_status` |
| Customers                  | `get_customer`, `search_customers`                |
| Custom Post Types          | Any CPT via the WordPress REST API                |
| Site Settings              | `get_site_info`, `list_pages`                     |
| Any Plugin with a REST API | Map its endpoints as tools                        |

***

## The Workflow

<Steps>
  <Step title="Install GetMCP">
    Install and activate the GetMCP plugin on your WordPress site. If you already have WordPress, this takes under two minutes.

    <img src="https://mintcdn.com/infiwebs/X3D8lQwdysxDpY3z/images/agency-install.jpeg?fit=max&auto=format&n=X3D8lQwdysxDpY3z&q=85&s=02adc89a1e3edc1cdcb0513abc71a763" alt="Installing GetMCP" width="1688" height="439" data-path="images/agency-install.jpeg" />
  </Step>

  <Step title="Create a server">
    Create one MCP server for your site. Give it a descriptive name — `my-store`, `my-blog`, or `my-site`. Each server gets its own MCP endpoint URL.

    <img src="https://mintcdn.com/infiwebs/X3D8lQwdysxDpY3z/images/create-server.jpeg?fit=max&auto=format&n=X3D8lQwdysxDpY3z&q=85&s=35f9dc689f5e5ee929ddb56717bb6a94" alt="Create a new MCP server" width="1440" height="856" data-path="images/create-server.jpeg" />
  </Step>

  <Step title="Add tools for your WordPress endpoints">
    WordPress and WooCommerce expose hundreds of REST endpoints out of the box. Add the ones you want as MCP tools. Use cURL import to populate fields instantly:

    ```bash theme={null}
    # Get a WooCommerce order
    curl https://yoursite.com/wp-json/wc/v3/orders/123 \
      -u "ck_your_consumer_key:cs_your_consumer_secret"
    ```

    Paste this into the cURL import dialog and the URL, method, auth, and parameters are all populated for you.

    <img src="https://mintcdn.com/infiwebs/X3D8lQwdysxDpY3z/images/curl-import.png?fit=max&auto=format&n=X3D8lQwdysxDpY3z&q=85&s=074cb212575891c23cba41040f321271" alt="cURL import for WooCommerce endpoint" width="1194" height="584" data-path="images/curl-import.png" />
  </Step>

  <Step title="Configure WooCommerce authentication">
    WooCommerce uses consumer key/secret pairs. Store them as a Custom Header using Basic auth:

    ```
    Authorization: Basic base64(consumer_key:consumer_secret)
    ```

    This header is encrypted at rest and injected into every tool call — your AI client never sees the credential.

    <img src="https://mintcdn.com/infiwebs/X3D8lQwdysxDpY3z/images/server-authentication.png?fit=max&auto=format&n=X3D8lQwdysxDpY3z&q=85&s=4f550bc2e2f06c5f79e4c11b9efcf5b1" alt="WooCommerce auth configuration" width="1322" height="672" data-path="images/server-authentication.png" />
  </Step>

  <Step title="Test and connect">
    Use the built-in test panel to confirm each tool returns the right data. Then copy the MCP endpoint URL into Claude Desktop, Cursor, or any MCP client.

    <img src="https://mintcdn.com/infiwebs/X3D8lQwdysxDpY3z/images/tool-test-modal.png?fit=max&auto=format&n=X3D8lQwdysxDpY3z&q=85&s=91ab7ce67639fd2f68c954ff31a4e61e" alt="Testing a WooCommerce tool" width="1052" height="906" data-path="images/tool-test-modal.png" />
  </Step>
</Steps>

***

## Example: Managing a WooCommerce Store with AI

Once your tools are connected, your AI client can handle store operations through natural language:

> *"Show me all pending orders from the last 48 hours"*
> → calls `list_orders` with status=pending, date filter

> *"What's the current stock level for Widget Pro?"*
> → calls `get_product` and reads the `stock_quantity` field

> *"Mark order #1042 as shipped"*
> → calls `update_order_status` with status=completed

> *"Draft a blog post about our new summer collection"*
> → calls `create_draft` with AI-generated content

***

## Using Templates

The GetMCP template library includes pre-built tool sets for common WordPress and WooCommerce workflows. Instead of configuring each tool from scratch, install a template and have a working server in minutes.

<img src="https://mintcdn.com/infiwebs/X3D8lQwdysxDpY3z/images/templates-library-overview.jpeg?fit=max&auto=format&n=X3D8lQwdysxDpY3z&q=85&s=e53e21ec29d610ca6bf0730c4bcc3321" alt="Template library" width="1384" height="910" data-path="images/templates-library-overview.jpeg" />

See [Templates](/docs/guides/templates) for available templates and how to install them.

***

## Get Started

<CardGroup cols={2}>
  <Card title="Installation" icon="download" href="/docs/installation">
    Install GetMCP on your WordPress site
  </Card>

  <Card title="cURL Import" icon="terminal" href="/docs/guides/curl-import">
    Populate tools from WooCommerce curl commands instantly
  </Card>

  <Card title="Templates" icon="table-columns" href="/docs/guides/templates">
    Browse pre-built WordPress and WooCommerce tool sets
  </Card>

  <Card title="Authentication" icon="lock" href="/docs/guides/authentication">
    Configure WooCommerce consumer key/secret auth
  </Card>
</CardGroup>
