Uya-Claude代码插件
操作 NS2RW Claude的餐厅POS平台。创建客户、管理订单、检查分析、处理付款等,所有这些都是通过自然语言完成的。
安装
克劳德代码(推荐)
/plugin marketplace add DineSynk/uyaro-mcp
/plugin install uyaro@uyaro或者通过CLI:
claude plugin marketplace add DineSynk/uyaro-mcp
claude plugin install uyaro@uyaro克劳德桌面版
增添 ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"uyaro": {
"command": "npx",
"args": ["-y", "@uyaro/mcp"]
}
}
}首次使用
安装后,打开Claude Code并键入 /uyaro克劳德将为您介绍:
- 登录 --呼叫
loginMCP工具,显示URL+代码,等待您在浏览器中进行身份验证 - 探索 --使用
get_docs在操作任何域之前了解它 - 跑 --使用
run_command具有CLI风格的语法
你能做什么
"Add 5 new customers to merchant abc123"
"List all orders for store xyz today"
"Credit 500 loyalty points to customer wallet wlt_abc"
"Show me all terminals for merchant abc and their status"
"Generate the end-of-day report for store xyz"
"What products are in category 'Beverages'?"MCP工具
| 工具 | 说明 |
|---|---|
login | 基于浏览器的OAuth登录。显示URL+代码。令牌已自动保存。 |
run_command | 运行任何CLI命令: "customers read --id=abc", "orders create ..." |
get_docs | 领域文档——概念、工作流、约束。在操作新域之前调用。 |
list_commands | 根据API规范实时生成的按域分组的所有可用命令 |
运作原理
插件捆绑包:
- A.
/uyaro技能 (.claude-plugin系统),引导克劳德登录→ 探索→ 操作流程 - 一 MCP服务器 (
@uyaro/mcp在npm上)公开了上述四个工具 - MCP服务器调用Uyaro生产API
https://v2.api.kioskade.com
代币存储在 ~/.config/dinesynk/config.json.登录一次,随处使用。
提交至官方市场
这个插件可以通过以下方式提交到官方的Anthropic市场 claude.ai/设置/插件/提交.
需求
- 克劳德代码1.0.33+
- Node.js 20+(通过npx用于MCP服务器)
