Skip to main content
Glama

set_websocket_ip

Configure the IP and port for WebSocket connections in the ROS MCP Server to enable robotic movement control via precise IP settings.

Instructions

Set the IP and port for the WebSocket connection.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipYes
local_ipYes
portYes

Implementation Reference

  • Helper method in WebSocketManager class that sets the IP address and port used for establishing the WebSocket connection to rosbridge. This implements the core functionality of configuring the websocket endpoint for the 'set_websocket_ip' tool.
    def set_ip(self, ip: str, port: int): """ Set the IP and port for the WebSocket connection. """ self.ip = ip self.port = port print(f"[WebSocket] IP set to {self.ip}:{self.port}", file=sys.stderr)

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/robotmcp/ros-mcp-server'

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