sparky-bonzai-bridge
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., "@sparky-bonzai-bridgeAsk Sparky to find the latest invoice PDF and summarize it."
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.
sparky-bonzai-bridge
An MCP server that lets the small model in the BonzAI app on an iPhone or iPad hand work to Sparky, an OpenClaw agent on a home PC.
The phone model (Bonsai 8B, fully on-device) handles quick, private work. When a
request needs your own data, tools, or a long run, it calls sparky_ask, and
Sparky does the work on the PC with his memory, files and GPU.
flowchart LR
subgraph Phone["iPhone / iPad — BonzAI"]
K["Bonsai 8B<br/>(on-device)"]
end
subgraph PC["Home PC — WSL Ubuntu"]
B["sparky-bonzai-bridge<br/>127.0.0.1:8795"]
G["OpenClaw gateway"]
S["Sparky agent<br/>local LLM + tools + memory"]
W[("workspace/<br/>inbox · outbox")]
end
K -- "MCP over HTTPS<br/>(Tailscale, bearer token)" --> B
B -- "openclaw agent" --> G --> S
B -- "notes / messages" --> W
S -- "reads / writes" --> WWhat it gives the phone
Tool | Use it for |
| Hand Sparky a request. Returns the answer, or a |
| Get a finished job, or list recent jobs. |
| Leave Sparky a note that needs no reply. |
| Read messages Sparky left for this device. |
| Mark those messages as read. |
| Check whether Sparky is online or busy, and whether messages are waiting. |
Why six small tools: the model calling them is a 1-bit 8B running on a phone, and fewer, plainer tools make it more reliable. See docs/on-device-models.md for what the phone model is actually good at and where the split between phone and PC should fall.
Related MCP server: Machina
Quick start
Requirements: WSL2 with systemd, Node 24+, a working OpenClaw install, and Tailscale on the Windows host.
git clone https://github.com/Applied-AI-Solutions-hub/sparky-bonzai-bridge.git ~/projects/sparky-bonzai-bridge
cd ~/projects/sparky-bonzai-bridge
npm ci
cp .env.example .env # optional; defaults are sensible
npm run device -- add iphone --label Kit # prints this device's token once
./deploy/install.sh # systemd user serviceThen, in Windows PowerShell:
tailscale serve --bg --https 8795 http://127.0.0.1:8795In BonzAI, add an MCP server with URL https://<machine>.<tailnet>.ts.net:8795/mcp
and header Authorization: Bearer <token>. Paste the system prompt from
bonzai/system-prompt.md.
Full walkthrough, including the restricted OpenClaw agent and migrating from the
old sparky-mcp: docs/setup.md.
Documentation
docs/setup.md: install, OpenClaw agent, Tailscale, BonzAI, migration
docs/architecture.md: components, request flows, design decisions
docs/on-device-models.md: what the phone model does and what Sparky does
SECURITY.md: trust boundaries and threat model
openclaw/skills/bonzai-mailbox: the skill that teaches Sparky the mailbox
Development
npm run check # typecheck + tests
npm start # run in the foregroundNode 24 runs the TypeScript sources directly (type stripping), so there is no
build step. Tests use a fake openclaw binary
(tests/fixtures/fake-openclaw.mjs) and a
real MCP client, so they do not touch a live agent.
License
This server cannot be deployed
Maintenance
Related MCP Connectors
Push notifications for AI agents - send instant iPhone notifications from any MCP client.
Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.
Turns a phone into a camera+Bluetooth remote so AI assistants can see and control any PC.
Run and manage H Company's Computer-Use Agents from any MCP client.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables delegation of immediate conversational messages and long-running background tasks to OpenClaw agents. It allows users to spawn research or monitoring tasks, check execution status, and manage active agent sessions within MCP-compatible clients.-

Machinaofficial
FlicenseNot gradedqualityCmaintenanceAI's home on your Mac: gives AI agents remote access to iMessage, Notes, Reminders, Contacts, and more via MCP.1-- AlicenseNot gradedqualityCmaintenanceA high-performance bridge that exposes OpenClaw capabilities as an MCP server, enabling remote AI agents to securely delegate local tasks such as browser automation and shell execution via network.2MIT
- AlicenseBqualityBmaintenanceEnables Claude Code and OpenCode agents to delegate tasks to peer machines over a self-hosted A2A mesh, using mTLS identity and executing via local CLIs or scripts.8Apache 2.0