RayTrace
Local gVisor sandbox that records what coding agents actually run, for developers
RayTrace is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- macOS, Linux, Windows
- Runs
- Locally
- Version
- 0.19.3
- Listing updated
Similar MCP servers
Install
Run in a terminal
claude mcp add raytrace -- npx -y @raytrace-cli/cliAdd to claude_desktop_config.json
{
"mcpServers": {
"raytrace": {
"command": "npx",
"args": [
"-y",
"@raytrace-cli/cli"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"raytrace": {
"command": "npx",
"args": [
"-y",
"@raytrace-cli/cli"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"raytrace": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@raytrace-cli/cli"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"raytrace": {
"command": "npx",
"args": [
"-y",
"@raytrace-cli/cli"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"raytrace": {
"command": "npx",
"args": [
"-y",
"@raytrace-cli/cli"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
About RayTrace
The README says RayTrace runs Claude Code or Codex inside an isolated copy of a project, where each sandbox is a Docker container under gVisor inside a Lima-managed Linux VM. A collector outside the sandbox logs every command with its real exit code, the files read or changed, and the network connections made, so the agent's own report can be checked against the machine's record.
The dashboard separates what the agent reported from what the sandbox observed, and flags disagreements. Users can take file changes home as a patch, rerun a session from a chosen step with something altered in a forked sandbox, and search recorded runs for failed commands or touched files like .env.
The local CLI is MIT licensed and needs no account; the website describes it as free and open source. Optional probability scoring and summaries require the user's own TypeSafe and OpenRouter keys, and a cloud sandbox option is offered as a preview.
What it does
- Isolated agent sandbox
- Runs coding agents in a Docker container under gVisor inside a local Lima VM, separated from the host's files and private networks.
- Outside-the-sandbox recording
- A collector the agent cannot disable logs commands, exit codes, file access and outbound connections.
- Reported versus observed comparison
- The dashboard shows tool calls alongside sandbox evidence so mismatches between claims and actual runs are visible.
- Patch export of changes
- Each prompt's file changes can be reviewed as diffs and downloaded as a patch to apply to your own checkout.
- Playground reruns
- Fork a session from any step with a changed tool result, file or model, and compare outcomes with an optional test command.
- Evidence search
- Searches recorded sessions with filters such as outcome, tool, exit code and file path.
- Restricted file alerts
- Lets owners restrict or watch sensitive files and raises alerts when an agent touches them.
Good for
- Checking whether an agent's claim that tests passed matches the real exit code
- Auditing which network endpoints and packages an agent contacted during a task
- Running Claude Code or Codex on a repository without giving it access to host secrets
- Reviewing an agent's file changes as a patch before merging them
- Rerunning an agent session with a different model or tool result to compare outcomes
Pricing
Open source
Local CLI is free and MIT licensed; optional cloud sandboxes and paid model keys are separate.
Prices change. Check raytracer.si before you buy.
RayTrace FAQ
Is the local version free?
The README says local sandboxes are free, MIT licensed, and need no RayTrace account. Cloud sandboxes are optional.
Which agents does RayTrace support?
The README describes running Claude Code or Codex in the sandbox; Codex prompts do not yet appear on the Prompts page in local sandboxes.
Does my code get uploaded?
According to the README, local sandboxes keep everything on the machine and nothing is uploaded. Cloud sandboxes upload the project to RayTrace servers.
What do I need to run RayTrace?
The README lists macOS 13.5 or later, or Linux with Lima, QEMU and KVM access; Windows is experimental and needs WSL2. The first setup downloads about 1 GB.
How do I add RayTrace to Claude Code?
Run this command in your terminal: claude mcp add raytrace -- npx -y @raytrace-cli/cli
What are the best alternatives to RayTrace?
The closest alternatives to RayTrace are Ironclaw, rag-rat, Agent Theatre, Tracetoon and ParallelSandbox.
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.