spinecord
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.
spinecord
The spinal cord between a model and a robot. The model decides; spinecord runs the reflexes next to the hardware (bounded moves, until conditions, stop) and exposes one fixed set of generic MCP tools for real robots and their simulated twins.
flowchart LR
M[Model<br/>MCP client] -- MCP --> S[server<br/>auth · state · programs]
S -- WebSocket --> R[runtime<br/>next to the hardware]
R --> D1[driver-ev3<br/>stock firmware · WebHID]
R --> D2[driver-ev3dev<br/>SSH bridge]
R --> T[sim-ev3<br/>byte-level twin]
S -- WebSocket --> O[device page<br/>phone · MCU]Package | Does |
types, state machines, wire protocol, tool catalog, validators | |
LEGO EV3, stock firmware, direct commands over WebHID | |
LEGO EV3 on ev3dev, SSH line bridge with on-brick watchdog | |
JSON worlds, 2D physics, sensor models, declarative training | |
byte-level EV3 firmware emulator: the twin runs the real driver | |
runs tools next to the hardware: chunking, conditions, programs | |
MCP server on Cloudflare Workers, Durable Objects and D1 |
Tested on a real EV3: docs/hardware-log.md.
Sense → act loops in one model turn (Claude Code Code Mode): docs/code-mode.md.
Tools
Group | Tools |
discover |
|
sense |
|
act |
|
programs |
|
episodes |
|
admin |
|
Full descriptions and schemas: packages/protocol/tools.ts. Behavior: CONTRACT.md. Boundaries: ARCHITECTURE.md.
Related MCP server: nodus-mcp-server
Develop
bun install
bun run ci # lint · format check · typecheck · boundaries · tests, in parallel
bun lint # oxlint
bun fmt # oxfmt (bun fmt:check only checks)
bun check # tsc on every package
bun run test # every package; SHARD=1/3 for one shard, --affected --base origin/main for what a diff reaches
bun run e2e # relay + twin runner + MCP client on this machine, end to end (scripts/e2e-local.ts)Run a twin against a relay (local relay: packages/server/scripts/dev.md); --view serves a live picture of it:
bun apps/twin-runner/main.ts --server ws://127.0.0.1:8787/ws/robot --token-file <file with the runtime token> --profile deployments/example/robots/r1.json --world packages/sim-world/examples/line-oval.json --viewbun install also installs the git hooks (lefthook: format, lint and gitleaks on staged files).
Guarantees
Every command is bounded on the device (time, degrees, or instant) and clamped to the robot profile.
stoppreempts everything; reads never change a device.A robot is a set of self-describing devices. New sensor = manifest, new robot = profile, no code.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Hosted MCP runtime where your agent publishes its own tools by tool call and keeps working.
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
Single-connection MCP gateway discovering and executing 490+ verified MCP & A2A tools.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenancePublic implementation of MCP for ROS 2 enabling to interact with system visible various robots, capable of: List available topics List available services Call service Subscribe topic to get messages Publish message on topic and more99Mozilla Public 2.0
- AlicenseNot gradedqualityBmaintenanceExposes the Nodus orchestration runtime as MCP tools for memory management, goal/workflow execution, and sandboxed code execution.241 PyPIMIT
- AlicenseBqualityCmaintenanceMCP server for ABB RobotStudio and robot controllers, exposing 55 tools via SDK and RWS transports for simulation, programming, and monitoring.6534MIT
- FlicenseNot gradedqualityDmaintenanceEnables agents to safely drive a simulated Franka Panda pick-and-place cell through MCP tools, with gated motion, emergency stop, structured errors, and audit logging.-