PolarHub
  • Agents
  • MCP Servers
  • Skills
  • PolarBear
PolarHub © 2026
MCP Serversbrowser-automationWoolworths-mcp
返回「browser-automation」

Woolworths-mcp

modelscope·@elijah-g/Woolworths-mcp

browser-automation0下载LocalModelScope

简介

暂无描述。

MCP Server 详情

来自 ModelScope 索引

Woolworths MCP Server

A Model Context Protocol (MCP) server for interacting with Woolworths Australia's online shopping platform. This server provides tools for browsing products, searching items, viewing specials, and more.

<a href="https://glama.ai/mcp/servers/@elijah-g/Woolworths-mcp"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@elijah-g/Woolworths-mcp/badge" alt="Woolworths Server MCP server" /> </a>

Features

  • Browser Automation: Uses Puppeteer to open a browser, navigate to Woolworths, and capture session cookies
  • Session Management: Maintains session cookies for authenticated API requests
  • Product Search: Search for products across the Woolworths catalog with filtering and sorting
  • Product Details: Get detailed information about specific products
  • Specials & Deals: Browse current specials and promotional offers
  • Category Browsing: Explore product categories
  • Shopping Cart: Add items to cart, view cart contents, update quantities, and remove items

Installation

  1. Install dependencies:
npm install
  1. Build the TypeScript code:
npm run build

Usage

Running the Server

The MCP server runs on stdio and is designed to be used with MCP-compatible clients (like Claude Desktop, Cline, or other AI assistants).

npm start

Configuration for Claude Desktop

Add this to your Claude Desktop configuration file:

Windows: %APPDATA%\Claude\claude_desktop_config.json macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "woolworths": {
      "command": "node",
      "args": ["C:\\Users\\eglass\\Projects\\Woolworths\\dist\\index.js"]
    }
  }
}

Make sure to update the path to match your installation directory.

Available Tools

1. woolworths_open_browser

Opens a browser and navigates to the Woolworths website. This is typically the first step to establish a session.

Parameters:

  • headless (boolean, optional): Whether to run in headless mode (default: false)

Example:

{
  "headless": false
}

2. woolworths_navigate

Navigate to a specific URL on the Woolworths website.

Parameters:

  • url (string, required): The URL to navigate to

3. woolworths_get_cookies

Retrieves and stores session cookies from the current browser session. Run this after logging in or when you have an active session.

Parameters: None

4. woolworths_close_browser

Closes the browser instance while preserving the captured session cookies.

Parameters: None

5. woolworths_search_products

Search for products on Woolworths.

Parameters:

  • searchTerm (string, required): The product search term
  • pageSize (number, optional): Number of results to return (default: 20)

Example:

{
  "searchTerm": "milk",
  "pageSize": 20
}

6. woolworths_get_product_details

Get detailed information about a specific product by its stockcode.

Parameters:

  • stockcode (string, required): The product stockcode/ID

7. woolworths_get_specials

Get current specials and deals from Woolworths.

Parameters:

  • category (string, optional): Category filter (e.g., 'fruit-veg', 'meat-seafood')
  • pageSize (number, optional): Number of results to return (default: 20)

8. woolworths_get_categories

Get the list of available product categories.

Parameters: None

9. woolworths_add_to_cart

Add a product to the shopping cart/trolley.

Parameters:

  • stockcode (number, required): The product stockcode/ID
  • quantity (number, optional): Quantity to add (default: 1)

Example:

{
  "stockcode": 123456,
  "quantity": 2
}

10. woolworths_get_cart

Get the current contents of the shopping cart/trolley.

Parameters: None

11. woolworths_remove_from_cart

Remove a product from the shopping cart/trolley.

Parameters:

  • stockcode (number, required): The product stockcode/ID to remove

12. woolworths_update_cart_quantity

Update the quantity of a product in the shopping cart/trolley.

Parameters:

  • stockcode (number, required): The product stockcode/ID
  • quantity (number, required): New quantity

Typical Workflow

  1. Open Browser: Use woolworths_open_browser to launch a browser window
  2. Log In (if needed): The browser will open in non-headless mode by default, allowing you to manually log in to your Woolworths account if required
  3. Capture Cookies: Use woolworths_get_cookies to capture session cookies
  4. Close Browser: Use woolworths_close_browser to close the browser (cookies are preserved)
  5. Use API Tools: Now you can use any of the API tools (search, get product details, etc.)

Example Usage Scenario

1. User: "Open the Woolworths browser"
    Calls: woolworths_open_browser
   
2. User manually logs in on the opened browser (if needed)

3. User: "Get the session cookies"
    Calls: woolworths_get_cookies
   
4. User: "Close the browser"
    Calls: woolworths_close_browser
   
5. User: "Search for bananas"
    Calls: woolworths_search_products with searchTerm="bananas"
   
6. User: "What are the current specials?"
    Calls: woolworths_get_specials

7. User: "Add product 123456 to my cart"
    Calls: woolworths_add_to_cart with stockcode=123456

8. User: "Show me my cart"
    Calls: woolworths_get_cart

Technical Details

Browser Automation

The server uses Puppeteer to:

  • Launch a Chromium browser instance
  • Navigate to Woolworths website
  • Capture cookies from the browser session
  • Maintain user agent and browser fingerprint

API Integration

Once cookies are captured, the server makes authenticated requests to Woolworths' internal APIs:

  • Search API: /apis/ui/Search/products (POST)
  • Product Detail API: /apis/ui/product/detail/{stockcode}
  • Browse/Category API: /apis/ui/browse/category
  • Categories API: /apis/ui/PiesCategoriesWithSpecials
  • Shopping Cart API: `/api…

相关 MCP Servers(来自「browser-automation」)

快递100 MCP Server

快递100 MCP Server提供快递信息查询、快递运费预估比价、快递时效查询(含发货前时效查询与在途动态时效查询)等功能。

kuaidi100/kuaidi100-mcp

网页截图

暂无描述。

bingal/webshot-mcp

网页开发MCP

一个提供网页开发工具的MCP服务器,例如屏幕捕捉功能,可以让AI代理获取并处理用户屏幕的截图。

@ZukAi-MCP/webdev-mcp

网页内容提取器

一个从网站提取有意义内容并将HTML转换为高质量Markdown的MCP服务器,使用Mozilla的Readability引擎。

@tolik-unicornrider/mcp_scraper

微软Playwright

一种模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页交互,而无需使用视觉模型或截图。

@microsoft/playwright-mcp

消息通知(MCP&Agent挑战赛)

桌面通知、个性化声音、ntfy 手机应用通知、邮件通知和 API 推送,减少 AI 任务等待焦虑,舒适地享用一杯咖啡。​

gimjin/message_mcp-MCP_Agent_Challenge

自动安装

点击按钮会唤起 PolarBear 客户端,并把当前 MCP Server 的 Markdown 详情文档地址传给客户端。

/api/mcps/elijah-g-woolworths-mcp/markdown
打开 PolarBear 安装查看 Markdown 文档

手动安装

在 PolarBear 或其他支持 MCP 的客户端中,新建 MCP Server,并参考下方来源或安装提示配置。

npm install

基本信息

分类
browser-automation / ecommerce-and-retail / app-automation
运行方式
No
许可证
GNU General Public License v3.0
详情文件
elijah-g-woolworths-mcp.md