22 Tools
Four tool categories covering the full stack: bridge management, bus operations, instrument interaction, and low-level diagnostics.
22 Tools
Four tool categories covering the full stack: bridge management, bus operations, instrument interaction, and low-level diagnostics.
Multi-Bridge
Connect serial, TCP, and WiFi bridges simultaneously. Run cross-bus workflows with concurrent access across independent GPIB buses.
Zero-Config Discovery
Auto-scan buses on connect. Instruments are identified via *IDN? and registered for immediate use. No manual address mapping required.
Safety-Aware
Per-bridge locking prevents bus collisions. Configurable inter-command delays protect against ESP32 brownout. Init sequences enforce deterministic state.
graph LR
LLM["Your LLM"]
MCGPIB["mcgpib"]
AR["AR488<br/>Bridge"]
BUS["GPIB Bus"]
INST["Instruments"]
LLM -- "MCP" --> MCGPIB
MCGPIB -- "Serial / TCP" --> AR
AR -- "IEEE-488" --> BUS
BUS --> INST
style LLM fill:#78350f,stroke:#d97706,color:#fde68a
style MCGPIB fill:#78350f,stroke:#d97706,color:#fde68a
style AR fill:#334155,stroke:#94a3b8,color:#e2e8f0
style BUS fill:#334155,stroke:#94a3b8,color:#e2e8f0
style INST fill:#334155,stroke:#94a3b8,color:#e2e8f0
A typical session: discover what is on the bench, identify an instrument, take a measurement, and read the result.
> Scan the bus on bench-a
Bus scan on bench-a: 3 listener(s) Address 5: Agilent Technologies E3631A (S/N: MY12345678) Address 7: Tektronix TDS2024B (S/N: C031234) Address 22: KEITHLEY INSTRUMENTS INC.,MODEL 2000,1234567,A01
> What voltage is the Keithley reading?
Sent to address 22: CONF:VOLT:DC 10,0.001Sent to address 22: READ?Response: +4.23451E+00
The Keithley 2000 at address 22 is reading 4.23451 VDC.uvx mcgpibgit clone https://git.supported.systems/warehack.ing/mcgpib.gitcd mcgpibuv run mcgpibAdd to Claude Code:
claude mcp add mcgpib -- uvx mcgpib| Category | Tools | Description |
|---|---|---|
| Bridge Management | 5 | Connect, disconnect, configure, and monitor AR488 bridges |
| Bus Operations | 6 | Scan, poll, clear, trigger, and reset the GPIB bus |
| Instrument | 7 | Query, write, identify, reset, and control instrument mode |
| Low-Level | 4 | Raw commands, bus diagnostics, and parallel poll |