
CLEO MCP Server
io.github.kryptobaseddev由 GitHub 帳號 kryptobaseddev 發布v2026.3.35更新於 Oct 24, 2026
Task management for AI coding agents — CQRS 2-gateway pattern, 200 ops across 10 domains
概覽
CLEO 是一個本機任務編排伺服器,為編碼代理提供跨專案的持久任務、工作階段、記憶與發佈生命週期。
- 可以做什麼
- 建立、搜尋、檢視、完成並關聯帶相依性和優先級的階層任務,支援批次建立與就緒檢查。啟動、恢復、建立檢查點並產生工作階段簡報,讓上下文在多次對話間延續。儲存觀察、模式與便箋,並提供語意搜尋與跨工作階段記憶檢索。檢視程式碼符號和跨專案圖譜,並透過波次、共識和訊息傳遞協調多個代理。讓工作依從研究到發佈的階段化生命週期推進,並附帶驗證和完整性檢查。
- 適用情境
- 當你讓一個或多個 AI 編碼代理處理長期或多工作階段的專案,且經常在工作階段之間遺失上下文時使用。它適合希望獲得結構化任務追蹤、共享記憶和明確生命週期的團隊,而不是臨時提示。對小型一次性修改用處不大。
- 執行需求
- 以 npm 套件 @cleocode/cleo 的形式透過 stdio 在本機執行。需要 Node.js 24 或更新版本。環境變數 CLEO_PROJECT_DIR 必須指向包含 .cleo 資料夾的專案目錄,該資料夾由 CLI 初始化專案時產生。未宣告任何身分驗證。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 CLEO MCP Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
[CLEO — Agent First Task Orchestration]
CLEO
[npm version] [CI] [License: MIT] [Node.js Version]
CLEO is the work, evidence, memory and docs layer for AI coding agents. Agents
(and you) drive it through one CLI, cleo <command>, and every call returns a
single JSON envelope on stdout, so any agent harness can read it. CLEO keeps
each change traceable from task to pull request to release, demands evidence
before a task counts as done, remembers what was learned across sessions, and
keeps documentation from rotting.
What it does
Run cleo <command> --help for the full flags of any command.
Quick start
Then do the work and close it.
- With a pull request (the normal path): work on a branch, open a PR whose
body says
Closes: T003 AC1,AC2, check it withcleo done --from-merge <pr> --dry-run, get a per-criterion review (cleo review packet <pr> --task T003, thencleo review verdict), and merge on green CI. The merge sweep records the evidence and closes the task. - Without a pull request:
cleo done T003 --plannames the evidence each gate needs; record it withcleo verify, thencleo complete T003.
Finish with cleo memory observe "<what you learned>" --title "<short title>"
and cleo session end --note "<handoff>". The next session starts with
cleo briefing.
Docs that don't rot
AI agents write a lot of documentation, and most of it rots. An agent that cannot find the existing doc writes a new one; names carry task ids and dates; two copies drift apart; nobody can tell which one is current. After a few months the docs folder is a pile of near-duplicates that agents keep extending.
CLEO Docs fixes this at the source:
- One canonical home per doc. The store is the source of truth; files in
docs/are published mirrors. Find before you write (cleo docs query "<topic>"), and update the existing doc (cleo docs update <slug>) instead of adding a second one.cleo docs addis for genuinely new docs. - Stable names. Every doc name and slug is lowercase kebab-case with no
task id, session id or date; task and decision links live in metadata. A CI
gate (
cleo check canon docs) refuses new violators. - One kind per folder.
docs/adr,docs/spec,docs/plan,docs/research,docs/guide,docs/concept,docs/reference,docs/migration,docs/releaseanddocs/note. - Drift is visible.
cleo docs statuscompares each published mirror with the store,cleo docs rotflags docs whose covered code changed after them, andcleo docs doctorrepairs the store. - Messy folders can be migrated.
cleo docs modernize <folder>plans a kind, a stable name and keep/rename/merge/delete for every file, and applies it with a receipt you can roll back.
The how-to is docs/guide/cleo-documentation-sop.md.
Packages
The CLI is @cleocode/cleo; it depends on the rest. The main packages:
Development
Requires Node.js >= 24.16.0 and pnpm.
Repository rules (package boundaries, architecture gates, evidence) are in
AGENTS.md; see CONTRIBUTING.md to contribute.
Every change lands through a pull request that names its tasks; releases are
cut from main with cleo release cut.
The story of CLEO
CLEO began as one developer's refusal to keep losing the thread: powerful agents that forgot too easily, ambitious projects that died on the shelf. The Founding Story tells it from the builder's side, and The Awakening Story from CLEO's.
Support
If CLEO helps your workflow, consider supporting development:
License
MIT License - see LICENSE for details.
Star History
來源:README.md,提交 cbfc34e
工具
0版本歷史
1- v2026.3.35最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分