UniRoboSim MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@UniRoboSim MCPcapture a camera image from the active simulation session"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
UniRoboSim MCP
unirobosim-mcp exposes UniRoboSim evidence, simulation state, backend camera images, and explicitly enabled simulation control to MCP-compatible clients. The server has two deployment profiles:
Evidence profile (default): bounded, read-only access to an operator-selected evidence root.
Control profile (explicit): Evidence tools plus Read and Control tools for simulator sessions created and owned by this server.
The server does not attach to sessions created by other applications.
Installation
Python >=3.11,<3.13 is supported. Install Core, this package, and the adapter required by the selected backend in the same environment.
conda create -n unirobosim-mcp python=3.12 pip -y
conda activate unirobosim-mcp
git clone https://github.com/GitHofee/UniRoboSim.git
git clone https://github.com/GitHofee/UniRoboSim-mcp.git
git clone https://github.com/GitHofee/UniRoboSim-mujoco.git # example backend
python -m pip install ./UniRoboSim ./UniRoboSim-mcp ./UniRoboSim-mujocoGeneral deployments use the current MCP 2.x runtime. Isaac Lab 3.0 environments retain their verified Pydantic and Uvicorn pins, so install the compatibility extra there:
python -m pip install './UniRoboSim-mcp[isaaclab]'The extra selects MCP 1.10.1; it exposes the same UniRoboSim tool catalog and was
verified through the real stdio protocol with Isaac Sim 6.0.1.
Related MCP server: gazebo-mcp
Evidence profile
unirobosim-mcp --root /absolute/path/to/approved/evidenceUNIROBOSIM_EVIDENCE_ROOT may be used instead of --root:
export UNIROBOSIM_EVIDENCE_ROOT=/absolute/path/to/approved/evidence
unirobosim-mcpTool | Contract |
| Return the active root, hard query limits, and control status. |
| List allowlisted evidence with a bounded POSIX glob. |
| Read one bounded UTF-8 or JSON artifact. |
| Validate a closed trace and return its compact manifest. |
| Query publish, clear, and reset events without full geometry. |
| Query accepted, filtered, and dropped publish decisions. |
| Reconstruct selected active debug primitives at a sequence. |
Absolute paths, traversal, escaping symlinks, unapproved extensions, oversized files, excessive scans, and excessive result counts are rejected.
Control profile
Control must be enabled explicitly. Local asset files are denied unless their parent tree is allowlisted with --asset-root.
unirobosim-mcp \
--root /absolute/path/to/approved/evidence \
--enable-control \
--asset-root /absolute/path/to/approved/assets \
--max-sessions 2 \
--lease-timeout-seconds 300Read API
Read tools require a session ID but not the write lease.
Tool | Contract |
| Discover and probe installed backend entry points. |
| List sessions owned by this server; lease values are never returned. |
| Return the portable scene graph for entity and camera discovery. |
| Read typed state for a rigid body, articulation, deformable, particle fluid, or camera. |
| Return an MCP image containing PNG data encoded from the backend RGB camera buffer. |
simulation_get_entity reports the canonical path, entity kind, original MCP configuration, simulation tick, array shapes and dtypes, and type-specific data. include_values=true includes bounded values; include_contact=true adds rigid-body contact state.
simulation_capture_camera is not a desktop or browser screenshot. It calls the selected backend through Camera.read("rgb"), validates the canonical [environment,height,width,3] uint8 buffer, and encodes that buffer as PNG. save_to_evidence=true also writes the image under <root>/screenshots/ and returns its SHA-256 digest and dimensions.
Control API
All mutations require the opaque lease_id returned by simulation_create and a unique command_id.
Tool | Contract |
| Return ownership policy, allowlisted roots, and hard resource limits. |
| Create an owned EasyAPI session for an explicit backend. |
| Add a box, rigid asset, articulation, camera, deformable, or particle fluid before start. |
| Compile the scene and return its backend build fingerprint. |
| Extend the write lease without changing its value. |
| Advance the simulation by a bounded number of steps. |
| Reset all or selected environments. |
| Apply articulation, rigid-wrench, deformable, fluid, scene, or debug-clear commands. |
| Close the owned session and release backend resources. |
Repeated use of a command_id with identical input returns the cached result with idempotent_replay=true. Reusing that identifier with different input is rejected. Expired sessions are closed automatically. Every applied or rejected mutation is written to mcp-control-audit.jsonl; lease values are excluded from the audit record.
Agent operating rule
An agent using the Control profile must follow this sequence:
Call
simulation_list_backendsand select an available backend explicitly.Call
simulation_create; retain the returned lease only for write operations.Add all entities with unique command identifiers, then call
simulation_start.Use
simulation_scene_snapshotto discover canonical entity and camera paths.Use
simulation_get_entityfor targeted state andsimulation_capture_camerafor visual verification.Reuse a command identifier only to retry the identical write request.
Call
simulation_closefor every created session, including failed workflows.
The agent must not infer backend support from tool availability. Unsupported simulator capabilities are reported by capability negotiation or by the selected adapter.
Loopback HTTP
unirobosim-mcp \
--root /absolute/path/to/approved/evidence \
--transport streamable-http \
--host 127.0.0.1 \
--port 8766Unauthenticated HTTP is restricted to 127.0.0.1, localhost, or ::1. Remote deployment requires an authenticated and authorized gateway. Control mode must not be exposed directly on an untrusted network.
Programmatic embedding
from pathlib import Path
from unirobosim_mcp import ControlLimits, EvidenceLimits, SimulationControl, create_server
root = Path("/approved/evidence")
control = SimulationControl(
root,
asset_roots=(Path("/approved/assets"),),
limits=ControlLimits(max_sessions=1, lease_timeout_seconds=120),
)
server = create_server(
root,
limits=EvidenceLimits(max_results=50, max_query_items=100),
control=control,
)
server.run(transport="stdio")Verification
python -m pip install -e '.[dev]'
ruff format --check src tests
ruff check src tests
mypy src
coverage run -m pytest
coverage reportRelease acceptance calls every published MCP tool through a real in-process MCP client. Additional contract tests cover all supported entity types and command families, leases, idempotency, expiration, allowlisted assets, resource limits, audit records, PNG encoding, and saved screenshot evidence. Native acceptance is executed separately for each installed simulator adapter; a feature is not reported as passed for a backend unless that native run succeeds.
Core contracts and adapter installation are documented in UniRoboSim Core.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for controlling Universal Robots arms and Robotiq grippers via RTDE protocol, enabling motion, force, I/O, and gripper operations.1MIT
- AlicenseNot gradedqualityAmaintenanceMCP server for AI agents to drive Gazebo / gz-sim simulation, with offline mock mode for CI/demos.4MIT
- FlicenseAqualityAmaintenanceMCP server that exposes a deterministic force-on-force simulation of FPV sUAS vs counter-UAS RF direction finding as tools for AI agents to run engagements, sweep seeds, and compare configurations.5
- FlicenseNot gradedqualityCmaintenanceMCP server for controlling a simulated robot arm with vision-based pick-and-place, driven by LLM or manual control.1
Related MCP Connectors
An authenticated remote MCP server for user-owned devices and one-shot capability invocation.
MCP server exposing the Backtest360 engine API as tools for AI agents.
Remote MCP server for RunComfy Serverless API (ComfyUI): deployments and async inference.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/GitHofee/UniRoboSim-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server