1. Conduid
  2. Developer Tools
  3. Hamibot MCP Server
MCP server · Developer Tools

Hamibot MCP Server

用于与 Hamibot API 进行交互。它提供了一系列工具来管理和控制 Hamibot 设备及脚本

Unclaimed last commit a year ago hamibotmcpmcp-server
34Low

Scored 7 months ago · breakdown

About Hamibot MCP Server

Hamibot MCP Server is an MCP server published by hamibot in the Developer Tools category: 用于与 Hamibot API 进行交互。它提供了一系列工具来管理和控制 Hamibot 设备及脚本.

The repository has 9 stars and 3 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/hamibot/hamibot-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (4)

executeExecute custom JavaScript code on specified devices

Parameters not published.

list-devicesList all connected devices

Parameters not published.

list-scriptsList all available automation scripts

Parameters not published.

run-scriptRun an automation script on specified devices

Parameters not published.

Ask AI

✦

Ask AI about Hamibot MCP Server

Powered by Claude · Grounded in docs

I know everything about Hamibot MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

🤖 Hamibot MCP Server

Hamibot MCP Server 是一个基于 Model Context Protocol (MCP) 的服务器实现,用于与 Hamibot API 进行交互。它提供了一系列工具来管理和控制 Hamibot 设备及脚本。

✨ 功能特性

  • 设备管理:列出所有连接的设备
  • 脚本管理:查看和运行自动化脚本
  • 代码执行:在指定设备上执行自定义 JavaScript 代码
  • 支持变量传递:可以向脚本传递自定义参数

⚙️ 配置

获取访问令牌

  1. 访问 https://hamibot.com/account/tokens
  2. 点击生成

在 Trae 中使用

详细步骤参考 Trae 文档:https://docs.trae.ai/ide/model-context-protocol?_lang=zh

  1. 按键 F1
  2. 输入 open mcp config json,点击进去
  3. 在 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 watch

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Hamibot MCP Server

How do I install Hamibot MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Hamibot MCP Server safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Hamibot MCP Server still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.