Skip to main content
Glama

nUR MCP Server

by nonead
robotConnector.py1.32 kB
__author__ = "Anthony Zhuang" __copyright__ = "Copyright 2009-2025" __license__ = "MIT License" import URBasic #import URplus #import if any UPplus modules is needed class RobotConnector(object): ''' Class to hold all connection to the Universal Robot and plus devises Input parameters: ''' def __init__(self,robotModel, host, hasForceTorque=False): ''' Constructor see class description for more info. ''' if(False): assert isinstance(robotModel, URBasic.robotModel.RobotModel) ### This line is to get code completion for RobotModel self.RobotModel = robotModel self.RobotModel.ipAddress = host self.RobotModel.hasForceTorqueSensor = hasForceTorque self.RealTimeClient = URBasic.realTimeClient.RealTimeClient(robotModel) self.RTDE = URBasic.rtde.RTDE(robotModel) self.DashboardClient = URBasic.dashboard.DashBoard(robotModel) self.ForceTourqe = None if hasForceTorque: self.ForceTourqe = URplus.forceTorqueSensor.ForceTorqueSensor(robotModel) def close(self): self.RTDE.close() self.RealTimeClient.Disconnect() self.DashboardClient.close() if self.ForceTourqe is not None: self.ForceTourqe.close()

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