woocommerce-mcp-server
by techspawn·★ 89·综合分 44
功能全面的 WooCommerce MCP 服务器,通过 WordPress REST API 集成,支持产品、订单、客户和商店管理。
概述
该 MCP 服务器通过 WordPress REST API 实现与 WooCommerce 商店的无缝交互,提供管理产品、订单、客户、运输、税收、折扣和商店配置的综合工具。它支持 WordPress 内容管理和 WooCommerce 特定操作,使用 JSON-RPC 2.0 协议。该服务器兼容 Windows、macOS 和 Linux 平台。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
如果您需要将 WooCommerce 商店管理与 AI 工作流集成,特别是如果您已经在使用 WordPress 和 WooCommerce 进行电商运营,请选择此 MCP 服务器。
什么时候不要选它
如果您使用的是非 WordPress 的其他电商平台,请避免使用此服务器,因为它专为 WooCommerce 集成而设计。
此 server 暴露的工具
从 README 抽取出 12 个工具get_productsRetrieve a list of products from WooCommerce
create_productCreate a new product in WooCommerce
get_ordersRetrieve a list of orders from WooCommerce
create_orderCreate a new order in WooCommerce
get_customersRetrieve a list of customers from WooCommerce
get_product_categoriesRetrieve product categories from WooCommerce
create_couponCreate a new discount coupon in WooCommerce
get_sales_reportRetrieve sales reports from WooCommerce
get_shipping_zonesRetrieve shipping zones from WooCommerce
get_tax_ratesRetrieve tax rates from WooCommerce
get_settingsRetrieve all settings from WooCommerce
get_system_statusRetrieve system status from WooCommerce
可对比工具
安装
安装
- 克隆仓库
- 安装依赖项:
npm install- 构建项目:
npm run build配置
将服务器添加到您的 MCP 设置文件,包含环境变量:
{
"mcpServers": {
"woocommerce": {
"command": "node",
"args": ["path/to/build/index.js"],
"env": {
"WORDPRESS_SITE_URL": "https://your-wordpress-site.com",
"WOOCOMMERCE_CONSUMER_KEY": "your-woocommerce-consumer-key",
"WOOCOMMERCE_CONSUMER_SECRET": "your-woocommerce-consumer-secret",
"WORDPRESS_USERNAME": "your-wordpress-username",
"WORDPRESS_PASSWORD": "your-wordpress-password"
}
}
}
}FAQ
- 支持哪些身份验证方法?
- 该服务器支持通过 consumer key 的 WooCommerce 身份验证和通过用户名/密码的 WordPress 身份验证。两者都可以通过环境变量或直接在请求参数中提供。
- 支持哪些 WooCommerce 操作?
- 该服务器支持全面的 WooCommerce 操作,包括产品、订单、客户、运输区域、税率、优惠券、支付网关和商店报告。它还包括 WordPress 内容管理功能,如帖子创建和管理。
woocommerce-mcp-server 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。