bionichat
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.
bionichat
Your own PC, from any chat. bionichat runs a small hub on your machine and gives a web AI like ChatGPT, Gemini or Claude your files, your shell and your skills, over plain MCP. Nothing is installed in the cloud: the chat calls a public link, the link reaches your PC.
Dark desktop app (Tauri v3 alpha + Rust, bundled Chromium via CEF), React + Vite + Tailwind dashboard: Overview with a live map of every tool call, Projects as folder cards, Settings for the link, servers, per-tool policy and the built-in tools.
one built-in server,
core, advertisingcore_read(text, images, PDF, docx, xlsx),core_write,core_edit,core_bash,core_skillcore_bashcan run in the background: it returns a job id at once, and{"job": "<id>"}reads the log and the exit code later, so a long build never times out a chatany MCP server can be added in Anthropic's
mcpServersJSON shape; a built-in one lives beside the app, an added one starts on its ownevery call carries a server-time stamp so the model knows when it acted
packaging: one zip per platform, unzip and run, Chromium included
Verified on Linux and Windows 11: build, public link, tool calls, images, PDF/docx/xlsx, and a fresh unzip of the release folder.

Handoff
A fresh session starts here: docs/HANDOFF.md.
Related MCP server: AKIMCP
The public link
A chat app on the web cannot reach 127.0.0.1, so the app publishes the hub
through OpenTunnel:
stable hostname per machine. The link is
https://<id>.opentunnel.xyz/mcp(the/mcppath is the endpoint a chat app wants; the bare host answers 404). It comes from the stored tunnel identity, so it survives restarts and you paste it into the chat once.nothing to install. The app ships its own client,
bionichat-tunnel, besidebionichat. Upstreamopentunnelrefuses to build outside Unix (its service speaks over a Unix socket), so bionichat builds the portable library into a small foreground helper:cargo build -p bionichat-tunnel, orbun run tunnel:buildto build and place it.Stop kills the helper and keeps the hostname. Revoke deletes the tunnel server-side, so the next start mints a new hostname and a leaked link is dead for good.
The helper uses the same profile and identity directory as the upstream CLI, so an existing URL keeps working.
BIONICHAT_TUNNEL_AUTOSTART=1brings the link up with the app.Settings → Link has two switches: Start the link when the app opens and Open with no window next time. They live in
settings.jsonbesideregistry.json, so a machine can be set up once and left headless.When the link fails, the reason lands in
tunnel.login the same folder: which helper was started, the public URL, and the helper's own last output.
Platforms
Linux and Windows are built and driven end to end; macOS compiles in CI but has
never run on a Mac. PLATFORMS.md has the full matrix, WINDOWS.md and
MACOS.md the per-platform details.
Run
cargo tauri dev # or: bunx @tauri-apps/cli@3.0.0-alpha.6 devbeforeDevCommand compiles the frontend (bun build) and the two demo MCP
servers, so one command is enough on a clean tree.
The bundled-Chromium renderer (CEF) is the default: one engine, the same
pixels on Linux and Windows. Building it needs a C++ chain — cmake and
ninja (plus MSVC on Windows); the first Linux build also pulls gtk4 and a
~700 MB CEF download.
cargo build -p bionichat # CEF, the default
cargo build -p bionichat --no-default-features --features wry # opt-outBuild from the repository root so every binary lands in one target/; a
--manifest-path src-tauri/Cargo.toml build silently creates a second
src-tauri/target/ and the packer then sees stale files.
The frontend is embedded into the binary at compile time, and cargo does not
notice a changed dist/ on its own. After any UI change, touch the build
script before building, or the app ships the previous screen:
touch src-tauri/build.rs && cargo build -p bionichatcef and wry are mutually exclusive (gtk4 vs gtk3); the crate refuses to
build with both. Windows needs Ninja on PATH (winget install Ninja-build.Ninja)
and CMake (winget install Kitware.CMake).
CEF needs Chromium's SUID sandbox helper to be root-owned, otherwise the
renderer aborts at startup. The build already installs a correct helper under
target/cef/debug/, so run the app through the wrapper — it hides the
non-setuid copy the build also drops beside the binary and points
CHROME_DEVEL_SANDBOX at the real one, no sudo needed:
scripts/run-cef.sh # same binary, CEF sandbox satisfiedIf you prefer the manual route instead:
sudo chown root:root target/debug/chrome-sandbox
sudo chmod 4755 target/debug/chrome-sandboxVerified 2026-11-22: the CEF build renders the dashboard and the live map on Linux and on Windows (six Chromium processes, window painting). The renderer chip in the header shows which runtime built ("cef" or "wry").
Package a folder
bun run package # -> dist/bionichat-<platform>-<version>.zipOne archive holds the app, fs, bash, skill, the tunnel helper and, for a
CEF build, Chromium's runtime (libcef, .pak files, locales, the sandbox
helper). Unzip anywhere and launch; nothing to install.
Measured 2026-11-22:
platform | zip | unpacked | runtime inside |
Linux x64 | 365 MB | 1.5 GB |
|
Windows x64 | 192 MB | 453 MB |
|
Two traps the script now handles: a CEF runtime directory is matched by name
(cef_*, *.framework), because cargo also drops a stray libcef.dll inside
its build tree; and the staging folder lives in target/package/, never in
dist/, which Tauri embeds as the frontend.
Layout
src-tauri/src/lib.rs app setup, state, commands
src-tauri/src/registry.rs Anthropic JSON parsing + registry.json persistence
src-tauri/src/mcp.rs rmcp client: spawn → handshake → tools/list → call
src-tauri/src/hub.rs one MCP endpoint over every server, policy, activity
src-tauri/src/tunnel.rs opentunnel route lifecycle
src/ dashboard source (React + Vite + Tailwind)
views/ Overview, Projects, Settings
components/ToolFlow.tsx live graph of hub → servers → tools
components/LiveRail.tsx running and recent calls
tools/fs MCP server: read, write, edit
tools/bash MCP server: bash
tools/skill MCP server: skill (list + read from .agents/skills)
dist/ bun run build outputTool names
Every tool is namespaced by its server, so a name never lies about where it came from and two servers can never collide:
the built-in server is named
coreand advertisescore_read,core_write,core_edit,core_bash,core_skill— one process, one row in Settings, one helper binary beside the appcore_readanswers images (PNG, JPEG, GIF, WebP, BMP, up to 8 MB) as an MCP image block next to a text line, so a vision-capable chat can look at a screenshot or a photo instead of being told it is binarycore_readturns documents into text on the machine, so every client can use them, Gemini included: PDF (text layer, 32 MB, 60k characters), Word.docx(paragraphs, tabs, table cells) and Excel.xlsx/.xls(one block per sheet, tab-separated rows). An encrypted or renamed.docis refused with that reason instead of a raw zip errorevery other server uses its own name:
context7_query-docs
A call needs no tools/list first: the hub resolves the prefix itself, so the
first call after a restart is as fast as the tenth. Listings answer from the
last known listing, so a slow server (anything behind npx) cannot stall an
agent's first call.
Servers are added and removed from Settings → Servers. Removing one drops its
process, its tools and its stored policies. The built-in core servers cannot
be removed: they are the app's own hands, and the backend refuses even if a
call comes from somewhere else. A registry file that will not
parse is never overwritten: the app keeps a .bad-<epoch> copy and refuses to
reseed over it.
The live map
Overview draws the hub, every server and every tool as a graph and lights the
path while a call is in flight; the same screen carries the status strip and the
live rail of calls (marked local or link). The public URL itself is never
printed on Overview, only inside Settings → Link, where copying happens.
Projects is a picker, not a listing: you choose any folder on this machine and
it becomes a project the chat will work in. Saved in <data>/projects.json; a
folder that later disappears drops itself.
Servers, per-tool policies, approvals, the link and the file paths live in Settings, pinned to the bottom of the sidebar.
The hub emits
tool-startthe moment a call arrives, before policy runs, andtool-activitywhen it finishes. The graph marks the tool blue with a dashed edge from the hub while it runs.A finished call keeps a ring for 6 seconds (green ok, red failure), then fades. Nothing stays coloured forever.
Followed calls read like a terminal, not JSON: the rail shows the kind (Shell / Read / Write / Edit), the command or path, then the output, with a Show all toggle for long runs.
Navigation is custom, so it works in the embedded CEF window: pan and zoom the canvas, click a tool for its description.
bun run debug-pagewritesdist/_debug.html: the real bundle against fixture data, so the UI can be driven in a normal browser with DevTools.
Commands (Tauri IPC)
command | purpose |
| rows + hub + tunnel + approvals/renderer metadata |
| re-probe every registered server through the hub sessions |
| validate Anthropic JSON, save, spawn, list tools |
| spawn |
| kill the tunnel child, back to |
| remove the route (URL dies), then stop |
| approve once + remember until the app quits |
Hub
http://127.0.0.1:8787/mcp (override with BIONICHAT_HUB_PORT). JSON-RPC over
POST, no SSE. Every tool result carries a server-time stamp ([server time <local> = <UTC>]) so web agents stay time-aware.
Tools keep their plain names while unique (read, bash); on a collision they fall back to server__tool.
Calls route to the owning server over its live stdio session.
curl -s -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \
http://127.0.0.1:8787/mcp
curl -s -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call",
"params":{"name":"read","arguments":{"path":"demo.txt"}}}' \
http://127.0.0.1:8787/mcpHandled: initialize, notifications/* (202), ping, tools/list,
tools/call; anything else returns -32601, unknown tool names -32602,
malformed JSON HTTP 400, GET /mcp 405. A server that fails to start is left
out of the union and reported in the dashboard row, not in the hub response.
Rows carry name, transport, secret_keys, status
(pending/ready/error), error, tools. Env values never leave the
backend; the UI shows key names only.
State and secrets
Registry:
<app data dir>/registry.json, seeded with the built-in servers (fs,bash,skill) on first launch.Built-in tool binaries are resolved beside the running app, so a moved or reinstalled folder keeps working; user-added servers keep their own command.
core_readcanonicalises every path andcore_writecreates missing parents; there is no filesystem plugin beyond these tools.
Pinned versions
crate / package | version | why |
|
| latest v3 alpha, has the CEF runtime + MCP plugin |
|
| newest build crate in the v3 line |
|
| default runtime, matches core |
|
| CEF runtime; pins |
|
| official Rust MCP SDK (client + server) |
|
| only needed if |
Tunnel
One click runs opentunnel route add <port> (or $OPENTUNNEL_BIN), scrapes the
https://… line it prints, then polls <url>/mcp with an MCP ping for up to
60 s before showing ready.
Install (user-local, no sudo, no account):
npm install -g --prefix "$HOME/.local" opentunnel→~/.local/bin/opentunnel(6.5 MB). Removal:npm uninstall -g --prefix "$HOME/.local" opentunnelandrm -rf ~/.local/share/opentunnel.Side effect:
route addregisters and enables a systemd user service (opentunnel-default.service) so the tunnel survives reboots.Stoprunsopentunnel down, which stops it and removes that unit. Stop is per-profile, not per-app: it also takes down a tunnel started outside this app.Routes stay configured while stopped, so starting again reuses the same URL.
Revoke link burns the route (
opentunnel route remove) and stops the service: the URL dies for good, the next start mints a fresh random one. Use it when a link leaks.Public URL = public. It serves the hub as-is with no auth: anyone holding the URL can read, write and run shell commands on this machine until you revoke it, and anything a tool reads (file text, image bytes, extracted PDF text) is sent to the chat that asked. That is the trade the link makes, and the app says so above the Start button.
Verified 2026-11-20 on this box (tunnel kfgepc72im6k.opentunnel.xyz):
check | result |
app |
|
TLS chain |
|
|
|
|
|
app | service stopped, public URL stops answering |
Known gaps (next passes)
Re-reading the registry when the file changes outside the app.
Hub is JSON-RPC over POST only; SSE streaming and
Mcp-Session-Idare not implemented, so clients that require SSE will not connect.Tool calls through the hub are unbounded: no per-call timeout.
HTTP/SSE transports parse and persist but probe returns "not wired yet (P2)".
Approvals are enforced (
hub::tests::denied_tool_returns_32001_without_starting_the_server,ask_without_an_answer_times_out_with_32002); the default is Allow, so a prompt appears only where a per-tool Ask was set.
License
AGPL-3.0-or-later. You may read it, run it, change it and share it; if you run a modified version as a network service, you must publish your changes under the same licence. A fork must not call itself bionichat or use its logo: the name belongs to this project. See LICENSE and NOTICE.
A licence protects the code and the name, not the idea: anyone can build a different app that does the same thing. Only keeping the source closed prevents that.
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
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Remote desktop MCP: let AI see, click, type and run terminal commands on your own Windows or Mac.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceExposes a governed suite of 38 tools over a single OAuth-gated MCP endpoint, letting web-based AI clients such as Claude, ChatGPT, and Grok read and edit files, run whitelisted shell commands, search, query SQLite, use Git, automate browsers and DevTools, manage background tasks, reach localhost services, and control the clipboard, notifications, ports, and Postman. This turns remote AI chats into secure operators of a local machine without granting unrestricted shell access.-
- FlicenseNot gradedqualityAmaintenanceExposes a governed suite of 38 tools over one OAuth-gated MCP endpoint, letting web-based AI clients such as Claude, ChatGPT, and Grok read and edit files, run whitelisted shell commands, search content, use Git, inspect SQLite databases and localhost APIs, automate browsers, manage background tasks, and control Postman. It runs locally with a tailnet or public ingress so browser-based chats can act on your own machine without granting unrestricted shell access.-
- FlicenseNot gradedqualityAmaintenanceExposes a governed suite of 38 tools over a single OAuth-gated MCP endpoint, letting web AI chat clients such as Claude, ChatGPT, and Grok operate on a local machine — reading and editing files, running whitelisted shell commands, searching, querying SQLite, driving browsers and DevTools, managing background jobs, ports, and clipboard. Local IDEs and Postman can also connect directly over localhost for offline, low-latency access.-
- AlicenseNot gradedqualityAmaintenanceExposes a governed suite of 38 tools over a single OAuth-gated MCP endpoint, letting web-based AI chat clients read and edit local files, run whitelisted shell commands, search, use Git, inspect SQLite databases, and drive browser, DevTools, clipboard, and background-task workflows. It requires no system-wide install or admin rights and restricts access to folders and commands approved from a local control panel.MIT