Kiro Conversations MCP
A local MCP server for durable, named Kiro CLI conversations over ACP, enabling asynchronous runs with session management, model querying, and bounded wait delegation.
README
Kiro Conversations MCP
A local MCP server for durable, named Kiro CLI conversations over ACP. Runs are asynchronous, session settings are immutable, and each execution is constrained by the existing macOS filesystem sandbox.
Requirements and commands
- macOS, Node.js 22+, Kiro CLI, and pnpm 11.13.1.
pnpm build— compile todist/.pnpm test— run unit and MCP API tests.pnpm lint/pnpm typecheck— static validation.pnpm smoke:live— run the real Kiro ACP smoke test (requires local Kiro authentication).
State defaults to ~/.local/state/kiro-conversations-mcp-acp. Override it per process with KIRO_CONVERSATIONS_ACP_STATE_DIR. Reply persistence can be disabled with KIRO_ACP_PERSIST_REPLIES=0; retained reply size is controlled by KIRO_ACP_MAX_REPLY_BYTES.
Recommended workflow
Use kiro_delegate for the common case. It starts or resumes a named session and waits briefly (10 seconds by default, configurable with KIRO_DELEGATE_WAIT_MS or per-call waitMs, maximum 60 seconds). If the run is still active when the wait expires, the response contains session, runId, current persisted status/phase, elapsed time, and a safe next action. The run remains in the background: delegate never cancels, restarts, or duplicates it on wait expiry.
New sessions require workspace, model, effort, and authority (read_only or workspace_write). Call kiro_models to select a canonical current model ID. The server also normalizes a uniquely resolvable suffix alias such as sol to its canonical ID; ambiguous or unknown values fail before a run starts. These settings are immutable. Existing sessions need only session and message.
For explicit asynchronous control:
- Call
kiro_start; it immediately returnsrunIdand a redacted session summary. - Call
kiro_waitto wait, orkiro_resultto poll. - Keep the explicit
runIdwhen coordinating multiple calls. It is always supported.
kiro_wait and kiro_result may omit runId only when resolution is deterministic: the session's sole active run, or its latest completed run that has not already been returned. Once an implicit terminal result is consumed, another implicit lookup returns STALE_RUN_ID. Corrupt or otherwise non-unique active state returns AMBIGUOUS_RUN; the server never guesses. Use kiro_status to select an explicit ID.
Tools
kiro_delegate— start/resume and wait for a short bounded interval without cancelling on expiry.kiro_start— durable asynchronous dispatch with a safe session summary.kiro_models— canonical model IDs currently available from the local Kiro CLI.kiro_wait— bounded wait; optional safely resolvedrunId.kiro_result— non-waiting result; optional safely resolvedrunId.kiro_status— compact dashboard, optionally filtered by session. Immutable model/effort/authority, status, and phase are labeled as persisted. Terminal elapsed time uses persisted start/completion timestamps; active elapsed time uses persisted start plus the response's labeledgeneratedAt. No ACP semantics are inferred.kiro_cancel— explicitly cancel one run and make cancellation durable.kiro_sessions— cursor-paginated redacted session summaries.kiro_close— cancel active work and close a named conversation without deleting Kiro's internal session.
Result and error safety
Run results use one structured shape across delegate, wait, and result: session, runId, status, known phase, timestamps, elapsedMs, optional structured reply (text, originalBytes, retainedBytes, truncated), optional error, and nextAction. A concise summary is emitted only when one is independently available; the server does not derive claims about files, tests, or commits from reply text.
Tool failures and terminal failures provide a stable code, retryable boolean, safe remediation, and opaque diagnosticId. Diagnostics contain only stable metadata; prompts, replies, internal ACP IDs, and private workspace paths are not logged or returned. kiro_status terminal outcomes omit reply bodies.
Wait expiry is not a run timeout. A running response means only that the bounded wait ended; poll the same runId, wait again, or explicitly cancel it.
Deferred features
This server intentionally does not provide session cloning, elaborate prompt templates, autonomous repair, or a comprehensive activity log.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。
mcp-server-qdrant
这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。