Files
wehub-resource-sync db1d565b64
Integration Tests / melodic (push) Has been cancelled
Integration Tests / noetic (push) Has been cancelled
Integration Tests / humble (push) Has been cancelled
Integration Tests / jazzy (push) Has been cancelled
Ruff Lint & Format / ruff (push) Has been cancelled
Sync main to develop / Check if sync is needed (push) Has been cancelled
Sync main to develop / Sync main to develop (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:36:23 +08:00

3.2 KiB

Step 1: ChatGPT Setup

ChatGPT Desktop is OpenAI's desktop application. It supports MCP servers through its Connectors settings. Download it from chatgpt.com/download or the Microsoft Store.

Recommended alternative: ChatGPT's MCP setup is more complex than other clients because it requires an ngrok tunnel. For a simpler experience, consider using Codex CLI or Claude Code instead.

Note: ChatGPT Desktop requires a public HTTPS URL to connect to MCP servers, so you'll need to run the MCP server in HTTP mode with an ngrok tunnel. See the HTTP transport guide for details on the transport layer.

1. Install uv

uv is needed to run the MCP server via uvx.

curl -LsSf https://astral.sh/uv/install.sh | sh

See the uv installation docs for other platforms or troubleshooting.

2. Install and Configure ngrok

ngrok creates a public HTTPS tunnel to your local MCP server.

  1. Install ngrok from ngrok.com/download
  2. Create an account and add your authtoken:
    ngrok config add-authtoken <YOUR_AUTHTOKEN>
    
  3. Get a free static domain from the ngrok dashboard (e.g., abc123-xyz789.ngrok-free.app)

3. Start the MCP Server and Tunnel

Start the MCP server in HTTP mode:

uvx ros-mcp --transport streamable-http --host 127.0.0.1 --port 9000

In a separate terminal, start the ngrok tunnel:

ngrok http --url=<your-domain>.ngrok-free.app 9000

Verify the tunnel is working:

curl https://<your-domain>.ngrok-free.app/mcp

4. Configure ChatGPT

  1. Open ChatGPT Desktop
  2. Go to Settings (bottom left) > Connectors
  3. Create a new connector:
    • Name: ROS-MCP Server
    • MCP Server URL: https://<your-domain>.ngrok-free.app/mcp
    • Authentication: No authentication
    • Check I trust this application
  4. In a new chat, click + > Developer Mode > Add sources > Activate ROS-MCP Server

5. Verify the Setup

Ask ChatGPT:

Connect to the robot on localhost using the ros-mcp server

The MCP server will attempt to reach a robot on the same machine. It should report that the IP is reachable but the rosbridge port is closed — this confirms the MCP server is set up correctly.

Tip: If your AI assistant can't find the ros-mcp server, make sure both the MCP server and ngrok tunnel are still running, then restart ChatGPT Desktop.

To complete the connection, set up rosbridge on your robot.

Next Step

Set up rosbridge on the machine where ROS is running: Step 2: Rosbridge Setup


Advanced

  • Alternate installation methods:

Back to Installation Guide | Troubleshooting