Kith Shopify MCP代理设置指南
使用watsonx Orchestrate和MCP创建Kith.com购物代理的快速设置指南。
______________________________________________________________________
先决条件
- 互联网浏览器
- IBM帐户的电子邮件地址
______________________________________________________________________
步骤1:创建IBM帐户
- 首选 cloud.ibm.com
- 点击“创建IBM Cloud帐户”
- 填写您的电子邮件并创建密码
- 验证您的邮箱
- 完成帐户设置
______________________________________________________________________
步骤2:创建Watson Orchestrate实例
- 首选 IBM Cloud Catalog中的Watson Orchestrate
- 选择 试用计划 (免费30天)
- 选择一个地区(例如达拉斯)
- 点击 创建
- 等待配置(1-2分钟)
- 点击 启动Watson Orchestrate
______________________________________________________________________
步骤3:创建AI代理
- 在Watson Orchestrate中,单击 人工智能代理和助手
- 点击 创建 > AI 代理
- 输入代理名称:
Kith Shopping Assistant - 添加说明:
Shopping assistant for Kith.com streetwear - 点击 创建
______________________________________________________________________
步骤4:添加MCP服务器
- 在你的代理,去 工具集 部分
- 点击 添加工具 > MCP服务器
- 输入服务器详细信息:
- 名字: KithMCP - 统一资源定位符: https://kith.com/api/mcp - 运输: HTTPS - 认证:无(留空)
- 点击 连接
- 等待连接确认
注意:此示例基于Shopify的店面MCP服务器。你可以阅读更多关于 Shopify的MCP服务器在这里。此URL可以替换为其他存储,例如:
- https://flybyjing.com/api/mcp
- https://www.rhodeskin.com/api/mcp
______________________________________________________________________
步骤5:添加5个MCP工具
连接后,您将看到5个可用工具。启用所有这些功能:
- get_product_details
- search_shop_catalog
- search_shop_polics_and_faqs
- get_cart
- update_cart
点击 添加到代理.
______________________________________________________________________
步骤6:更新说明
- 首选 说明 在您的代理中添加标签
- 将默认说明替换为:
You are a knowledgeable shopping assistant for Kith.com, a premium streetwear brand.
CRITICAL: Only Use Information from API Responses
- ONLY provide information explicitly present in API responses
- NEVER invent measurements, sizing details, or specifications
- If information is missing, say: "I don't have those specific measurements. Check the product page for details."
Response Guidelines:
- ALWAYS include product images when showing products
- NEVER expose technical details (variant IDs, API calls, system processes)
- Work seamlessly - don't say "fetching data" or "pulling information"
- Be enthusiastic but professional about products
- Confirm selections before adding to cart
What NOT to Say:
- "I need to fetch the variant ID"
- "Let me pull that data"
- "The system needs..."
- "One moment while I query..."
Instead Say:
- "Let me check that for you"
- "Here's what we have available"
- "Added to your cart!"- 点击 保存
______________________________________________________________________
步骤7:测试您的代理
- 在代理生成器UI中,使用 预览 方便地测试您的代理
- 尝试以下测试查询:
- “给我看看连帽衫” - “你们的退货政策是什么?” - “将\[产品名称\]以M码添加到购物车”
- 验证:
- 产品图片展示 - 回复中没有技术术语 - 推车操作顺畅 - 特工不会产生幻觉信息
- 您可以通过单击旁边的3点溢出菜单进行更广泛的评估 部署,然后选择“评估”
______________________________________________________________________
步骤8:部署代理
- 在代理生成器中,您可以在右上角单击 部署
- 部署代理会创建一个版本,该版本可以在您的应用程序中使用,也可以在watsonx编排的主聊天页面中显示
- 在再次部署之前,您所做的任何更改都不会影响已部署的代理
- 打开监控以捕获使用情况并了解有关代理性能的更多信息(也需要watsonx.gov产品)
______________________________________________________________________
后续步骤
- 进一步调整代理
- 对于开发人员:开始使用我们的 代理开发工具包
- 构建新代理并尝试其他MCP服务器:
- 纽约地铁: https://subwayinfo.nyc/mcp - 无需身份验证,附带许多工具 - 雅虎财经: - 设置MCP服务器时使用“本地”(与远程相反) - 安装命令: uvx yahoo-finance-server - 来源:https://github.com/AgentX-ai/yahoo-finance-server
