
Ikenga iyke (control bridge)
io.github.Royalti-io由 GitHub 账号 Royalti-io 发布v0.1.2更新于 Oct 27, 2026
Drive a running Ikenga desktop app from MCP clients — DOM, click, type, navigate, screenshot.
概览
把运行中的 Ikenga 桌面应用接入 MCP:让助手导航面板、点击、输入、查看 DOM、日志与网络并截图。
- 可以做什么
- 查看并调整界面布局:读取侧栏模式与面板树、跳转路由、切换模式、打开标签页、拆分、聚焦和关闭面板。
- 操作实时界面:获取可访问性树 DOM 快照,按 ref、选择器或文本点击,输入文字、发送快捷键、等待条件满足、截图。
- 读取运行时诊断:最近的控制台与错误日志、fetch/XHR 网络记录、TanStack Query 缓存,调试版可打开 DevTools。
- 处理 iframe 面板:读取其发布的状态对象,并发送即发即忘的 postMessage。
- 管理项目:创建、更新、列出、归档项目,以及设置和读取当前活动项目。
- 适用场景
- 适合让助手直接操作或调试 Ikenga 桌面应用本身,例如复现界面流程、查看面板渲染结果、读取日志与网络活动、切换项目,而不是处理无关的代码工作。
- 运行要求
- 通过 npx 或全局 npm 安装后在本地运行,需要 Node.js 20 或更高版本。Ikenga 桌面应用必须正在运行并提供本地控制服务;服务器从应用本地数据目录的 control.json 读取端口、bearer 令牌和 PID。未声明任何环境变量或请求头。
安装
在 SourceWeft 中
- 打开 控制台中的 Ikenga iyke (control bridge),将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
[!IMPORTANT]
This repository has moved — do not build from it
Development of
@ikenga/mcp-iykecontinues in the ikenga-pkgs monorepo:→ Royalti-io/ikenga-pkgs/packages/mcp/iyke
This repo was last updated on 15 May 2026 and is now archived and read-only.
Why this matters if you cloned it. The state left here is neither the last release nor the current one: its
package.jsondeclares0.1.2, but its source carries a partially-migrated tool set from the period before the code moved back into the monorepo. Building from this tree gives you something that was never published. Anything you install from npm is unaffected.
- npm (unchanged, still the right package):
@ikenga/mcp-iyke- Issues and PRs: please open them on ikenga-pkgs
@ikenga/mcp-iyke
A Model Context Protocol server that exposes the Ikenga desktop app's iyke control bridge — so any MCP client (Claude Code, Cursor, custom agents) can drive a running Ikenga session the same way a developer types into the iyke CLI at a shell.
What this is
Ikenga is a Tauri-based AI workspace shell with a manifest-driven package kernel. While the app is running, it exposes a localhost HTTP server (with a bearer token in control.json) that lets external tools introspect and drive the live UI: switch panes, navigate routes, take DOM snapshots, click elements, read logs, capture screenshots.
This package wraps that HTTP server in MCP so an LLM agent can use it natively. Tools mirror the iyke CLI subcommands.
Install
Via Claude Code (recommended)
After that, any Claude Code session can call iyke_state, iyke_go, iyke_mode, iyke_open, iyke_split, iyke_focus, iyke_close, plus the runtime-inspection tools (iyke_dom, iyke_logs, iyke_network, iyke_screenshot, iyke_wait, iyke_click, iyke_type, iyke_key, iyke_query_cache, iyke_devtools), iframe tools (iyke_iframe_state, iyke_iframe_send) and project tools (iyke_project_create, iyke_project_update, iyke_project_list, iyke_project_archive, iyke_project_set_active, iyke_project_get_active).
Via npx (no install)
From source (for contributors)
Then point your MCP client at node /path/to/ikenga-pkg-mcp-iyke/dist/index.js.
Tools
Layout & navigation
Runtime inspection & driving
Iframe runtime state
Projects
Trust boundary
The MCP server reads control.json from the platform-specific app-local-data directory (~/Library/Application Support/app.ikenga/control.json on macOS, $XDG_DATA_HOME/app.ikenga/control.json on Linux, %APPDATA%/app.ikenga/control.json on Windows). The control file contains:
port— localhost port the in-app HTTP server is listening ontoken— bearer token required on every requestpid— owning process PID (used to detect stale files)
A stale control.json left behind by kill -9 is auto-deleted once it's at least 5 minutes old; younger stale files are reported (likely a launch race) so we don't clobber a starting app.
If the Ikenga desktop app isn't running, every tool call fails with a structured error rather than hanging — your agent reads the failure and reports it instead of silently waiting.
The MCP server only ever talks to 127.0.0.1 on the port from control.json, with the bearer token from the same file. No outbound network, no telemetry.
Compatibility
- Ikenga shell: any version exposing the v1
control.jsonschema. - Node.js: ≥ 20.
- Bun: runs without compilation (
bun src/index.ts). - MCP SDK:
@modelcontextprotocol/sdk^1.23.0.
Versioning
This package follows SemVer 2.0.0. Major-version bumps may break MCP tool names or argument shapes; minor bumps add new tools or non-breaking improvements; patches fix bugs.
The iyke HTTP protocol version (the in-app server's API surface) is independent — it's pinned via schema_version: 1 in control.json. This package currently supports protocol v1 only.
Contributing
Contributions welcome. See CONTRIBUTING.md for setup, conventions, and the DCO. By contributing, you agree your contributions are licensed under Apache 2.0 (matching the repo).
For bugs or feature requests, open an issue. For security issues, see SECURITY.md — please don't open a public issue.
License
Apache License 2.0 — Copyright (c) 2026 Royalti, Inc.
Related
- Ikenga shell — the desktop app this drives.
- @ikenga/contract — shared manifest + iyke runtime constants.
- Model Context Protocol — the protocol this server speaks.
来源:README.md,提交 9be6167
工具
0版本历史
1- v0.1.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分