crosspad-mcp-server
Officialcrosspad-mcp-server is an MCP server that lets an MCP client build, flash, inspect, simulate, test, and debug CrossPad firmware and hardware.
Build firmware for the PC simulator, ESP32-S3 (
idf), or STM32G0 (stm) with incremental, clean, fullclean, and reconfigure modes.Flash ESP firmware over OTA or UART, or STM firmware via SWD/DFU, with preflight checks, confirmation tokens, dry-run, optional boot verification, and async task tracking.
List connected CrossPads, USB modes, and port roles; run environment/doctor checks and restart the HIL daemon.
Capture one-call device or simulator snapshots and diff them against earlier snapshots.
Check git status across all detected CrossPad repos, including branch, dirty files, and submodule state.
Poll, wait on, cancel, or list long-running tasks such as builds, flashes, HIL runs, captures, stimulus, and submodule updates.
Enable/disable toolsets on demand (
device,sim,hil,code,git,apps,trace);coreis always on and read-only policy hides writing tools.Through those toolsets, drive the simulator, console/UI, HIL audio capture/analysis, code navigation, app installs, and SWD live-variable tracing.
Provides Git repository tools for the CrossPad ecosystem, including repo status across all repos, committing staged changes, inspecting submodule drift, and updating submodules.
Provides MIDI control for the CrossPad simulator and hardware, including sending note on/off, control change, and program change events to the simulator, and audio routing via USB MIDI SysEx.
Click on "Deploy 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., "@crosspad-mcp-server Build the firmware for IDF platform"
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.
crosspad-mcp
Talk to your CrossPad. Let Claude do the toolchain.
crosspad-mcp is an MCP server that teaches Claude Code (or any MCP client) how to develop for the CrossPad pad controller. You say "flash the new build and check that it boots"; it runs the ESP-IDF build, asks you to confirm the flash, opens the console, runs the smoke scenario and tells you what happened — with the hardware traps already built in, so you don't have to remember which serial port reboots the board when you open it.
What you can do with it
Every card is a real prompt. The tools named underneath are what runs — you never have to call them yourself.
Say this… | …and this happens |
"Build the firmware and flash it over OTA." |
|
"Show me what's on the simulator screen." |
|
"Play a drum pattern on the pads and record what comes out." |
|
"Why did it crash?" |
|
"Watch the battery charger state machine while I plug the cable in." |
|
"Install the sampler app and rebuild." |
|
"Where is |
|
"Is my board even connected?" |
|
Related MCP server: devctl-mcp
Quick start
One plugin brings the server and the skills (the ecosystem map, per-role guides, hardware traps, the game/kit port guide). In a terminal:
claude plugin marketplace add CrossPad/crosspad-mcp
claude plugin install crosspad@crosspad(or /plugin marketplace add CrossPad/crosspad-mcp and
/plugin install crosspad@crosspad inside Claude Code). The plugin starts the
server through plugin/launch.mjs, which installs the matching
crosspad-mcp-server from npm into ~/.local/crosspad-mcp on first start and
finds your platform-idf checkout itself: the folder you opened Claude in, so a
fork anywhere on disk works. Node.js 18 or newer is all it needs.
Open Claude Code in your platform-idf folder, then ask:
is my CrossPad connected, and is the toolchain set up?
That runs crosspad_doctor. Every failed check comes with a fix.
Without the plugin: claude mcp add crosspad -- npx -y crosspad-mcp-server.
That server assumes your repos live side by side under ~/GIT/ — if they
don't, set the paths once. Use one of the two,
never both: they would register the server twice.
How it is organised
Only the core toolset is visible when the server starts, so the tool list
stays small. Claude enables the others as the conversation needs them — or you
start the server with --toolsets device,sim.
flowchart LR
core["core · always on<br/>devices · doctor · snapshot<br/>build · flash · repo status · tasks<br/>bench lease"]
sim["sim<br/>PC simulator: run, screenshot,<br/>input, MIDI, settings, tests"]
device["device<br/>the board over USB: console,<br/>CDC verbs, UI driving, USB mode"]
hil["hil<br/>scenarios, pad stimulus,<br/>audio capture + analysis, BLE"]
code["code<br/>symbols, interfaces,<br/>docs search"]
git["git<br/>submodule drift,<br/>update, commit"]
apps["apps<br/>crosspad-apps registry"]
trace["trace<br/>SWD live variables"]
core --> sim & device & code & git & apps
device --> hil
core --> traceAnything that writes to a device or your host is tiered. Flashing, DFU and
SWD writes come back as confirmation required first; --read-only removes
every writing tool from the list entirely. Long operations (builds, flashes,
scenarios) run as tasks you can check on, wait for or cancel.
Who is it for
You build and drive CrossPad firmware — mostly the simulator, sometimes the board. Start with the user guide.
You work on the firmware itself — flash, console, HIL scenarios, crash diagnosis, SWD. Read the firmware developer guide and HIL testing.
You want to extend this server — the contributor guide and the Development section.
Going deeper
Usage reference — every install path, every tool and toolset, resources and prompts, configuration, HTTP transport, the v10 migration table.
FAQ — the questions that cost people an afternoon.
License
GPL-3.0-or-later — see LICENSE. Part of the CrossPad project. Releases up to 10.3.0 were published under MIT.
Available Tools
8 toolscrosspad_buildADestructive
[PC | ESP | STM HW] Build CrossPad for the given platform.
• platform='pc' → CMake + Ninja host simulator. PREFER THIS over cmake --build build (picks right MSVC env on Windows, parses errors/warnings, streams progress).
• platform='idf' → idf.py build for ESP32-S3 firmware. PREFER THIS over raw idf.py build (sources IDF env, auto-fullcleans when new apps detected, parses errors/warnings). Follows the board revision resolved by tools/crosspad_board.py — passes -B build_ -DSDKCONFIG=sdkconfig.; refuses if no revision is known.
• platform='stm' → CMake + Ninja + arm-none-eabi for STM32G0 firmware (CrossPad r20). Uses CMakePresets (Debug/Release); output is build//CrossPad_STM32_r20.elf.
Mode×platform compatibility:
• incremental → all (default)
• clean → all (wipes build dir, then builds)
• reconfigure → PC & STM (re-runs cmake without wiping cache)
• fullclean → IDF only (runs idf.py fullclean, then builds)
Inputs: platform (required), mode, board, build_type. Returns: tail, error, errors, success, +7 more
crosspad_devicesARead-onlyIdempotent
[ESP HW] List connected CrossPads as seen by the crosspad-hil daemon: id (dev_xxxx, stable per USB serial), usb_mode (default|audio|bootloader|unknown), and every port role (cdc, console=STM VCP, esp_midi, stm_midi, uac2, bootloader). kind keeps the v9 meaning: 'esp-native' (rev <2.0) or 'stm-bridge' (rev 2.0, STM32 composite CDC+MIDI). selected is set when exactly one device would be chosen implicitly by every other tool.
Inputs: no named parameters. Returns: ts, error, details, devices, +3 more
crosspad_doctorARead-onlyIdempotent
Environment doctor. Host checks: hil_python interpreter, crosspad-hil version vs the one this server needs, platform-idf root, ESP-IDF env, crosspad-pc root, per-rev build dirs and firmware age, simulator binary staleness. Daemon checks merged in: udev/dialout, port locks (holder PID + purpose), rtmidi/ALSA/sounddevice visibility. Also reports the daemon as a process: uptime, ops served, open handles and the OS resources it holds (ALSA sequencer clients, fds). Each check is {name, ok, detail, fix}; ok is false when any check fails. Run this first when a device tool errors. action=restart_daemon restarts the crosspad-hil daemon — how a newly installed crosspad-hil or a new scenario becomes visible without restarting this server.
Inputs: action, confirm_token. Returns: ok, hint, tool, error, +8 more
crosspad_flashADestructive
[ESP HW | STM HW] Flash firmware. Danger tier: it always runs a preflight first, always returns that preflight (refusal included), and needs a confirmation before writing anything. Preflight reports: the device's USB mode, which role the target port plays (the STM32 bridge console is refused as a flash target), the binary's own version string, whether it is older than the newest file under main/ or components/, and whether the build's board revision matches the device's — a mismatch is a blocker, because the revisions differ in pinout and the wrong image looks like dead hardware. target='esp': transport='ota' streams over USB CDC with the device running (no bootloader mode); transport='uart' runs idf.py flash and needs download mode. wait_boot=true then opens the console and returns a BootResult. target='stm': method='swd' (ST-Link) or 'dfu' (system bootloader, hold pad 1 at boot). The flash runs as a job: wait_seconds=0 (default) returns a task handle for crosspad_task; wait_seconds>0 inlines the final status. dry_run=true stops after the preflight. force=true overrides every blocker except the port-role refusal.
Inputs: port, force, device, method, +11 more. Returns: ts, hint, task, tool, +12 more
crosspad_repo_statusARead-only
Git status across ALL detected CrossPad repos in one call: branch, HEAD, dirty files, submodule sync state. PREFER THIS over running git status per repo — handles the 5-repo monorepo layout in one shot.
Inputs: no named parameters. Returns: error, repos, success
crosspad_snapshotARead-onlyIdempotent
[ESP HW | PC sim] One-call state snapshot (~300 tokens): apps {running, available}, ui {focus {ref,label}, group [{ref,label}], drawer, theme, app}, kit, leds, pads, mem, ble, console counters. Refs e<i> are ENC_GROUP indices for crosspad_ui focus — any UI action invalidates them and the next snapshot re-mints them. diff_from=<snapshot_id> adds changed. target=sim maps the simulator's stats onto the same shape (ui null).
Inputs: device, target, include, diff_from. Returns: ts, ui, ble, kit, +12 more
crosspad_taskARead-onlyIdempotent
Poll, wait on, cancel or list long-running crosspad tasks (build, flash, hil_run, capture, stimulus, submodule_update). Task handles are task_; results are kept 1 h after completion. Use this when your client does not support the MCP tasks capability.
Inputs: action (required), task, timeout_ms. Returns: task, error, tasks, success, +1 more
crosspad_toolsetsARead-onlyIdempotent
Manage which crosspad_* toolsets are visible. Only core is on at start. Toolsets: core, device, hil, sim, code, git, apps, trace. action=list shows all with enabled state; enable/disable take toolset= (core cannot be disabled); describe lists each tool with its safety tier. Enabling emits tools/list_changed — re-list tools afterwards. Tools hidden by a readonly policy never appear.
Inputs: action (required), toolset. Returns: added, error, enabled, removed, +5 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool targets a distinct concern: repo status, build, device enumeration, environment health, runtime snapshot, flashing, toolset visibility, and task lifecycle. No two tools have overlapping responsibilities, and the descriptions reinforce clear boundaries with explicit platform and scope tags.
All names share the consistent `crosspad_` prefix and snake_case format, so the set is easy to scan and predict. However, the pattern is slightly mixed: `crosspad_build` and `crosspad_flash` are verb-like, while `crosspad_devices`, `crosspad_snapshot`, and `crosspad_toolsets` are noun-like resources.
Eight tools is a well-scoped count for a multi-platform development server, with each tool covering a major workflow area and no redundancy. The count sits comfortably in the ideal range, especially given the built-in toolset management for expanding or hiding tools.
Core workflows—repo status, build, device discovery, environment checks, snapshot, flash, and async task management—are covered without dead ends. Minor gaps like direct device reset, app interaction, or trace collection are plausibly deferred to non-core toolsets, so the surface is slightly incomplete but not broken.
Maintenance
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
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
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server that spawns autonomous Claude Code agents in GitHub repos, enabling task delegation with persistent state, multi-step workflows, and job monitoring.47161 npm2Apache 2.0
- FlicenseNot gradedqualityDmaintenanceAn MCP server that lets Claude manage long-running development processes across frameworks like Flutter, Next.js, Spring Boot, and Vite, with lifecycle control, log streaming, and hot reload support.1-
- AlicenseAqualityBmaintenanceCode intelligence MCP server for Claude Code providing multi-project code graph, semantic search, session history, knowledge base, and web search.154MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that enables Claude Code to communicate with other Claude Code agents over HTTP, allowing users to ask questions about remote codebases or delegate coding tasks.MIT