Hamibot MCP Server
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Hamibot MCP Serverlist my devices"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🤖 Hamibot MCP Server
Hamibot MCP Server 是一个基于 Model Context Protocol (MCP) 的服务器实现,用于与 Hamibot API 进行交互。它提供了一系列工具来管理和控制 Hamibot 设备及脚本。
✨ 功能特性
设备管理:列出所有连接的设备
脚本管理:查看和运行自动化脚本
代码执行:在指定设备上执行自定义 JavaScript 代码
支持变量传递:可以向脚本传递自定义参数
Related MCP server: AutoBot MCP
⚙️ 配置
获取访问令牌
在 Trae 中使用
详细步骤参考 Trae 文档:https://docs.trae.ai/ide/model-context-protocol?_lang=zh
按键
F1输入
open mcp config json,点击进去在
mcp.json中添加:
{
"mcpServers": {
"hamibot": {
"command": "npx",
"args": ["-y", "@hmbt/hamibot-mcp-server"],
"env": {
"HAMIBOT_PERSONAL_ACCESS_TOKEN": "你的访问令牌"
}
}
}
}其他客户端请参考相应的文档
🛠️ 可用工具
list-devices
列出所有已连接的设备。
list-scripts
列出所有可用的自动化脚本。
run-script
在指定设备上运行脚本。
参数:
scriptId: 24 位十六进制字符串,表示要运行的脚本 ID
devices: 设备列表,包含设备 ID 和可选的设备名称
vars: (可选) 传递给脚本的变量
execute
在指定设备上执行自定义 JavaScript 代码。
参数:
code: JavaScript Hamibot 代码
devices: 设备列表,包含设备 ID 和可选的设备名称
vars: (可选) 传递给代码的变量
📝 示例
获取设备列表获取脚本列表在 "设备名" 上运行脚本 "脚本名",设备名和脚本名加引号,会更明确,例如在 "初号机" 上运行脚本 "演示脚本"

在所有 tag1 标签的设备上运行 "演示脚本"在初号机上运行这个脚本文件

💻 开发
# 构建项目
npm run build
# 启动服务器
npm start
# 开发模式(监视文件变化)
npm run watchThis server cannot be deployed
Maintenance
Related MCP Connectors
Drive real Android & iOS devices and web browsers from natural language for mobile + web QA. 290+ tools across device control, app management, automation sessions, browser automation, and flow recording / replay. Bearer-auth — get a token at robotactions.com → Profile → API Tokens.
Drive real devices from your AI Coding tool. Embed a client SDK (Unity, Godot, Flutter, iOS/macOS, Android, React Native, Web) in your app, then capture screenshots, traverse the UI tree, inject taps and key events, and run automated test tasks on the physical device over a secure relay.
Control real Android and iOS devices with LLM agents — tap, swipe, type, automate flows.
The governed runtime for agent skills. Search the catalog and inspect a skill before running it.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceEnables remote management and monitoring of the Rickbot-3000 robotic system through AI assistants. Provides real-time status monitoring, command execution, system diagnostics, and deployment management capabilities.-
- FlicenseBqualityDmaintenanceEnables remote control and automation of Android devices through the Model Context Protocol, supporting UI interactions, app management, ADB commands, screenshots, and device information retrieval via AutoBot API.53-
- AlicenseAqualityCmaintenanceEnables AI programming tools to query AScript API documentation and control real Android/iOS devices for automation scripting, including device interaction, development deployment, and file management.299MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to control mobile and desktop devices with natural language, including running automation tasks, taking screenshots, and managing devices.65 npmMIT