Urml
Validates robot programs against capability limits and safety rules before they run
Urml is an open-source MCP server for robotics tooling. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, API, Linux
- Runs
- Locally
- What it can do
- Can change data (1 tool)
- Version
- 0.5.4
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add urml -- uvx urml-mcp-serverAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"urml": {
"command": "uvx",
"args": [
"urml-mcp-server"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"urml": {
"command": "uvx",
"args": [
"urml-mcp-server"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"urml": {
"command": "uvx",
"args": [
"urml-mcp-server"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"urml": {
"type": "stdio",
"command": "uvx",
"args": [
"urml-mcp-server"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add urml -- uvx urml-mcp-serverOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.urml]
command = "uvx"
args = ["urml-mcp-server"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"urml": {
"command": "uvx",
"args": [
"urml-mcp-server"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "urml": { "command": "uvx", "args": [ "urml-mcp-server" ] } } }Or run: gemini mcp add -s user urml uvx -- urml-mcp-server
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "urml": { "command": "uvx", "args": [ "urml-mcp-server" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "urml": { "command": "uvx", "args": [ "urml-mcp-server" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "urml": { "command": "uvx", "args": [ "urml-mcp-server" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "urml": { "command": "uvx", "args": [ "urml-mcp-server" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "urml": { "command": "uvx", "args": [ "urml-mcp-server" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "urml": { "command": "uvx", "args": [ "urml-mcp-server" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "urml": { "command": "uvx", "args": [ "urml-mcp-server" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Urml
URML's MCP server gives an AI agent five tools for writing and checking robot programs. The agent drafts a URML program, asks the server to validate it against a robot's capability manifest and safety envelope, and only then runs it. The server never calls a language model itself; the calling agent does the generating, so the validator stays the checkpoint between a model's output and an actuator.
By default the server runs against a mock adapter that records calls and touches no hardware, so the full loop can be tried without a robot. Real adapters for ROS 2, PX4 and ArduPilot are off unless the operator enables them and pins the manifest, envelope and policy at startup, so an agent cannot choose the rules it is checked against.
The package is aimed at developers and robotics teams who connect coding or assistant agents such as Claude Code, Cursor or VS Code to physical robots and want refusals to come back as typed errors rather than unsafe motion.
Tools this server provides (5)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 5 tools changes data.
From the server's own tool labels and tool names; not verified by us.
- urml_get_contractName suggests: reads
- Returns the Layer-4 system prompt and the URML program JSON Schema to emit against.
- urml_validateName suggests: reads
- Validates a program against a manifest and safety envelope and returns accepted status with structured errors.
- urml_executeName suggests: changes
- Runs a program against an adapter after re-validating it.
- urml_list_profilesName suggests: reads
- Lists available profiles such as home, industrial, drone, educational and fleet.
- urml_describe_manifestName suggests: reads
- Returns a compact structural summary of a capability manifest.
What it does
- Program validation
- Checks a URML program against a robot's capability manifest and safety envelope and returns structured errors.
- Gated execution
- Runs programs through an adapter only after re-validation, with real-hardware adapters disabled by default.
- Operator-pinned rules
- Manifests, envelopes, profiles and policies can be fixed at server startup so the agent cannot override them.
- Mock adapter
- A hardware-free adapter lets the validate and execute loop be tested without ROS or a robot.
- Contract retrieval
- Returns the system prompt and JSON Schema an agent needs to emit valid URML.
- Evidence logging
- Optionally writes a local record for each validation and execution verdict.
Good for
- Letting a coding agent draft robot motion programs that are checked before any hardware receives them
- Testing URML programs against a robot's limits in simulation with the mock adapter
- Pinning a robot's manifest and site envelope so an assistant cannot bypass them
- Connecting an MCP-capable client to a PX4 or ArduCopter drone through validated execution
Pricing
Open source
Source-available under Business Source License 1.1; free for non-production use, production robots need a license.
Prices change. Check urml.dev before you buy.
Urml FAQ
Does the server call an AI model?
No. The calling agent generates the URML, and the server only validates and executes it.
Does Urml work without a robot?
Yes. The default mock adapter records calls and touches no hardware, and it needs no ROS install.
How is Urml installed?
Install the urml-mcp-server package from PyPI with pip, then run the urml-mcp command over stdio and register it in an MCP client config.
Which robot systems are supported for real execution?
ROS 2, PX4 and ArduPilot adapters are available, each requiring its own runtime package and a reachable controller.
Is Urml free?
Yes. Urml is open source, so you can use and self-host it for free.
How do I add Urml to Claude Code?
Run this command in your terminal: claude mcp add urml -- uvx urml-mcp-server
What are the best alternatives to Urml?
The closest alternatives to Urml are mjguard, RoArm-M3, Embodify, MCP Server Ros 2 and Ros MCP Server.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.