garmonia-crm-mcp
garmonia-crm-mcp
用于通过其内部 API 测试「Harmony Hotel」CRM 的 MCP 服务器。 通过密码登录(会话 Cookie),提供订单、客户、品牌、日历等工具,以及对所有其他 CRUD 操作的通用访问。
快速安装(一条命令,无需克隆)
只需要 Node 18+。无需安装或克隆仓库——npx 会直接从 GitHub 启动服务器。
创建本地凭据文件,例如
~/garmonia-crm.json:{ "baseUrl": "https://адрес-crm", "login": "твой-логин", "password": "твой-пароль" }用一条命令添加 MCP(替换为你自己的文件路径):
claude mcp add garmonia-crm \ -e CRM_CONFIG="$HOME/garmonia-crm.json" \ -- npx -y github:AlekseiKastsiuk/garmonia-crm-mcp重启 Claude Code。
凭据只保存在你的本地文件中,不会发送到任何地方——
npx 只是从 GitHub 拉取服务器代码。
Related MCP server: MCP REST Server
从源码安装(替代方案)
git clone https://github.com/AlekseiKastsiuk/garmonia-crm-mcp
cd garmonia-crm-mcp
npm install
cp crm-config.example.json crm-config.json
# открой crm-config.json и впиши baseUrl, логин и пароль своей CRMcrm-config.json 包含 CRM 地址和登录名/密码,不要提交到 git
(它已经在 .gitignore 中)。
连接到 Claude Code
在 ~/.claude.json 中(或通过 claude mcp add)添加服务器:
{
"mcpServers": {
"garmonia-crm": {
"command": "node",
"args": ["/полный/путь/к/garmonia-crm-mcp/server.mjs"]
}
}
}如果配置文件不在服务器旁边,请在环境变量中指定路径:
"env": { "CRM_CONFIG": "/полный/путь/к/crm-config.json" }修改后重启 Claude Code。
工具
工具 | 功能 |
| 强制重新登录 |
| 订单看板(范围:all / free / mine) |
| 创建订单/线索(name、phone) |
| 领取订单开始处理 |
| 更改状态(new/in_work/shipped/done/cancelled) |
| 永久删除订单(默认先改为 cancelled) |
| 按 ID 列表批量删除订单 |
| 搜索客户 |
| 删除客户 |
| 品牌 |
| 员工 |
| 日历(任务/通话) |
| 直接请求任意 |
安全说明
CRM 地址和密码保存在
crm-config.json中,该文件已被.gitignore忽略—— 不会进入仓库。crm-config.example.json中只有占位符,没有真实数据。首次提交前请检查:
git ls-files不应包含crm-config.json, 而git grep -i password应只匹配到代码中的字段名。
注意事项
订单通过公开端点
POST /api/form-lead创建——无需认证。删除订单不是 REST 操作,而是 Next.js server action(即「已关闭」标签页上的「删除」按钮)。
crm_order_delete直接调用该 action。action 的 ID 与前端构建绑定; 如果部署后删除失败,请更新crm-config.json中的bulkDeleteActionId(在 JS bundle 中搜索bulkDelete即可找到)。商品/分类的列表是通过服务端渲染返回的,而不是 GET API—— 如需创建/修改/删除,请使用
crm_request(POST/PATCH/DELETE)。
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage your GuruHotel hotel: reservations, revenue, rates, KPIs, traffic and ARI updates (OAuth).
Manage hotels via the apaleo PMS API: reservations, folios, invoices, rates and availability.
Operate one Evolution API (WhatsApp) instance: chats, history, sending, groups, settings.
1Operate Obriym CRM from your AI assistant: leads, deals, orders, catalog, stock, marketplaces.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceEnables AI agents to authenticate users, manage calendar events, create meetings, and maintain persistent API sessions for seamless integration with Russian business platforms. Provides comprehensive business productivity capabilities including session management, password operations, and cross-user calendar coordination.-
- AlicenseAqualityCmaintenanceEnables interaction with any REST API through token or login authentication, with automatic Swagger/OpenAPI documentation integration for endpoint discovery and comprehensive HTTP request support.7MIT
- FlicenseNot gradedqualityNot gradedmaintenanceEnables interaction with Users and Products through a CRUD service REST API, providing tools for listing, creating, reading, updating, and deleting records via HTTP transport.-
- AlicenseCqualityAmaintenanceEnables interaction with openQA instances through the REST API, offering read tools for jobs, machines, and test suites, as well as mutating tools like restart and cancel with optional authentication.40GPL 2.0