
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 分
请在仓库或注册中心条目中声明许可证。