robotarm-mcp-p340
v0.1.0MCP Server for controlling ElephantRobotics MyCobot robotic arms via natural language
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
connect_robot
连接机械臂 Args: model: 机械臂型号 (ultraArmP340, MyCobot280, MyCobot320) port: 串口号 (Windows: COM3, Linux: /dev/ttyUSB0)
| Parameter | Type | Description |
|---|---|---|
model | string | |
port | string |
get_robot_status
获取机械臂当前状态
move_to_angles
移动机械臂到指定角度 Args: angles: 各关节角度列表 [joint1, joint2, joint3] speed: 移动速度 (0-200 mm/s)
| Parameter | Type | Description |
|---|---|---|
angles * | array | |
speed | integer |
move_to_coords
移动机械臂到指定坐标 Args: coords: 坐标列表 [x, y, z] speed: 移动速度 (0-200 mm/s)
| Parameter | Type | Description |
|---|---|---|
coords * | array | |
speed | integer |
control_gripper
控制夹爪 Args: action: "open" 或 "close"
| Parameter | Type | Description |
|---|---|---|
action * | string |
control_pump
控制吸泵 Args: action: "on" 或 "off"
| Parameter | Type | Description |
|---|---|---|
action * | string |
go_zero
让机械臂回到零位
emergency_stop
紧急停止机械臂运动
execute_action_sequence
执行一个完整的动作序列,支持连续流畅的动作组合 Args: sequence_name: 动作序列名称(如"舞蹈"、"逗猫"、"按摩"等) actions: 动作序列列表,每个动作包含: - type: 动作类型 ("angles", "coords", "gripper", "pump", "wait") - angles/coords: 目标位置(根据type) - speed: 移动速度(可选,默认50) - duration: 该动作持续时间(可选,默认使用default_interval) - gripper_action: 夹爪动作 ("open" 或 "close") - pump_act…
| Parameter | Type | Description |
|---|---|---|
actions * | array | |
sequence_name * | string | |
default_interval | number |