MHS-5200A MCP Server
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., "@MHS-5200A MCP ServerSet CH1 frequency to 1 kHz, amplitude to 5 V, waveform to sine."
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.
MHS-5200A MCP Server
A Model Context Protocol (MCP) server for controlling MHS-5200A series signal generators (and compatible models such as MHS-5200P / MHS-5225A) via a serial connection.
Features
Full Channel Control: Set frequency, amplitude, duty cycle, DC offset, phase, and waveform for both channels independently.
Waveform Selection: Support for Sine, Square, Triangle, Sawtooth, and Arbitrary waveforms.
Frequency Sweep: Configure and run linear or logarithmic frequency sweeps.
Arbitrary Waveforms: Upload custom waveform data (2 048 points) to any of the 16 memory slots.
Advanced Features: Control channel tracking, output inversion, and the internal power amplifier (if equipped).
Related MCP server: dwf-mcp-server
Requirements
Python >= 3.13
Installation
Using uv (recommended):
uv pip install mhs5200a-mcpOr via pip:
pip install mhs5200a-mcpOr from source:
git clone https://github.com/NaoNaoMe/mhs5200a-mcp.git
cd mhs5200a-mcp
uv syncConfiguration
Claude Desktop Config
Add the server to your claude_desktop_config.json:
{
"mcpServers": {
"mhs5200a-mcp": {
"command": "uvx",
"args": [
"mhs5200a-mcp"
]
}
}
}Tools Overview
Connection
mhs5200_connect: Connect to the device via serial port (e.g.,COM3,/dev/ttyUSB0).mhs5200_disconnect: Disconnect from the device.mhs5200_get_status: Get current settings for all channels.
Channel Control
mhs5200_set_frequency: Set frequency in Hz (0.01 Hz – 25 MHz).mhs5200_set_amplitude: Set amplitude in volts peak-to-peak (0–15 V).mhs5200_set_waveform: Select waveform (SINE,SQUARE,TRIANGLE,SAWTOOTH_UP,SAWTOOTH_DOWN,ARB00–ARB15).mhs5200_set_duty_cycle: Set duty cycle percentage (0–99.9 %).mhs5200_set_offset: Set DC offset percentage.mhs5200_set_phase: Set phase offset between channels.mhs5200_set_invert: Invert waveform output.
Global Settings
mhs5200_set_output: Enable or disable all outputs.mhs5200_set_tracking: Enable channel tracking (CH2 follows CH1).mhs5200_set_power_amp: Enable the internal power amplifier (if supported).
Sweeps & Arbitrary Waveforms
mhs5200_configure_sweep: Configure frequency sweep parameters (start/stop frequency, time, mode).mhs5200_set_sweep: Start or stop the configured sweep.mhs5200_upload_arb_waveform: Upload custom waveform data from a file.
Example Workflow
Connect: Call
mhs5200_connectwith the serial port name (e.g.,COM3).Check Status: Call
mhs5200_get_statusto read the current device settings.Configure: Use
mhs5200_set_frequency,mhs5200_set_amplitude, etc. to set the desired output.Enable Output: Call
mhs5200_set_outputto turn on the signal.Disconnect: Call
mhs5200_disconnectwhen finished.
License
This project is licensed under the MIT License — see the LICENSE file for details.
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
- Alicense-qualityDmaintenanceMCP server that lets AI assistants control Siglent SDG waveform generators over a local network using natural language, supporting signal generation, modulation, sweep, burst, and arbitrary waveforms.Last updated13MIT
- Alicense-qualityBmaintenanceEnables control of Digilent WaveForms instruments (oscilloscope, AWG, logic analyzer) over USB, supporting devices like Analog Discovery 2/3 and Digital Discovery.Last updated2MIT
- Alicense-qualityBmaintenanceEnables LLMs to control a PicoScope 5000A USB oscilloscope for signal generation, block capture, measurements, and frequency response sweeps.Last updatedMIT
- Flicense-qualityCmaintenanceEnables remote control of Siglent SDG series function/arbitrary waveform generators via SCPI over TCP/IP. Provides tools for configuring waveforms, modulation, sweep, burst, and other instrument functions.Last updated1
Related MCP Connectors
Control Unreal Engine to browse assets, import content, and manage levels and sequences. Automate…
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Production-grade cryptography toolkit with 31 MCP tools for classical, PQC, and KMS workflows.
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/NaoNaoMe/mhs5200a-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server