Skip to content
MCP server

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

MCP server that lets an AI agent run and read a Rohde & Schwarz RTB2 oscilloscope

Runs locally

R&S Oscilloscope MCP: AI on the RTB2 / RTB2000 bench is an open-source MCP server for electronics. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
macOS, Windows, Linux
Runs
Locally
Version
0.1.4
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

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.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.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.

Claude Desktop setup guide

Add to ~/.cursor/mcp.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.

Cursor setup guide

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

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

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "rs-scope-mcp": {
      "command": "uvx",
      "args": [
        "rs-scope-mcp"
      ],
      "env": {
        "RS_SCOPE_HOST": "<RS_SCOPE_HOST>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.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

    Antigravity

    Add to ~/.gemini/config/mcp_config.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.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.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.

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "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.

    Junie

    Add to ~/.junie/mcp/mcp.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.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.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.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • RS_SCOPE_HOSTIP address or host name of the oscilloscope.Required
  • RS_SCOPE_PORTSCPI port of the oscilloscope.
  • RS_SCOPE_DATA_DIRFolder for captures, screenshots and the catalog (default ~/rs-scope-data).

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

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.

Tools this server provides (16)

Taken from the project documentation; the running server may differ.

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_searchName suggests: reads
Search the command set.
scpi_describeName suggests: reads
Describe a command with bench notes.
scpi_block
Perform binary transfers.

What it does

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

Pricing

Open source

Free for noncommercial use under PolyForm Noncommercial; commercial license required for business use.

Prices change. Check ae5vg.com before you buy.

R&S Oscilloscope MCP: AI on the RTB2 / RTB2000 bench 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.

How AIPoweredBot checks servers