
Walmart
io.github.markswendsen-code由 GitHub 帳號 markswendsen-code 發布v0.1.1更新於 Oct 24, 2026
MCP server for Walmart - search products, manage cart, track orders
概覽
本機 MCP 伺服器,透過瀏覽器操作 Walmart.com,讓助理搜尋商品、管理購物車並查看訂單。
- 可以做什麼
- 搜尋與檢視商品:依價格、排序與結果數量篩選搜尋,並用連結或商品 ID 取得詳細資料
- 設定配送或自取地址,影響商品供應與價格
- 管理購物車:加入商品、檢視內容與合計、調整數量、移除商品
- 結帳預覽:回傳含小計、稅金與總計的訂單摘要,但不實際下單
- 訂單追蹤:列出最近的訂單紀錄
- 管理帳號工作階段:查看登入狀態、以電子郵件與密碼登入、登出並清除已儲存的 Cookie
- 適用情境
- 適合讓助理協助 Walmart 的生鮮雜貨或日用品採購:依預算或飲食偏好建立購物車、比較商品,並彙整金額或訂單狀態供你確認。
- 執行需求
- 透過 npx 或全域 npm 安裝後在本機執行;需要 Node.js 18 以上版本,以及由 Playwright 自動安裝的 Chromium。登入工具需要 Walmart 帳號的電子郵件與密碼。工作階段 Cookie 與驗證資訊存放在使用者家目錄下的本機資料夾。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Walmart,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@striderlabs/mcp-walmart
MCP server connector for Walmart retail shopping — search products, manage cart, and track orders via browser automation.
For Agents
This connector enables autonomous shopping on behalf of your human. Agents can:
- Know what to buy: Understand shopping lists, dietary preferences, budget constraints, and seasonal needs
- Search intelligently: Find products with filters (price, ratings) and compare options
- Execute efficiently: Build a cart, review totals, and hand off for final purchase confirmation
- Track orders: Monitor delivery status and notify the user when items arrive
Example agent workflow:
User: "I need groceries for the week. My budget is $100, and I need vegetarian options."
Agent executes:
set_address→ Get local store availabilitysearch→ "organic vegetables",max_price: 50search→ "rice, pasta, beans" with filtersget_product→ Check nutrition and price for eachadd_to_cart→ Build optimized cart under $100checkout→ Review total ($94.32) and return summary to user- User approves → Agent completes purchase
All in one seamless agent turn.
Overview
This package provides a Model Context Protocol (MCP) server that enables AI agents to interact with Walmart.com through Playwright browser automation with stealth features to avoid bot detection.
Installation
Or install globally:
MCP Configuration
Add to your MCP client configuration:
Tools
status
Check Walmart authentication status and session info.
No parameters required.
login
Authenticate with your Walmart account using email and password via browser automation.
logout
Clear Walmart session and stored cookies.
No parameters required.
set_address
Set delivery or pickup address for Walmart. Affects product availability and pricing.
*At least one of zip_code or address is required.
search
Search Walmart products by query with optional filters.
get_product
Get detailed product information including price, description, and availability.
*At least one of url or item_id is required.
add_to_cart
Add a product to the Walmart cart.
*At least one of url or item_id is required.
view_cart
View current Walmart cart contents and totals.
No parameters required.
update_cart
Update the quantity of an item in the Walmart cart.
*At least one of item_id or product_name is required.
remove_from_cart
Remove a specific item from the Walmart cart.
*At least one of item_id or product_name is required.
checkout
Preview checkout summary for the Walmart cart. Returns order details without placing the order.
No parameters required.
Note: This tool intentionally does not place the order. It returns the order summary (items, subtotal, tax, total) so you can review before proceeding manually.
get_orders
Get Walmart order history.
Session Persistence
Cookies and auth info are stored in ~/.striderlabs/walmart/ and persist across sessions. Once logged in, subsequent tool calls reuse the existing session without re-authenticating.
Technical Details
- Transport: stdio (standard MCP transport)
- Browser: Chromium via Playwright with stealth patches
- Bot detection bypass: Removes webdriver flag, spoofs plugins/languages, patches permissions API
- Session storage:
~/.striderlabs/walmart/cookies.jsonand~/.striderlabs/walmart/auth.json
Requirements
- Node.js >= 18.0.0
- Chromium (installed automatically with Playwright)
License
MIT — Strider Labs
來源:README.md,提交 d8e1deb
工具
0版本歷史
1- v0.1.1最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。