mcp-server-isaaclab

mcp-server-isaaclab

Enables Claude to control NVIDIA Isaac Lab for RL training, environment management, and policy evaluation on a remote GPU instance via SSH tunnel.

Category
Visit Server

README

mcp-server-isaaclab

MCP server for NVIDIA Isaac Lab — RL training, environment management, and policy evaluation from Claude.

Runs locally on your Mac and communicates with Isaac Lab on a remote Brev GPU instance through an SSH tunnel. All heavy simulation stays on the GPU; Claude just sends commands.

Not Isaac Sim. This server controls Isaac Lab (RL environments, training pipelines, policy evaluation). For low-level Isaac Sim control (USD prims, scene authoring, Kit commands), see mcp-server-isaacsim.

Architecture

┌──────────┐    stdio    ┌──────────────┐   SSH tunnel   ┌─────────────────┐
│  Claude   │◄──────────►│  MCP Server  │◄──────────────►│  Remote Agent   │
│  (local)  │            │  (local Mac) │   port 8421    │  (Brev GPU)     │
└──────────┘            └──────────────┘                └────────┬────────┘
                                                                  │
                                                          ┌───────▼────────┐
                                                          │   Isaac Lab    │
                                                          │  (Isaac Sim)   │
                                                          └────────────────┘

MCP Server (this repo) runs on your Mac as a stdio MCP server. It opens an SSH tunnel to the Brev instance and forwards all requests to the Remote Agent — a FastAPI service running next to Isaac Lab on the GPU box.

Prerequisites

  • Python 3.10+
  • A Brev GPU instance (provision with brev create)
  • SSH access to the instance (brev ssh)
  • Isaac Lab installed on the instance (setup script included)

Quick Start

1. Install locally

git clone git@github.com:chloepilonv/mcp-server-isaaclab.git
cd mcp-server-isaaclab
pip install -e .

2. Provision a Brev GPU instance

brev create isaaclab-gpu --gpu A100
brev ssh isaaclab-gpu

3. Install Isaac Lab on the instance

# From your Mac:
scp scripts/setup-brev-isaaclab.sh ubuntu@<BREV_HOST>:~
ssh ubuntu@<BREV_HOST> bash ~/setup-brev-isaaclab.sh

This installs Isaac Lab + the skrl, rsl_rl, and sb3 RL frameworks.

4. Deploy the remote agent

./scripts/deploy-remote-agent.sh <BREV_HOST> ubuntu ~/.ssh/your_key

This copies the agent code, installs it, and starts it as a systemd service on port 8421.

5. Configure Claude

The project includes .mcp.json so Claude Code automatically picks up the server when you're in this directory.

For Claude Desktop, add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "isaaclab": {
      "command": "mcp-server-isaaclab"
    }
  }
}

For Claude Code in other projects, add to the project's .mcp.json:

{
  "mcpServers": {
    "isaaclab": {
      "command": "mcp-server-isaaclab"
    }
  }
}

Tools

Connection

Tool Description
connect_instance Establish SSH tunnel to Brev GPU instance
disconnect_instance Tear down the connection
instance_status GPU utilization, active sessions & jobs
gpu_status Detailed GPU memory, temperature, utilization

Simulation (Interactive)

Tool Description
list_environments List all registered Isaac Lab tasks
create_session Create an interactive simulation session
step_session Step simulation forward (random or specified actions)
reset_session Reset environment to initial state
get_observation Get current observations + action/obs space info
close_session Close session and free GPU memory

Training

Tool Description
start_training Launch an async RL training job
monitor_training Get status, recent logs, latest checkpoint
get_training_logs Read full training logs
stop_training Stop a running training job
list_training_jobs List all jobs (running, completed, failed)

Evaluation & Files

Tool Description
evaluate_policy Evaluate a checkpoint, optionally record video
list_checkpoints Browse saved model checkpoints
list_log_dirs Browse training log directories
list_videos List recorded simulation videos
read_remote_file Read any text/image file on the instance
run_isaaclab_script Run arbitrary Isaac Lab Python scripts

Example Conversations

Train a locomotion policy:

> Connect to my Brev instance at 203.0.113.42
> What environments are available for quadruped locomotion?
> Train Anymal-D on rough terrain with rsl_rl, 4096 envs, 1500 iterations
> Check on the training
> Evaluate the best checkpoint and record a video

Explore an environment interactively:

> Connect to my Brev GPU
> Create a session with Isaac-Cartpole-v0, 32 envs
> What does the observation space look like?
> Step 100 times with random actions — what are the rewards?
> Reset and try again
> Close the session

Monitor GPU and manage jobs:

> What's the GPU status?
> List all training jobs
> Stop the Ant training — it's not converging
> Show me the last 200 lines of logs from the Franka training

Supported RL Frameworks

Framework Best For Notes
skrl General purpose Modern, modular, good default choice
rsl_rl Locomotion ETH RSL's framework, optimized for legged robots
sb3 Prototyping Stable Baselines 3, easy to use
rl_games Multi-GPU NVIDIA's framework, scales well

Available Environments (selection)

Category Examples
Classic Isaac-Cartpole-v0, Isaac-Ant-v0, Isaac-Humanoid-v0
Manipulation Isaac-Reach-Franka-v0, Isaac-Lift-Cube-Franka-v0, Isaac-Open-Drawer-Franka-v0
Locomotion Isaac-Velocity-Flat-Anymal-D-v0, Isaac-Velocity-Rough-Unitree-Go2-v0
Navigation Isaac-Navigation-Flat-Anymal-C-v0

Use list_environments to get the full list from your installation.

Project Structure

mcp-server-isaaclab/
├── src/mcp_server_isaaclab/
│   ├── server.py            # MCP server (runs locally, exposes tools)
│   ├── connection.py        # SSH tunnel + HTTP client manager
│   └── remote/
│       └── agent.py         # FastAPI agent (runs on Brev GPU)
├── scripts/
│   ├── deploy-remote-agent.sh      # Deploy agent to Brev
│   └── setup-brev-isaaclab.sh      # Install Isaac Lab on instance
├── .mcp.json                # Claude Code MCP config
├── pyproject.toml
└── README.md

Development

pip install -e ".[dev]"
ruff check src/
pytest

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured