MTIB MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MTIB MCP Server
MCP (Model Context Protocol) server that wraps the MTIB V2 gRPC API, enabling Claude Code to interact with embedded hardware test benches.
Setup
# Install
pip install -e .
# Regenerate proto stubs (if mtib_v2.proto changes)
./generate_proto.shRelated MCP server: stm32-mcp
Claude Code configuration
Add to .mcp.json:
{
"mcpServers": {
"mtib": {
"type": "stdio",
"command": "python3",
"args": ["-m", "mtib_mcp.server"],
"env": {
"MTIB_HOST": "192.168.1.100",
"MTIB_PORT": "50054"
}
}
}
}Available tools
Tool | Description |
Discovery | |
| Check connectivity, version, capabilities |
| List target devices and debug probes |
Flash | |
| Flash firmware to a target |
| Reset a target device |
Debug | |
| Open a debug session (returns session_id) |
| Close a debug session |
| Get halt reason, PC, registers |
| Halt, resume, step, step over |
| Get stack trace |
| Read/write target memory |
| Set/clear breakpoints |
Serial & Logs | |
| Open UART and start background buffering |
| Read buffered lines (cursor-based, no data loss) |
| Close UART stream |
| Execute a Zephyr shell command |
| Start buffering Zephyr log entries |
| Read buffered log entries (cursor-based) |
| Close log stream |
Power | |
| Measure power over a duration |
| Enable/disable/query power channels |
Testing | |
| Run Twister test suite |
Bus I/O | |
| Scan I2C bus |
| Read/write I2C device |
Streaming data guarantee
UART and Zephyr log streams use persistent background buffers. When you call
mtib_uart_open, a background task continuously drains the gRPC stream into a
5,000-entry ring buffer. Each entry gets a monotonic sequence number (cursor).
mtib_uart_open(target_id="nrf52840_dk") → { stream_key, status: "buffering" }
mtib_uart_read(stream_key, cursor=0) → { lines: [...], cursor: 347 }
# ... time passes, DUT keeps printing ...
mtib_uart_read(stream_key, cursor=347) → { lines: [...], cursor: 512 }
mtib_uart_close(stream_key)As long as the ring buffer doesn't wrap (5,000 entries by default), no data is lost between reads.
Environment variables
Variable | Default | Description |
|
| MTIB gRPC server hostname |
|
| MTIB gRPC server port |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Run, build, and validate firmware on virtual hardware from your AI agent. Hardware knowledge corpus.
Drive real devices from your AI Coding tool. Embed a client SDK (Unity, Godot, Flutter, iOS/macOS, Android, React Native, Web) in your app, then capture screenshots, traverse the UI tree, inject taps and key events, and run automated test tasks on the physical device over a secure relay.
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
Kliv is an AI web-app builder. It hosts each app with its own database, edge functions, commerce and email. Connect Claude Code or Cursor to Kliv's MCP server, sign in with your Kliv account, and your AI tool can work on your apps with the same tools the Kliv builder uses. It can edit an app's files, change the database, write and run edge functions, set up products and subscriptions, and run your tests. Then it can build and publish the app. Other MCP clients connect the same way. Your AI tool runs on your own AI subscription, so this work doesn't use your Kliv usage. Kliv still hosts the app and everything behind it. Each person signs in as themselves and reaches only the apps they can edit. The account owner sees every connected tool and can remove one at any time. The address is https://mcp.kliv.dev/mcp for everyone. Sign-in is OAuth in your browser, with your Kliv account. There are no API keys. Setup guide: https://docs.kliv.dev/integrations/mcp
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants like Claude to directly debug microcontrollers via JLink, supporting breakpoints, single-step, memory/register access, variable inspection, RTT logging, and firmware flashing.257MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude Code to build, flash, and communicate with STM32 hardware over SWD and serial, including multi-board management, live memory monitoring, and hardware sequences.26MIT
- AlicenseAqualityDmaintenanceDebug microcontrollers directly from Claude. This is an MCP server that drives OpenOCD, letting Claude flash firmware, control execution, and inspect a running target — and read your variables and peripheral registers by name instead of raw addresses.3928 PyPI5MIT
- AlicenseAqualityBmaintenanceEnables AI coding agents to build, flash, debug, and communicate with STM32 microcontrollers over ST-Link entirely within the conversation. Provides headless CubeIDE builds, OpenOCD flashing, hardware breakpoints, live SWD variable monitoring resolved by C symbol names, fault triage, and pooled serial VCP I/O with deterministic sequencing for hardware-in-the-loop tests.35MIT