MTIB 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., "@MTIB MCP Serverflash the latest firmware to target nrf52840_dk"
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.
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: Serial MCP Server
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 |
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
- AlicenseAqualityAmaintenanceEnables SSH and UART/serial port access for Claude Code to directly control remote devices like Raspberry Pi, embedded systems, and IoT devices. Supports command execution, file transfers via SFTP, and serial communication.Last updated248Apache 2.0
- Alicense-qualityCmaintenanceEnables AI tools like Claude Code and Codex CLI to read and write serial port data, facilitating embedded development workflows such as coding, flashing, and debugging.Last updated26MIT
- AlicenseAqualityCmaintenanceEnables AI assistants like Claude to directly debug microcontrollers via JLink, supporting breakpoints, single-step, memory/register access, variable inspection, RTT logging, and firmware flashing.Last updated253MIT
- Alicense-qualityDmaintenanceEnables Claude Code to build, flash, and communicate with STM32 hardware over SWD and serial, including multi-board management, live memory monitoring, and hardware sequences.Last updated18MIT
Related MCP Connectors
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
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/MateoSegura/mtib-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server