WooCommerce MCP HTTP 服务器
服务器MCP HTTP,用于将WooCommerce与Manus AI集成。
特点
- ✅ 基于HTTP的MCP协议
- ✅ 与WooCommerce REST API完全集成
- ✅ 产品、订单及客户支持
- ✅ 轻松部署到Render、Railway、Fly.io
- ✅ 100%免费
本地安装
npm install配置
Crea un file .env 这些变量包括:
WORDPRESS_SITE_URL=https://tuosito.com
WOOCOMMERCE_CONSUMER_KEY=ck_xxxxxxxxxxxxxxxxxxxxx
WOOCOMMERCE_CONSUMER_SECRET=cs_xxxxxxxxxxxxxxxxxxxxx
PORT=8000本地启动
npm start服务器将在 http://localhost:8000
在Render上部署
- 访问 https://render.com/
- 创建一个新的“Web 服务”
- 连接这个GitHub仓库
- 配置:
- 构建命令: npm install - 启动命令: npm start
- 添加环境变量(不包括PORT)
- 部署!
在Railway上部署
- 请访问 https://railway.app/
- 创建一个新项目
- 连接这个GitHub仓库
- 添加环境变量
- 自动部署!
可用的终端点
健康检查
GET /MCP协议
POST /mcpREST API(Representational State Transfer Application Programming Interface,表述性状态传递应用程序编程接口)
GET /products - Lista prodotti
GET /products/:id - Dettagli prodotto
GET /orders - Lista ordini
GET /orders/:id - Dettagli ordine
GET /customers - Lista clienti与Manus的集成
- 在Render或Railway上部署服务器
- 复制公开URL(例如:
https://woocommerce-mcp.onrender.com) - 前往马努斯 → 连接器
- 创建新的MCP连接器
- 输入URL:
https://woocommerce-mcp.onrender.com/mcp - 救命啊!
测试
# Health check
curl https://your-url.onrender.com/
# Lista prodotti
curl https://your-url.onrender.com/products
# MCP endpoint
curl -X POST https://your-url.onrender.com/mcp \
-H "Content-Type: application/json" \
-d '{"method":"tools/list"}'许可证
麻省理工学院(MIT)
