Skip to main content
Glama
tukimtk-design

Openworker E-Commerce MCP Server

Openworker E-Commerce MCP Server

MCP (Model Context Protocol) Server 设计用于与 Openworker 配合使用,以控制 Chrome 或 Microsoft Edge 来管理主要电子商务平台上的商品,包括 Shopee、TikTok Shop 和 Lazada


🚀 项目目标(项目概览)

本系统旨在解决普通机器人在卖家中心页面上进行浏览器自动控制的问题:

  1. 通过真实 Session 登录:通过远程调试端口(9222)连接用户已保持登录状态的 Chrome/Edge,无需重新登录或反复遇到 OTP/2FA。

  2. 通过 Internal API Interception 快速更新:从浏览器获取 Session Cookies/Tokens,然后直接通过 API 发送更新指令,快速、准确,无需仅依赖 UI 点击。

  3. Safety Guard & Captcha Pause:在保存前检查价格和库存边界,并在遇到验证码时暂停等待,让用户立即帮助解锁。


Related MCP server: camoufox-mcp

👥 角色与工作(团队与开发角色)

  • Jules (Google AI Agent):开发 TypeScript 代码,开发各类工具(Browser Attach、Session Interceptor、API Client、Safety Guard),并编写单元测试。

  • Controller Agent (Cowork / GitHub Controller):控制项目结构,审查代码/PR,设计任务 Issue,制作 Tag Release,并部署到 Openworker。


🛠️ 项目结构

openworker-ecommerce-mcp/
├── src/
│   ├── index.ts                # Entry point หลักของ MCP Server
│   ├── types.ts                # Type Definitions & Schemas
│   ├── services/
│   │   ├── cdp-connection.ts   # ตัวจัดการเชื่อมต่อ Chrome/Edge CDP (Port 9222)
│   │   ├── session-extractor.ts# ตัวดึง Auth Cookies / Bearer Tokens จาก Tab
│   │   └── api-client.ts       # Internal API Wrapper สำหรับ Shopee/TikTok/Lazada
│   └── tools/
│       ├── browser-profile.ts  # Tool: browser_attach_existing
│       ├── ecommerce-search.ts # Tool: ecommerce_product_search
│       ├── ecommerce-update.ts # Tool: ecommerce_update_price_stock
│       └── safety-guard.ts     # Tool: ecommerce_safety_guard
├── docs/
│   ├── ARCHITECTURE.md         # สถาปัตยกรรมและรายละเอียด Tool Contracts
│   └── TASKS.md                # รายการงานสำหรับการพัฒนาราย Phase
├── JULES_PROMPT.md             # ข้อแนะนำการสั่งงาน Jules (Google AI Agent)
├── package.json
└── tsconfig.json

💻 打开 Chrome / Edge 以进行连接

开始使用前,请使用远程调试命令打开 Chrome 或 Microsoft Edge:

Windows (Chrome):

"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 --user-data-dir="C:\ChromeAutomationProfile"

Windows (Edge):

"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --remote-debugging-port=9222 --user-data-dir="C:\EdgeAutomationProfile"

⚙️ 安装与使用(安装与构建)

# ติดตั้ง dependencies
npm install

# Build TypeScript
npm run build

# ทดสอบรัน MCP Server
npm start

📄 许可证

MIT License - 由 tukimtk-design 开发


🚀 Phase 7 功能

Windows 自动启动

如果在 Windows 上 CDP 连接失败,系统将尝试使用正确的远程调试端口自动启动 Chrome/Edge,以提供无缝的一键体验。

Playwright E2E 模拟

你可以通过以下命令运行模拟的 E2E 流程:

npm test

Openworker 自动安装程序

运行 PowerShell 脚本以构建项目并生成 MCP 配置:

.\scripts\install-openworker-mcp.ps1

🚀 Phase 8 功能

多平台库存同步

自动同步 Shopee、TikTok Shop 和 Lazada 之间的库存和价格。系统协调安全边界并记录操作日志。

模糊变体匹配

系统使用字符串相似度(Levenshtein 距离)来匹配不同平台上命名不同的产品变体,并利用 SQLite 缓存成功的匹配结果,以便将来立即检索。


🚀 Phase 9 功能(企业版)

Docker 与无头运行

使用带有 Xvfb 的官方 Playwright Docker 镜像,在云端 24/7 部署:

docker-compose up -d

可视化 DOM 自校正

捕获视口截图和边界框,使 AI 在出现意外 DOM 覆盖时能够自我校正。

代理轮换

支持轮换代理以实现多账户隔离。

F
license - not found
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables browser automation and web scraping with multi-session management, supporting page navigation, element interaction, network request capture, and content extraction across multiple concurrent browser instances.
    9
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables browser automation with anti-detection features, including navigation, interaction, form filling, and session management.
    22
    9
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables browser automation over MCP using a real Chrome browser with existing profile, supporting real tabs, downloads, cookies, and RPA workflows.
    71
    MIT

View all related MCP servers

Related MCP Connectors

  • Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.

  • Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, Cursor, and agents.

  • AI-powered browser automation — navigate, click, fill forms, and extract data from any website.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tukimtk-design/openworker-ecommerce-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server