WooAgent
Provides tools for managing a WooCommerce store through its REST API, including orders, products, customers, coupons, reports, inventory, shipping zones, and store information.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
๐ WooAgent
Open-source MCP server for WooCommerce. Give AI agents direct access to your store.
WooAgent connects AI agents to WooCommerce stores via the Model Context Protocol (MCP). Manage orders, products, customers, coupons, inventory, and view reports โ all through natural language.
โก Quick Start
1. Install
# Clone the repository
git clone https://github.com/your-org/wooagent.git
cd wooagent
# Install with uv
uv sync2. Configure
Create a .env file (or set environment variables):
cp .env.example .envEdit .env with your WooCommerce API credentials:
WOOCOMMERCE_URL=https://your-store.com
WOOCOMMERCE_KEY=ck_your_consumer_key
WOOCOMMERCE_SECRET=cs_your_consumer_secretGetting API Keys: In your WordPress admin, go to WooCommerce โ Settings โ Advanced โ REST API and create a new key with Read/Write permissions.
3. Run
uv run wooagentThe server starts in STDIO mode, ready for MCP clients to connect.
Related MCP server: WooCommerce MCP Server
๐ฅ๏ธ Usage with Claude Desktop
Add this to your Claude Desktop configuration (claude_desktop_config.json):
{
"mcpServers": {
"wooagent": {
"command": "uv",
"args": ["--directory", "/path/to/wooagent", "run", "wooagent"],
"env": {
"WOOCOMMERCE_URL": "https://your-store.com",
"WOOCOMMERCE_KEY": "ck_your_consumer_key",
"WOOCOMMERCE_SECRET": "cs_your_consumer_secret"
}
}
}
}Then ask Claude things like:
"Show me all processing orders from this week"
"What are the top-selling products this month?"
"Update order #1234 to completed"
"Create a 20% off coupon code SUMMER20"
"Which products are running low on stock?"
๐ง Usage with Other MCP Clients
WooAgent uses STDIO transport, compatible with any MCP client:
# Run directly
uv run wooagent
# Or via the module
uv run python -m wooagent.serverProgrammatic usage
from mcp import ClientSession, StdioServerParameters
from mcp.client.stdio import stdio_client
server = StdioServerParameters(
command="uv",
args=["--directory", "/path/to/wooagent", "run", "wooagent"],
env={
"WOOCOMMERCE_URL": "https://your-store.com",
"WOOCOMMERCE_KEY": "ck_...",
"WOOCOMMERCE_SECRET": "cs_...",
},
)
async with stdio_client(server) as (read, write):
async with ClientSession(read, write) as session:
await session.initialize()
result = await session.call_tool("list_orders", {"status": "processing"})
print(result)๐ Tool Reference
Orders
Tool | Description |
| List orders with filters (status, date range, search, customer) |
| Get full details of an order |
| Update order status (processing, completed, cancelled, etc.) |
| Get all notes for an order |
| Add a private or customer-facing note to an order |
Products
Tool | Description |
| List products with filters (status, category, SKU, stock, on-sale) |
| Get full product details |
| Update product fields (price, stock, status, description, etc.) |
| List all product categories |
| List variations for a variable product |
Customers
Tool | Description |
| List customers with filters (search, email, role) |
| Get full customer details |
Coupons
Tool | Description |
| List coupons with search |
| Create a new coupon (percent, fixed cart, fixed product) |
| Delete a coupon |
Reports & Analytics
Tool | Description |
| Sales summary for a date range |
| Top-selling products for a date range |
| Order counts grouped by status |
Store
Tool | Description |
| Store info and system status (WC/WP/PHP versions, currency, etc.) |
| List all shipping zones and their methods |
Inventory
Tool | Description |
| Products with stock at or below a threshold (default โค5) |
โ๏ธ Environment Variables
Variable | Required | Description |
| โ | Your store URL (e.g., |
| โ | WooCommerce REST API consumer key |
| โ | WooCommerce REST API consumer secret |
Authentication
HTTPS stores โ Basic Auth (recommended)
HTTP stores โ Query parameter auth (keys sent in URL)
โ ๏ธ Always use HTTPS in production for security.
๐งช Testing
# Install dev dependencies
uv sync --group dev
# Run tests
uv run pytest
# Run with verbose output
uv run pytest -v๐ค Contributing
Contributions are welcome! Here's how:
Fork the repository
Create a feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
Ideas for Contributions
Additional WooCommerce endpoints (refunds, webhooks, payment gateways)
Batch operations support
Response caching
More comprehensive test suite
SSE transport support
๐ License
This project is licensed under the MIT License โ see the LICENSE file for details.
Built with โค๏ธ for the MCP ecosystem.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
This server cannot be deployed
Maintenance
Related MCP Connectors
WooCommerce MCP server for ChatGPT, Claude and any AI agent: list orders, update order status, create refund, create coupon, update product and get sales report in your own WooCommerce account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to WooCommerce yourself; Cotlet does not store your password and you need no WooCommerce API key. About the official WooCommerce API: Yes. WooCommerce has a full REST API (wc/v3) for orders, products, customers, coupons, refunds and reports, and a store owner creates consumer keys for it per store (checked 16 Oct 2026). Setup and FAQ: https://cotlet.dev/integrations/woocommerce-api-mcp-server
Manage your NanoCart store from any AI agent: products, orders, coupons, subscribers, reports.
Connect AI to store orders, products and inventory with scoped access and human approvals.
Run a WooCommerce shop from Claude or ChatGPT: sales and stock reports, SEO, prices, products, menus and site design. Every change is a draft that you approve with one click, and you can undo it. Free forever: 100 actions a day. Skill: github.com/SakkoulasGiannis/addsynapse-woocommerce
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables interaction with WooCommerce stores through the REST API. Supports product search, order management, and e-commerce operations through natural language commands.-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to manage WooCommerce stores, including products, orders, customers, categories, coupons, attributes, variations, order notes, refunds, reports, payment gateways, meta data, reviews, settings, data, posts, and system status through natural language.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to interact with WooCommerce stores via the WooCommerce REST API, supporting operations like listing products, orders, and customers.308 npmMIT
- AlicenseAqualityDmaintenanceEnables AI agents to manage crypto payments, stores, products, and orders through the Model Context Protocol.2066 npmMIT