MCP Bridge for KAI Core
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.
MCP Bridge for KAI Core
A KAI Core plugin that lets AI agents on the same computer, such as Claude Code, Claude Desktop or Cursor, use KAI through the Model Context Protocol.
Plugin ID
community.mcp-bridge, version 0.1.0, native runtime, needs KAI Core 0.7.17 or later.No dependencies: Node built-ins only, CommonJS, about 1,400 lines including the window and its five languages.
The signed package is in
dist/. Publisher fingerprint:0d4883f800992901f1f4941e898031aafd10926cd5d87c0b0cfd166840df416b.
Why a plugin
Alpha served tasks, chats, documents, keys, memory, teams and the node over its local HTTP control plane, and the standalone koinos-ai-mcp server wrapped them. On Core those features belong to plugins and are reachable only through Foundation's plugin API, not over HTTP. That is the right design, and it means an outside agent can reach them only through a plugin that a person has installed and approved.
This plugin is that bridge. It uses only the documented Foundation API v1 and the local service bus, and it leans on each plugin's own approval dialogs instead of adding new ways around them.
Related MCP server: Desktop Commander MCP
How it keeps the user in charge
Rule | How |
Installing starts nothing | The endpoint runs only after Turn on in the bridge window. |
Local only | It binds to |
Token | 32 random bytes, stored encrypted with |
Opt-in per plugin | Documents, Workflows, Brain, Assistant, Code and Tools are each off until ticked. With none ticked, agents see two read-only tools. |
Changes | Hidden until Allow changes is ticked. Even then, a person approves every change in the KAI window, never the agent (see below). If the window is hidden, |
No data kept | Tool arguments and results are never logged or stored. The activity list holds tool name, time, duration and success, in memory only. |
Who approves each change
Tool | Approved by |
| Core's own review ( |
| The owning plugin's own dialog |
| The bridge ( |
| Nobody needed: it only removes access |
Assistant also asks every time a conversation list or an unshared conversation is read. That is Assistant's own rule, and the bridge doesn't work around it.
Never wrapped, at any setting
kai.toolscall/payment/paymentEvents: generic tool execution and paid runs. Tools can be listed, never run.Everything in
kai.connections: email, calendar and third-party account actions.Brain
tool,context,syncandsource: tool execution and network fetches.Assistant
chats.save/chats.grantWrite.Wallet, credits and account requests. The manifest doesn't even ask for
wallet.*,account.request,inference.network,network.fetchordesktop.external.
The test suite enforces this. With every source on and changes allowed, it calls every tool and checks each plugin-service method reached against an explicit allowlist. It also greps the tool code and the manifest for the banned families.
Tools
Source | Read | Change |
Core (always) |
|
|
Documents |
|
|
Workflows |
|
|
Brain |
|
|
Assistant |
|
|
Koinos Code |
| none |
KAI Tools |
| none |
Local inference isn't wrapped. KAI's /v1 API on 127.0.0.1:41100 is already OpenAI-compatible, so agents use it directly.
Permissions requested
native.execute (the service), models.read / models.manage (list and load models through Core's review), network.status / network.configure (show privacy and change it through Core's review), storage.read / storage.write (the bridge's own settings), secrets.use (encrypting its token), and services.call (the opt-in plugin sources). It consumes kai.documents, kai.workflows, kai.brain, kai.assistant, kai.code and kai.tools. A missing provider only produces Core's usual "Install and enable a plugin providing …" when that source is used.
Install and connect
In KAI: Plugins → Install 3rd Party Plugins, choose
dist/kai-plugin-mcp-0.1.0.kaiplugin, check the publisher fingerprint above, and accept the full-access notice for a native plugin.Open MCP Bridge, press Turn on, and tick what agents may use.
Copy the Claude Code line from the window and run it once:
claude mcp add --transport http kai http://127.0.0.1:41111/mcp --header "Authorization: Bearer <token>"Other clients take the JSON block shown under it.
Build, test, sign
npm test # node:test, no dependencies
node scripts/pack.js --core <kai-core checkout> --key <ed25519 key outside this repo>scripts/pack.js runs Core's own scripts/core/pack-plugin.js and verifyPackage, so the package format is never re-implemented here. It refuses a key stored inside the repository, and it never overwrites a published version. The service also loads cleanly through Core's loadNative, which enforces the bundled-dependencies rule.
For KAI maintainers
This is offered for the KAI plugin catalog, and it's entirely your call:
List it as is:
community.mcp-bridgeunder its current publisher key, likecommunity.teleno-node.Adopt it: re-sign it under your key with your own ID (for example
kai.mcp-bridge). Core binds an ID to its first publisher, so adopting means a new ID rather than taking this one over. MIT licensed, so take whatever is useful.Leave it: it still works as a third-party install.
Two Foundation behaviours worth knowing about, in case either isn't intended:
Service-bus calls made from the bridge's HTTP handler carry no initiating renderer, because a remote agent has no window. Providers that use
api.desktop.confirmwork as expected. A provider that ever requiresinitiatorwould refuse bridge calls, which is the safe result.desktop.confirmreturns false while KAI is hidden in the tray, so agent-requested changes need the window open. That's a reasonable rule for an approval, and the bridge tells the agent so.
Relationship to KAI
Independent and unaffiliated, built from the outside against the shipping KAI Core Beta and its public plugin guide. Nothing here is endorsed by, or the responsibility of, the KAI project.
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
- DNS-DATA RemoteDeprecatedcom.dns-data
Connect AI assistants to authorized Windows and macOS devices for files, commands, and management.
Reach your own computers from any AI app: files, search, commands, approvals and outage alerts.
Context and control for any AI. Agent identity, scoped access, and proof across tools.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to remotely search, update, manage files, and run terminal commands on a desktop environment via Streamable HTTP with OAuth 2.0, supporting ChatGPT and web agent integrations.724,305 npm1MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to search, update, manage files, and run terminal commands on a computer, with remote access via Streamable HTTP and OAuth 2.0 for integration with ChatGPT and web agents.724,305 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables local, permissioned development workflows from compatible AI clients, including filesystem editing, interactive terminals, durable jobs, Git operations, and semantic browser testing.27 npm1Apache 2.0
- AlicenseNot gradedqualityAmaintenanceExposes a governed suite of 38 OAuth-gated tools that let web-based AI chat clients read, write, edit, and search local files, run whitelisted shell commands, inspect databases and localhost APIs, drive browsers and DevTools, and manage background tasks, Git, clipboard, notifications, and ports. Local IDEs connect directly over loopback, while remote clients reach the same machine through a secure tunnel.MIT