OFI OFO
Allows agents to control Android devices over ADB: check status, launch allowed apps, send input, and, with separate grants, read the screen, take screenshots, or import camera photos.
Allows agents to read Home Assistant entity states and history, and call services to control devices.
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.
Run OFI OFO on a spare mini-PC, a NAS, or a Proxmox container. Pair devices in the dashboard, give each agent a scoped key, and connect over standard MCP or REST. An optional OpenTunnel connection lets cloud clients reach the gateway without inbound port forwarding.
Pre-release. The one-line installers require anonymous access to the repository. The operator guide also covers installation from an authenticated checkout or a local archive.
What you can connect
Device or service | What an agent can do |
Android via ADB | Check status, launch allowed apps, send input, and separately grant screen reads, screenshots, or camera photo imports. |
Home Assistant | Read entity states and history, or call a service to control a device. |
Printers, routers, and NAS devices | Call HTTP APIs and check DNS or TCP reachability from the gateway. |
Wake-on-LAN hosts | Wake a sleeping machine on the local network. |
Private OpenSSH servers | Run fixed, owner-approved SSH actions with separately granted read, run, and sudo access. |
Workspaces and paired desktops | Use workspace tools or supervise a time-limited remote desktop share. |
The dashboard manages devices, keys, per-tool access, and the audit log. See the full tool list.
Use Home access to give an assistant named rooms and devices, read room state and recent changes, run scenes, capture still images, control playback, announce a message, submit a print job, or find a document on an approved NAS mount.
Related MCP server: SelfHostDesktopMCP
Quick start
Docker on Linux
With Docker Engine and the Compose plugin installed, clone using a GitHub SSH key with access to the repository. The same commands work from an existing authorized checkout; skip git clone in that case.
git clone git@github.com:Sh3nron/ofi-ofo.git
cd ofi-ofo
docker compose up -d --build --wait
docker compose exec -T ofi-ofo node src/main.ts setup-tokenOpen http://<gateway-ip>:7420/ from your LAN. Enter the setup token and create your admin account. Compose uses host networking and stores keys, devices, and tunnel identity in a named volume.
Compose enables OpenTunnel on first run. For a fresh LAN-only install, prefix docker compose up with OFIOFO_TUNNEL=0. For an existing installation, change the tunnel setting in the dashboard.
Run directly from source
Use Node.js 22.18+ on the 22.x line, 24.x, or 26.x. Install adb if you want to pair Android devices. In your authenticated checkout, run:
npm ci --omit=dev
npm start -- --bind 127.0.0.1Open http://127.0.0.1:7420/ on the gateway and use the setup token printed in the terminal. The source install starts with the tunnel off and persists state in ~/.ofi-ofo by default. For an existing Debian or Ubuntu systemd LXC, run these commands inside the guest. See the operator guide for LAN binding and the separate Proxmox node wrapper.
Connect an MCP client
In the dashboard, go to Agents → Create key. Start with a
viewerkey scoped tosystem_infoand copy the token when it appears.Add a Streamable HTTP MCP server in your client. Use
http://<gateway-ip>:7420/mcpon the LAN, or copy the HTTPS MCP URL from the dashboard’s Tunnel section for a remote client.Set the
Authorizationheader toBearer ofo_<keyId>.<secret>, using your full token.
For a quick check from the gateway host, the same key works against REST:
curl --fail --silent --show-error \
-H "Authorization: Bearer $OFIOFO_KEY" \
http://127.0.0.1:7420/v1/toolsHere OFIOFO_KEY is a shell variable containing the copied token. See Alia setup and the HTTP contract for more.
Where traffic goes
Listener | Serves | Available from |
Dashboard, | Dashboard, admin API, MCP, REST | The configured bind address. Keep this on your trusted LAN or loopback. |
Tunnel listener, | Key-authenticated MCP and REST, credential-scoped desktop companion endpoints, and a public health check | Loopback, and remote clients when OpenTunnel is enabled. |
OpenTunnel carries encrypted traffic to the gateway; dashboard, setup, and login routes stay off the tunneled listener. viewer keys can call only read tools, operator keys can also call write tools, and both can be scoped to specific tools and revoked. The tunnel URL itself grants no access. See the security model.
Development
nvm use # optional; .nvmrc selects Node 26
npm ci
npm run check # JavaScript and Bash syntax, TypeScript checks, and testsNode runs the TypeScript directly; there’s no compile step. Start with src/app.ts for gateway wiring, src/tools/ for device integrations, or src/web/ for the dashboard. The contributor guide covers isolated development, CI, and where to make changes.
License
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
Open-source MCP gateway with per-agent tool permissions, call approvals and tool-change review.
Remote MCP access to user-authorized Linux, Windows and Intel Mac devices for AI assistants.
MCP gateway and cloud hosting for MCP servers, agents and apps like RAG, managed from your agent.
An MCP gateway for teams deploying AI tools at scale to employee-facing and headless agents.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceIt enables MCP-compatible AI clients to run local device, filesystem, shell, PowerShell, Git, browser, HTTP, clipboard and application actions on a Windows PC and a paired Android phone, with session-based device routing. Sensitive operations are gated behind configurable one-use approvals and recorded in a local SQLite audit.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to securely reach and invoke tools on self-hosted machines through a remote gateway, using outbound-only device connections, OAuth or bearer authentication, per-device policies, and audit logging.MIT
- AlicenseNot gradedqualityBmaintenanceA self-hosted MCP gateway that lets an owner register remote MCP servers, review and grant specific tools and account connections to agent clients, and issue revocable tokens with one-use approvals for protected calls.MIT
- AlicenseNot gradedqualityAmaintenanceExposes an OAuth-gated MCP endpoint that lets web-based AI clients work directly on a local machine through 38 governed tools covering files, shell commands, search, Git, SQLite, browser automation, DevTools, background tasks, localhost services, clipboard, notifications, ports, and Postman control. Local tools can connect straight to the loopback address for offline, low-latency use, while remote clients reach the same machine over an optional public ingress.MIT