Connect an agent (MCP)
Connect Claude Code, Codex, Cursor, or another MCP client so an agent can list boards, run firmware on the twin, and verify results.
The agent proposes changes. A green verify or test is the proof — not a free-form claim that it “looks good.”
Two ways to connect
| Surface | How | Compile in the cloud | Best for |
|---|---|---|---|
| Hosted | https://api.labwired.com/mcp |
Yes (labwired_compile) |
Cloud agents, no local sim |
| Stdio (local) | npx -y @labwired/mcp |
No — use local build artifacts | Offline / local CLI |
Tool names share the labwired_* family. Stdio does not expose labwired_compile: build locally (or on hosted), then pass a firmware ref or path.
Hosted (recommended)
Claude Code
Codex
Sign in when the client opens a browser — same account as app.labwired.com.
Other HTTP clients
Use the client’s remote MCP / HTTP flow and finish auth.
Example JSON shape:
Stdio (local)
Prerequisites
- Node ≥ 20
labwiredCLI onPATHfor local runs:
Claude Code
Cursor
~/.cursor/mcp.json (or project .cursor/mcp.json):
Global binary (optional)
Smoke check
Ask the agent:
List LabWired boards with
labwired_list, then describeesp32-c3-supermini.
You should see real catalog entries and pins — not a guessed pinout.
Next
| First agent run | Full list → run → verify loop |
| Tool reference | What each tool does |
| Playground | Human visual lab |
| Run firmware (CLI) | Non-agent path |
| Fidelity | What a green pass means |