Skip to main content
Glama

get_ur_software_version

Retrieve the software version of Universal Robots by providing the robot's IP address. This tool enables users to monitor and manage robot configurations through the nUR MCP Server.

Instructions

根据用户提供的IP,获取指定机器人的软件版本 IP:机器人地址

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipYes

Implementation Reference

  • The main handler function for the 'get_ur_software_version' tool. It is decorated with @mcp.tool(), which registers it as an MCP tool. The function checks the robot connection, queries the PolyScope version via the DashboardClient, and returns the software version or an error message.
    @mcp.tool() def get_ur_software_version(ip: str): """根据用户提供的IP,获取指定机器人的软件版本 IP:机器人地址""" try: if '连接失败' in link_check(ip): return return_msg(f"与机器人的连接已断开。") robot_list[ip].robotConnector.DashboardClient.ur_polyscopeVersion() result = robot_list[ip].robotConnector.DashboardClient.last_respond return return_msg(f"IP为{ip}的优傲机器人的软件版本是{result}") except Exception as e: logger.error(f"软件版本获取失败: {str(e)}") return return_msg(f"软件版本获取失败: {str(e)}")

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nonead/nUR_MCP_SERVER'

If you have feedback or need assistance with the MCP directory API, please join our Discord server