# R&S Oscilloscope MCP: AI on the RTB2 / RTB2000 bench

> R&S Oscilloscope MCP: AI on the RTB2 / RTB2000 bench is an open-source MCP server for electronics. MCP server that lets an AI agent run and read a Rohde & Schwarz RTB2 oscilloscope. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** macOS, Windows, Linux, API, CLI, Self-hosted
- **Website:** https://ae5vg.com/products/rs-scope-mcp.html
- **Repository:** https://github.com/sbrunner-atx/rs-scope-mcp
- **MCP Registry name:** io.github.sbrunner-atx/rs-scope-mcp
- **Categories:** [electronics](https://ai-powered.com/categories/electronics)
- **Listing updated:** 2026-11-27

## About

Connects an AI assistant to a Rohde & Schwarz RTB2 or RTB2000 scope over the local network, so measurements, bus decodes, spectra and frequency response sweeps can be requested in plain language. Each acquisition is saved on the computer that runs the server, along with the scope setup that produced it, and the assistant works from compact summaries and pulls full samples only when a question needs them.

The server checks every remote command before sending it and reads the scope's error queue after each write, so rejected commands return a reason in milliseconds instead of hanging a client. Task tools save the scope state before a job and restore it afterward, and signal generators stay off unless the user explicitly confirms them.

It suits radio amateurs testing transmitters through attenuators, engineers reverse engineering unknown pins or buses, and embedded developers checking rails, PWM or intermittent faults. Support for other scope families is described as planned rather than available, and commercial use requires a separate license.

## Features

- **Complete command validation:** Every SCPI command is checked against the scope's command set before it is sent, and invalid ones are refused with a reason.
- **Stored captures:** Analog, logic and decoded bus data are kept in a local store with the setup that produced them, and can be queried later.
- **Bus identification:** Infers I2C, SPI, UART or servo PWM from the edges of unknown logic lines, then configures the decoder to confirm.
- **Measurements, FFT and Bode:** Returns automatic measurements as numbers, FFT peaks with noise floor, and Bode sweeps with -3 dB points.
- **Pass/fail mask testing:** Learns a tolerance mask from a good signal and keeps only failing acquisitions in segmented memory for review.
- **Setup save and restore:** Tasks save the scope configuration first and restore it at the end, with generators switched off.

## Good for

- Measure frequency and peak-to-peak levels on a bench signal and view the screen
- Decode an unknown logic bus and list the addresses and bytes it carries
- Sweep a filter and report its -3 dB points
- Run thousands of acquisitions to catch a rare corrupted frame
- Check transmitter keying and harmonics through attenuators

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add rs-scope-mcp --env RS_SCOPE_HOST='<RS_SCOPE_HOST>' -- uvx rs-scope-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "rs-scope-mcp": {
      "command": "uvx",
      "args": [
        "rs-scope-mcp"
      ],
      "env": {
        "RS_SCOPE_HOST": "<RS_SCOPE_HOST>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "rs-scope-mcp": {
      "command": "uvx",
      "args": [
        "rs-scope-mcp"
      ],
      "env": {
        "RS_SCOPE_HOST": "<RS_SCOPE_HOST>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "rs-scope-mcp": {
      "command": "uvx",
      "args": [
        "rs-scope-mcp"
      ],
      "env": {
        "RS_SCOPE_HOST": "<RS_SCOPE_HOST>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "rs-scope-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "rs-scope-mcp"
      ],
      "env": {
        "RS_SCOPE_HOST": "<RS_SCOPE_HOST>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add rs-scope-mcp --env RS_SCOPE_HOST='<RS_SCOPE_HOST>' -- uvx rs-scope-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.rs-scope-mcp]
command = "uvx"
args = ["rs-scope-mcp"]
env = { RS_SCOPE_HOST = "<RS_SCOPE_HOST>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "rs-scope-mcp": {
      "command": "uvx",
      "args": [
        "rs-scope-mcp"
      ],
      "env": {
        "RS_SCOPE_HOST": "<RS_SCOPE_HOST>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e RS_SCOPE_HOST='<RS_SCOPE_HOST>' rs-scope-mcp uvx -- rs-scope-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "rs-scope-mcp": {
      "command": "uvx",
      "args": [
        "rs-scope-mcp"
      ],
      "env": {
        "RS_SCOPE_HOST": "<RS_SCOPE_HOST>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "rs-scope-mcp": {
      "command": "uvx",
      "args": [
        "rs-scope-mcp"
      ],
      "env": {
        "RS_SCOPE_HOST": "<RS_SCOPE_HOST>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "rs-scope-mcp": {
      "command": "uvx",
      "args": [
        "rs-scope-mcp"
      ],
      "env": {
        "RS_SCOPE_HOST": "<RS_SCOPE_HOST>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "rs-scope-mcp": {
      "command": "uvx",
      "args": [
        "rs-scope-mcp"
      ],
      "env": {
        "RS_SCOPE_HOST": "<RS_SCOPE_HOST>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "rs-scope-mcp": {
      "command": "uvx",
      "args": [
        "rs-scope-mcp"
      ],
      "env": {
        "RS_SCOPE_HOST": "<RS_SCOPE_HOST>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "rs-scope-mcp": {
      "command": "uvx",
      "args": [
        "rs-scope-mcp"
      ],
      "env": {
        "RS_SCOPE_HOST": "<RS_SCOPE_HOST>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "rs-scope-mcp": {
      "command": "uvx",
      "args": [
        "rs-scope-mcp"
      ],
      "env": {
        "RS_SCOPE_HOST": "<RS_SCOPE_HOST>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "rs-scope-mcp": {
      "command": "uvx",
      "args": [
        "rs-scope-mcp"
      ],
      "env": {
        "RS_SCOPE_HOST": "<RS_SCOPE_HOST>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 2 of 16 tools read data; 14 names don't say. From the server's own tool labels and tool names; not verified by us.

- `connection`: Connect and list options.
- `session`: Group captures by task.
- `setup`: Show, save and restore the complete scope setup.
- `capture`: Acquire and store analog channels, logic pods, decoded buses and optionally a screenshot.
- `data`: Query stored captures: series, edges, envelope, identify, frames and read-only SQL.
- `measure`: Automatic measurements as numbers.
- `spectrum`: FFT with peaks and noise floor.
- `bode`: Bode sweep with -3 dB points.
- `mask`: Learn and run pass/fail tests.
- `history`: Step through segmented memory one row per acquisition.
- `screenshot`: Return the scope screen as an image.
- `demo`: Run the looping demo show.
- `scpi`: Run any validated SCPI command.
- `scpi_search` (name suggests: reads): Search the command set.
- `scpi_describe` (name suggests: reads): Describe a command with bench notes.
- `scpi_block`: Perform binary transfers.

## FAQ

### Which scopes are supported?

The RTB2002 and RTB2004 are supported and were bench-tested on an RTB2004 with firmware 03.000 and all options. The RTB2 is the rebranded RTB2000 and works the same way.

### How does the server connect to the scope?

It connects over the scope's LAN port, default SCPI port 5025, using the scope's IP address or host name.

### Where is the data stored?

Captures, screenshots and the catalog are kept in a local data folder, which defaults to ~/rs-scope-data and can be changed.

### Is R&S Oscilloscope MCP: AI on the RTB2 / RTB2000 bench free to use?

It is free for hobbyists, amateur radio, education and nonprofit use under the PolyForm Noncommercial License 1.0.0. Any business use, including internal test benches, needs a commercial license.

### How do I add R&S Oscilloscope MCP: AI on the RTB2 / RTB2000 bench to Claude Code?

Run this command in your terminal: claude mcp add rs-scope-mcp --env RS_SCOPE_HOST='<RS_SCOPE_HOST>' -- uvx rs-scope-mcp

### What are the best alternatives to R&S Oscilloscope MCP: AI on the RTB2 / RTB2000 bench?

The closest alternatives to R&S Oscilloscope MCP: AI on the RTB2 / RTB2000 bench are Rigol Oscilloscope, Generic SCPI Instrument, Bench DC Power Supply, Rigol DHO824 Oscilloscope and SRS Lock-in Amplifier.

## 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.

## Alternatives

- [Rigol Oscilloscope](https://ai-powered.com/mcp/rigol-oscilloscope): Rigol Oscilloscope is an open-source MCP server for electronics.
- [Generic SCPI Instrument](https://ai-powered.com/mcp/generic-scpi-instrument): Generic SCPI Instrument is an open-source MCP server for electronics.
- [Bench DC Power Supply](https://ai-powered.com/mcp/bench-dc-power-supply): Bench DC Power Supply is an open-source MCP server for electronics.
- [Rigol DHO824 Oscilloscope](https://ai-powered.com/mcp/rigol-dho824-oscilloscope): Rigol DHO824 Oscilloscope is an open-source MCP server for electronics.
- [SRS Lock-in Amplifier](https://ai-powered.com/mcp/srs-lock-in-amplifier): SRS Lock-in Amplifier is an open-source MCP server for electronics.
- [sigrok MCP Server](https://ai-powered.com/mcp/sigrok-mcp-server): sigrok MCP Server is an open-source MCP server for electronics.
- [Keithley SourceMeter SMU](https://ai-powered.com/mcp/keithley-sourcemeter-smu): Keithley SourceMeter SMU is an open-source MCP server for electronics.
- [Digilent WaveForms MCP Server](https://ai-powered.com/mcp/digilent-waveforms-mcp-server): Digilent WaveForms MCP Server is an open-source MCP server for electronics.

---
Source: https://ai-powered.com/mcp/r-and-s-oscilloscope-mcp-ai-on-the-rtb2-rtb2000-bench
