Quick Start
This guide builds the runvero CLI and a few ready-made tools from source, runs them inside the sandbox, shows a limit stopping a run, and connects the tools to an MCP client. Every command and output below was run against the current runvero source.
1. Prerequisites
Section titled “1. Prerequisites”- Git
- Rust, installed with rustup. The repository pins the toolchain and the
wasm32-wasip2target, socargoinstalls them on first use. - Python 3.10 or newer, to build the Python-based starter tools.
just, the repository’s command runner.
The first build downloads crates and the WASI SDK and takes a few minutes. Later builds are much faster.
2. Build the CLI
Section titled “2. Build the CLI”git clone https://github.com/runvero-labs/runvero.gitcd runverocargo build --release --package runvero-clialias runvero="$PWD/target/release/runvero"runvero --versionrunvero 0.1.03. Build starter tools
Section titled “3. Build starter tools”The repository includes a starter catalog of ready-made tools. Build three of them:
just setup-pythonjust build-catalog --tool calculator --tool sqlite-runner --tool regex-extractorEach tool lands in target/catalog/ as a .wasm component next to its .tool.json manifest. The manifest holds the tool’s description, input schema, examples and resource limits. Run just build-catalog with no arguments to build all eight tools.
4. Run your first tool
Section titled “4. Run your first tool”With no arguments, runvero run uses the first example in the manifest:
runvero run target/catalog/calculator.tool.json{"result":14}
--- Execution Breakdown ---Memory Consumed: 12.44 MiB (13,041,664 bytes)Fuel Consumed: 692,548 instructionsExecution Time: 8.08 ms---------------------------Log lines go to stderr, so only the result and breakdown are shown here. Your numbers will differ slightly. Execution time excludes loading and compiling the component, which runvero caches after the first run.
Pass your own arguments with --args. They are checked against the manifest’s input schema before the tool runs:
runvero run target/catalog/sqlite-runner.tool.json \ --args '{"query":"SELECT 6 * 7 AS answer"}'{"columns":["answer"],"rows":[[42]],"truncated":false}5. See a limit stop a run
Section titled “5. See a limit stop a run”Every run has a fuel (instruction) budget, a memory cap and a timeout. Give the same tool too little fuel and the host stops it:
runvero run target/catalog/calculator.tool.json --fuel 100000ERROR runvero: Sandbox execution terminated with error error=Sandbox instruction fuel exhausted (limit reached)The command exits with status 1 and returns no output. Network access is blocked unless you allow a host with --allow-host; see egress options.
6. Output for scripts
Section titled “6. Output for scripts”--raw prints only the tool output:
runvero run target/catalog/sqlite-runner.tool.json \ --args '{"query":"SELECT 6 * 7 AS answer"}' --raw--breakdown-json prints the result and its measurements as JSON:
{ "egress_denials": [], "execution_time_ms": 0.72, "fuel_consumed": 333588, "memory_consumed_bytes": 1310720, "output": "{\"columns\":[\"answer\"],\"rows\":[[42]],\"truncated\":false}"}7. Connect an MCP client
Section titled “7. Connect an MCP client”Serve the build directory. The gateway listens on 127.0.0.1:8080 and requires a bearer token:
export RUNVERO_AUTH_TOKEN="$(openssl rand -hex 24)"runvero serve --tools-dir target/catalogThen point your MCP client at the stdio bridge. For Claude Desktop (claude_desktop_config.json):
{ "mcpServers": { "runvero": { "command": "/path/to/runvero/target/release/runvero", "args": ["mcp-bridge", "--gateway-url", "http://127.0.0.1:8080/mcp"], "env": { "RUNVERO_AUTH_TOKEN": "<the same token>" } } }}Cursor uses the same command. The client lists each tool with the description and argument schema from its manifest. Ask it to “use the calculator tool to work out 2 + 3 * 4” to confirm the connection works.
Next steps
Section titled “Next steps”- CLI reference: every command and flag.
- Python client: call the gateway from Python.
- Tool authoring: write your own tool.