Welcome to the MuJoCo MCP documentation. This index provides a comprehensive overview of all available documentation and guides you to the right resources.
- README.md - Project overview and quick start
- Installation Guide - Detailed setup instructions
- Examples - Demo applications and tutorials
- Architecture Overview - System design and components
- API Reference - Complete API documentation
- CONTRIBUTING.md - How to contribute
- README.md
- Project introduction
- Quick start guide
- Basic features
- Example usage
- CLAUDE.md
- AI-specific guidance
- Architecture details
- Development workflow
- Design philosophy
-
- Built-in physics scenes
- Scene parameters
- Custom scene creation
-
- Advanced control algorithms
- Multi-robot coordination
- Sensor feedback systems
- RL integration
- Visualization tools
- README_MOTION_CONTROL.md
- Motion control demos
- MuJoCo Menagerie integration
- Robot configurations
- Control strategies
- MCP Tools (9 total)
get_server_info- Server status and capabilitiescreate_scene- Create physics simulationstep_simulation- Advance simulation timeget_state- Current simulation dataset_joint_positions- Control joint anglesreset_simulation- Reset to initial stateexecute_command- Natural language controlget_loaded_models- List active simulationsclose_viewer- Close MuJoCo GUI window
- CHANGELOG.md
- Version history
- Feature additions
- Bug fixes
- Breaking changes
- TESTING_SUMMARY.md
- Test coverage
- Known issues
- Performance metrics
- Production readiness
- AGENTS.md - Repository guidelines and workflow expectations
# Clone repository
git clone https://github.com/robotlearning123/mujoco-mcp.git
cd mujoco-mcp
# Install in development mode
pip install -e .
# Configure Claude Desktop
cp configs/cursor_mcp_config.json ~/Library/Application\ Support/Claude/claude_desktop_config.json# Install MuJoCo Menagerie (for robot models)
git clone https://github.com/google-deepmind/mujoco_menagerie.git ~/mujoco_menagerie
# Start enhanced viewer server
/opt/miniconda3/bin/mjpython mujoco_viewer_server_enhanced.py
# Run benchmarks
python benchmarks/physics_benchmarks.py
# Test advanced features
python test_advanced_features.pyβββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β Claude Desktop ββββββΆβ MCP Server ββββββΆβ Viewer Server β
β (MCP Client) βββββββ (Python SDK) βββββββ (MuJoCo) β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
JSON-RPC Socket (8888) launch_passive()
mujoco-mcp/
βββ src/mujoco_mcp/
β βββ __init__.py # Package initialization
β βββ __main__.py # Entry point
β βββ server.py # Main MCP server
β βββ viewer_client.py # Socket client
β βββ mcp_server.py # MCP protocol handler
β βββ advanced_controllers.py # Control algorithms
β βββ multi_robot_coordinator.py # Multi-robot systems
β βββ sensor_feedback.py # Sensor processing
β βββ rl_integration.py # RL environments
β βββ visualization_tools.py # Real-time plotting
βββ examples/
β βββ motion_control_demo.py # Direct control demo
β βββ mcp_motion_control.py # MCP interface demo
βββ benchmarks/
β βββ physics_benchmarks.py # Performance tests
βββ mujoco_viewer_server.py # Viewer server
# In Claude Desktop
"Create a pendulum simulation"
"Set the pendulum angle to 45 degrees"
"Step the simulation 100 times"# Load from MuJoCo Menagerie
"Load Franka Panda robot"
"Create a Unitree Go2 scene"
"Show me the Shadow Hand model"# Using Python API
from mujoco_mcp.advanced_controllers import create_arm_controller
controller = create_arm_controller("franka_panda")
controller.set_trajectory(waypoints, times)from mujoco_mcp.multi_robot_coordinator import MultiRobotCoordinator
coordinator = MultiRobotCoordinator()
coordinator.add_robot("arm1", "franka_panda", {"manipulation": True})
coordinator.add_robot("arm2", "ur5e", {"manipulation": True})
coordinator.start_coordination()-
"Failed to connect to MuJoCo viewer server"
- Ensure
mujoco_viewer_server.pyis running - Check if port 8888 is available
- Use
/opt/miniconda3/bin/mjpythonon macOS
- Ensure
-
"MuJoCo Menagerie not found"
- Install:
git clone https://github.com/google-deepmind/mujoco_menagerie.git - Set:
export MUJOCO_MENAGERIE_PATH=~/mujoco_menagerie
- Install:
-
"Model not found"
- Verify model exists in Menagerie installation
- Check robot_configs in motion_control_demo.py
-
Performance Issues
- Use enhanced viewer server for production
- Enable connection pooling
- Monitor with built-in diagnostics
- Check TESTING_SUMMARY.md for known issues
- Review examples in examples/ directory
- Consult ADVANCED_FEATURES_GUIDE.md for complex use cases
- Blender MCP - Similar architecture
- MuJoCo MPC - Model predictive control
- dm_control - DeepMind control suite
- Report issues: GitHub Issues
- Discussions: Use GitHub Discussions for questions
- Contributing: See CONTRIBUTING.md
- Version: 0.8.2
- Status: Production Ready
- Test Coverage: 4/6 advanced features passing
- Documentation: Comprehensive (this index)
- License: MIT
Last documentation update: June 2025