mcp-rs-cmw500
Provides tools for Bluetooth and BLE non-signaling testing via the R&S CMW500, covering Classic DH1-DH5 and LE 1M/2M/Coded modes with TX power, modulation, and frequency offset/drift measurements.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-rs-cmw500Configure LTE band 7 cell and trigger a TX power measurement"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Drive the Rohde & Schwarz CMW500 Wideband Radio Communication Tester from any MCP-compatible AI client. Direct TCP/IP SCPI (port 5025) — 84 tools across LTE signaling, WLAN, Bluetooth/BLE, and GPRF. No CMWrun dependency.
Quick start · Tools · Workflows · Documentation
Hardware required for real measurements. This MCP server controls a real R&S CMW500 Wideband Radio Communication Tester over TCP/IP SCPI. The relevant CMW500 application licenses (LTE / WLAN / Bluetooth / GPRF) must be enabled on the unit for the matching tool surface to do anything.
A simulator is included (cmw-simulator) so the server can be
evaluated and its logic exercised without an instrument. It produces
synthetic values only: its *IDN? says CMW500-SIMULATOR, and every
result it produces is marked simulated. Never report its numbers as
measurements.
What is mcp-rs-cmw500?
mcp-rs-cmw500 is a Model Context Protocol
server that automates the R&S CMW500 Wideband Radio Communication Tester
over direct TCP/IP SCPI (port 5025). No CMWrun dependency, no proprietary
middleware — your AI agent talks to the CMW500 the same way a Python script
would, only in natural language.
The server covers five RF technology domains: LTE signaling (cell config, NAS/bearer, C-DRX, full TX measurements), WLAN non-signaling (802.11a/b/g/n/ac/ax with 20/40/80/160 MHz channels), Bluetooth/BLE non-signaling (Classic DH1-DH5 + LE 1M/2M/Coded), GPRF generator/analyzer (CW/ARB output, power/spectrum measurements), and shared signal-path control.
What mcp-rs-cmw500 does well:
🤖 AI-native via MCP. First-class Model Context Protocol server with 84 tools across 5 RF technology domains. Any Claude / LLM agent can drive it.
🐍 Python + MCP surfaces. Import
rs_cmw500_mcpfor direct driver access, or run as an MCP server for AI-agent automation.⚡ Direct SCPI. TCP/IP straight to the CMW500 — no CMWrun, no NI-VISA install, no vendor middleware.
✅ Pre-built templates.
lte_tx_power,gprf_power,nonsig_rx,wlan_tx,wlan_rx,ble_tx,ble_rx,bt_classic_tx.🔒 AGPL-3.0-or-later. Safety system (power / frequency clamps), SCPI-injection-guarded, raw-SCPI disable flag.
Related MCP server: 5G-MAG M1 Interface MCP Server
Quick start
Install
git clone https://github.com/RFingAdam/mcp-rs-cmw500.git
cd mcp-rs-cmw500
uv pip install -e ".[dev]"Configure
cp .env.example .env # edit with your CMW500 IP + safety limitsVariable | Default | Description |
|
| CMW500 IP address |
|
| SCPI TCP port |
|
| Max generator output |
|
| Max analyzer input |
|
| Upper frequency bound |
|
| Enable raw SCPI commands |
Two surfaces, same answer
Python
import asyncio
from rs_cmw500_mcp.driver import CMW500Driver
from rs_cmw500_mcp.models.cmw_types import CellConfig
async def main():
async with CMW500Driver("192.168.1.100", 5025) as cmw:
await cmw.lte_configure_cell(
CellConfig(
band=7,
bandwidth_mhz=20,
dl_earfcn=3100,
dl_level_dbm=-70,
)
)
await cmw.lte_cell_on()
# ... wait for UE attach ...
await cmw.lte_meas_configure(stat_count=10)
await cmw.lte_meas_trigger()
results = await cmw.lte_meas_fetch_all()
# Each view is an envelope: check the verdict before the numbers.
power = results["power"]
if power["trustworthy"]:
print(power["values"])
else:
print("no measurement:", power["error"])
asyncio.run(main())MCP (Claude Desktop, Claude Code, any MCP client)
{
"mcpServers": {
"rs-cmw500": {
"command": "uv",
"args": [
"--directory", "/path/to/mcp-rs-cmw500",
"run", "rs-cmw500-mcp"
]
}
}
}Then ask your assistant:
"Bring up a 20 MHz LTE cell on band 7 EARFCN 3100, wait for the UE to attach, then trigger TX power, EVM, ACLR, SEM, and frequency-error measurements."
The agent walks the LTE measurement workflow tool-by-tool and returns the result set.
Run
rs-cmw500-mcp # MCP server over stdioTry it without a CMW500
cmw-simulator --port 5125 --time-scale 0.01 # in one terminal
CMW_DEFAULT_PORT=5125 rs-cmw500-mcp # in anotherThe simulator parses a real SCPI command tree, keeps a real error queue, and can inject the failures that matter — dropped responses, surplus responses, and specific reliability codes:
cmw-simulator --port 5125 --drop-responses 1 # exercise desync recoveryIt binds loopback only unless you pass --allow-remote.
Tools
84 MCP tools, grouped:
Group | Count | Examples |
Connection | 8 |
|
GPRF Generator | 7 |
|
GPRF Analyzer | 11 |
|
GPRF Signal Path | 4 |
|
RF de-embedding | 2 |
|
LTE Signaling | 16 |
|
WLAN Non-Signaling | 11 |
|
Bluetooth/BLE Non-Signaling | 11 |
|
SCPI | 4 |
|
Templates | 3 |
|
State | 3 |
|
Limits | 4 |
|
Available templates: lte_tx_power, gprf_power, nonsig_rx, wlan_tx,
wlan_rx, ble_tx, ble_rx, bt_classic_tx. Full tool reference in
docs/tools.md.
What it solves
Domain | Measurements | Standards |
LTE signaling | Cell setup, NAS attach, bearer, C-DRX, TX power, EVM, ACLR, SEM, frequency error | 3GPP TS 36.521 |
WLAN non-signaling | 802.11a/b/g/n/ac/ax @ 20/40/80/160 MHz: TX power, EVM, spectrum flatness, frequency error | IEEE 802.11 |
Bluetooth Classic | DH1-DH5 packet types: TX power, modulation (DEVM), frequency offset/drift | Bluetooth Core 5.x |
BLE | 1M / 2M / Coded S2 / S8: TX power, modulation, frequency | Bluetooth Core 5.x |
GPRF | CW/ARB output, power, spectrum — for vendor-specific test sequences | — |
Safety
The server enforces configurable safety limits to protect your equipment:
Generator power — bounded between
CMW_MIN_GENERATOR_POWER_DBMandCMW_MAX_GENERATOR_POWER_DBM.Analyzer expected power — bounded by
CMW_MAX_EXPECTED_POWER_DBM.Frequency range — bounded between
CMW_MIN_FREQUENCY_HZandCMW_MAX_FREQUENCY_HZ.SCPI sanitization — all parameters validated against injection patterns.
Raw SCPI off by default — must explicitly set
CMW_ALLOW_RAW_SCPI=true.Path traversal — state-file paths validated against directory traversal.
Workflows
mcp-rs-cmw500 fits in the following eng-mcp-suite
workflow bundles:
lab-automation— pair withcopper-mountain-vna-mcp,mcp-rs-spectrum-analyzer, andmcp-rs-siggenfor end-to-end RF bench-test workflows driven from a single agent session.cellular-compliance— drive 3GPP TS 36.521 LTE test cases under AI control withmcp-emc-regulationssupplying market-specific limits.
eng-mcp-suite install --workflow lab-automationDocumentation
📘 Quick Start — install through first call.
🛠️ Tool reference — every MCP tool, every argument.
📐 Usage examples — an LTE TX measurement walkthrough.
🏗️ Architecture — how this MCP fits in eng-mcp-suite.
Part of eng-mcp-suite
This MCP server is part of
Part of eng-mcp-suite — an open
umbrella of MCP servers for RF / EMC / PCB / signal-integrity engineering. Drop
into the lab-automation workflow bundle with
eng-mcp-suite install --workflow lab-automation.
Domain | Sibling MCPs |
RF / Transmission lines | |
EMC regulatory | |
EM simulation | mcp-openems, mcp-nec2-antenna |
Diagrams | |
Lab gear | copper-mountain-vna-mcp · mcp-rs-spectrum-analyzer · mcp-rs-siggen · mcp-rs-cmw500 |
Contributing
See CONTRIBUTING.md for development guidelines.
uv run pytest tests/ -q # all unit tests (no hardware)
uv run pytest tests/ -m "not integration" -q
ruff check src/ tests/ && ruff format src/ tests/
mypy src/rs_cmw500_mcp/License
AGPL-3.0-or-later. Relicensed from Apache-2.0 in v0.3.0 to align with the eng-mcp-suite toolkit-wide AGPL move.
Acknowledgments
Rohde & Schwarz — for the published CMW500 SCPI command reference.
The MCP working group — for the Model Context Protocol specification.
Part of eng-mcp-suite — built for RF engineers, PCB designers, EMC labs, and AI agents.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenanceAn MCP server that enables AI agents to operate an oscilloscope through high-level tools like signal capture and measurement, abstracting vendor-specific SCPI commands.Last updated181MIT
- Alicense-qualityDmaintenanceAn MCP server that exposes the 3GPP M1 interface as AI-callable tools, enabling LLM agents to configure 5G Media Streaming sessions through natural language.Last updatedMIT
- Alicense-qualityCmaintenanceMCP server that lets an AI agent operate a bench oscilloscope over LAN/SCPI to observe physical pin behavior, bridging RTL simulation and hardware testing.Last updatedMIT
- Flicense-qualityBmaintenanceMCP server that enables AI agents to programmatically run tests, query results, and receive intelligent recommendations about test execution strategy.Last updated
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server exposing the Backtest360 engine API as tools for AI agents.
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/RFingAdam/mcp-rs-cmw500'
If you have feedback or need assistance with the MCP directory API, please join our Discord server