Ikuna

io.github.RobertoHanas由 GitHub 账号 RobertoHanas 发布v0.2.0更新于 Oct 25, 2026

Read workspace context and activity from the running Ikuna macOS app, with app-managed permissions.

已验证STDIO仅桌面效率与工作流开发者工具

概览

AI 生成的概览

一个本地 macOS 桥接工具,让 AI 助手在 Ikuna 设定的权限范围内,读取正在运行的 Ikuna 应用中的工作区上下文与活动。

可以做什么
将 AI 客户端连接到 Mac 上正在运行的 Ikuna 应用的工作区上下文,可用工具取决于 Ikuna 的 AI Connections 设置中启用的能力。运行引导式安装,自动检测 Claude Desktop、Codex、Claude Code 和 Cursor,只把 Ikuna 条目合并进其现有配置,保留最近三份备份并验证本地握手。重新运行安装可修复过期或缺失的配置,或指定某个客户端。通过路径或环境变量指向某个正在运行的 Ikuna 应用包。连接后可检查 Ikuna 健康状况,再询问工作区内容。
适用场景
当你使用 Ikuna macOS 应用,并希望 Claude Desktop、Codex、Claude Code 或 Cursor 等 AI 客户端处理你的 Ikuna 工作区上下文与活动时使用。未安装或未运行 Ikuna 时没有用处。
运行要求
macOS,需 Node.js 18 或更高版本(含 npx),以及包含 MCP 辅助程序的 Ikuna 版本。Ikuna 必须已安装、已打开并正在运行,并在设置中的 AI Connections 启用所需能力。首次运行会从 npm 下载该包。可选 IKUNA_APP_PATH 或 --app-path 用于指定正在运行的应用包;IKUNA_MCP_CLIENT_ID 为可选的连接记录用途。
安装前请注意
安装该包不会改变权限;工具与审批由 Ikuna 控制,部分工具可能不可用或需要审批。该桥接不会替你打开应用,Ikuna 关闭时会报错退出。同一时间只应运行一个 Ikuna 副本,因为所有副本共用本地桥接服务。安装过程会写入检测到的 AI 客户端配置文件,请检查这些改动及保留的备份。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Ikuna,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Ikuna MCP

Connect your AI client to the workspace context in the Ikuna app running on your Mac.

ikuna-mcp 0.1.1 is listed in the official MCP Registry as io.github.RobertoHanas/ikuna-mcp.

Connect

  1. Install Node.js 18 or later, including npx.
  2. Open Ikuna and enable the capabilities you want to share in Settings → AI Connections.
  3. Run the guided setup:
sh
npx -y ikuna-mcp setup

Setup detects Claude Desktop, Codex, Claude Code, and Cursor, merges only Ikuna's entry into their existing configuration, retains the latest three backups, and verifies the local MCP handshake. Re-run the same command to repair stale or missing values, or make that intent explicit:

sh
npx -y ikuna-mcp setup --repairnpx -y ikuna-mcp setup --client codex

Exit status 0 means every detected client was configured and the handshake passed, 1 means configuration was saved but verification needs a manual step, and 2 means no detected client could be configured.

For a client that is not detected automatically, add this entry to its mcpServers configuration, keeping your other servers:

json
"ikuna": { "command": "npx", "args": ["-y", "ikuna-mcp"] }

For clients such as Claude Desktop, Claude Code, and Cursor, a complete JSON configuration is:

json
{  "mcpServers": {    "ikuna": {      "command": "npx",      "args": ["-y", "ikuna-mcp"]    }  }}

For Codex, add this to ~/.codex/config.toml:

toml
[mcp_servers.ikuna]command = "npx"args = ["-y", "ikuna-mcp"]startup_timeout_sec = 30

Restart or reconnect your MCP client after saving. Ask it to check Ikuna's health, then ask about your workspace. Your available tools depend on the capabilities enabled in Ikuna.

The first run downloads this small package from npm. Later runs use npm's cache. If your client cannot find npx, use the full executable path reported by command -v npx as command and ensure Node.js is on that client's PATH.

Requirements and troubleshooting

This package runs locally on macOS. It requires an Ikuna build that includes the MCP helper at Contents/bin/ikuna-mcp.

  • Ikuna is installed but closed: open Ikuna, leave it running, and reconnect the MCP client. The npm bridge exits with an error when Ikuna is closed; it does not open the app for you.
  • Ikuna is not installed: install it from the official Ikuna product page, open it, and reconnect the MCP client.
  • MCP helper unavailable: update Ikuna to a build with AI Connections support.
  • Discovery timeout: quit and reopen Ikuna, then retry. Running-app discovery has a short deadline and errors are written to stderr, never mixed with MCP responses.
  • More than one Ikuna copy running: quit the extra copies. All copies share the local bridge service, so use one running installation at a time.
  • Tools unavailable or approval required: review the capabilities in Ikuna's AI Connections settings. Installing this package does not change permissions.

Custom installation locations are discovered automatically from the running app. To select a particular running bundle explicitly:

json
"ikuna": {  "command": "npx",  "args": ["-y", "ikuna-mcp", "--app-path", "/Applications/Ikuna.app"]}

IKUNA_APP_PATH is the equivalent environment variable. A selected bundle must already be running. The optional IKUNA_MCP_CLIENT_ID environment variable is passed through to Ikuna for connection bookkeeping; it does not grant access.

How it works

text
MCP client → npx ikuna-mcp → Ikuna.app/Contents/bin/ikuna-mcp → local XPC bridge → Ikuna

The npm package discovers the running Ikuna bundle and launches its embedded native helper with the client's stdio streams. The native helper provides the signed XPC connection, request deadlines, and per-client protocol sessions. Ikuna remains responsible for tools, workspace data, approvals, and mutations. On the way back to the client, the package repairs the tools/list schema so an optional confirmation field stays optional and strict clients do not reject valid read calls; it changes no request, workspace data, or result. The package has no runtime dependencies, reads no workspace database, and opens no network listener.

The MCP Registry manifest is included as server.json. Maintainers can follow RELEASE.md to publish the npm package and listing together.

来源:README.md,提交 9798d82

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v0.2.0最新Sep 16, 2026
  2. v0.1.1Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分