AIコーディングエージェント向けに、タスク、ドキュメント、およびプロジェクトメモリを管理するためのタスクオーケストレーションおよびメモリレイヤーを提供します。
別名 kryptobaseddev/cleo, cleo, @cleocode/cleo
- スター
- 159
- ツール
- —
- ダウンロード数(30日間)
- 9,860
- 最新バージョン
- 2026.3.35
- 最終コミット
- 2026年11月14日
- ライセンス
- MIT
CLEO MCPとは
CLEOはMCPサーバーです。 AIコーディングエージェント向けに、タスク、ドキュメント、およびプロジェクトメモリを管理するためのタスクオーケストレーションおよびメモリレイヤーを提供します。.
プロジェクトのREADMEから生成された概要
CLEO MCP server について
CLEOは、AIコーディングエージェント専用に設計された、構造化されたオーケストレーションおよびメモリレイヤーを提供します。コマンドラインインターフェースを通じて機能し、すべてのコマンドがJSONエンベロープを返すため、あらゆるエージェントハーネスで出力を処理できます。このシステムは、saga、epic、および特定の受け入れ基準を持つtaskを含む、複雑なワーク階層を管理します。コミット、テスト実行、またはリンティング結果などのエビデンスが検証された場合にのみ、作業が完了としてマークされることを保証します。
タスク管理に加えて、このMCP serverはNexusシンボルグラフとBRAINメモリシステムを通じてプロジェクトのインテリジェンスを維持します。このメモリレイヤーは、エージェントがコンテキストを失うのを防ぐために、異なるセッションにわたる観察結果や決定事項を保存します。また、カノニカルストアを維持し、ドキュメントとコード間のドリフトをチェックすることで、情報の劣化を防ぐための特化したドキュメント管理システムも含まれています。開発者は cleo CLI を使用して、プロジェクトの初期化、セッションの管理、ドキュメントやコードへの影響のクエリを行います。
できること
- 1複雑なタスク階層の管理エージェントはsagaを作成し、それをepicや受け入れ基準を持つ特定のtaskへと分解できます。
- 2エビデンスによるタスク完了の検証CIやテスト実行などの特定のゲートが証明された場合にのみ、タスクをクローズするように開発者が制御できます。
- 3長期的なプロジェクトメモリの維持AIクライアントは、将来のセッションで取得できるように、観察結果や学習した教訓を記録できます。
- 4コードの影響範囲と依存関係の分析開発者はNexusツールを使用して、編集を行う前にシンボルの影響範囲(blast radius)を理解できます。
- 5ドキュメントのドリフト防止コードの変更によってドキュメントが古くなった場合に、システムがそれを特定できます。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
CLEO MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加Claude CodeにCLEO MCPをインストール
$ claude mcp add cleo -- npx -y @cleocode/cleoCursorにCLEO MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"cleo": {
"command": "npx",
"args": [
"-y",
"@cleocode/cleo"
]
}
}
}VS CodeにCLEO MCPをインストール
.vscode/mcp.json
{
"servers": {
"cleo": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cleocode/cleo"
]
}
}
}VS Code CLIにCLEO MCPをインストール
$ code --add-mcp '{"name":"cleo","type":"stdio","command":"npx","args":["-y","@cleocode/cleo"]}'Claude DesktopにCLEO MCPをインストール
claude_desktop_config.json
{
"mcpServers": {
"cleo": {
"command": "npx",
"args": [
"-y",
"@cleocode/cleo"
]
}
}
}CodexにCLEO MCPをインストール
$ codex mcp add cleo -- npx -y @cleocode/cleoCodex config.tomlにCLEO MCPをインストール
~/.codex/config.toml
[mcp_servers.cleo] command = "npx" args = ["-y", "@cleocode/cleo"]
Gemini CLIにCLEO MCPをインストール
$ gemini mcp add -s user cleo npx -- -y @cleocode/cleoGemini settings.jsonにCLEO MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"cleo": {
"command": "npx",
"args": [
"-y",
"@cleocode/cleo"
]
}
}
}設定
CLEO_PROJECT_DIRPath to CLEO project directory (must contain .cleo/ folder)
| 名前 | 説明 | 種類 |
|---|---|---|
| CLEO_PROJECT_DIR | Path to CLEO project directory (must contain .cleo/ folder) |
自動チェック
実行日 2026年11月12日完全なレポート →自動チェックに合格しました。これはセキュリティ監査ではありません。コードを読み、サーバーに必要最小限のアクセス権を与えてください。 チェックの仕組み
- ソースリポジトリがリンクされており、アクセス可能合格
- オープンソースライセンス (OSI)合格
- 過去1年以内にコミットまたはリリースあり合格
- パッケージ名が有名なパッケージに酷似していない合格
- リモートエンドポイントがHTTPSを使用未チェック
- 破壊的なツールがラベル付けされている未チェック
- モデルへの隠れた指示がない合格
- パッケージおよびその依存関係に重大な勧告なし合格
README
GitHubで見るCLEO
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
| Area | What you get | Start with |
|---|---|---|
| Tasks | Sagas, epics and tasks with acceptance criteria, dependencies and ready waves; sessions that survive interruptions | cleo add, cleo next, cleo focus <id> |
| Evidence | A task is done only when its gates are proven: commits and files, CI or test runs, lint and typecheck, linked to each acceptance criterion | cleo done <id> --plan |
| Pull requests | A PR names its tasks (Closes: T#### AC1,AC2); an independent reviewer records a verdict per criterion; merging on green CI closes the task |
cleo done --from-merge <pr> --dry-run, cleo review packet |
| Docs | One canonical home per doc, stable names, published mirrors and drift checks (see below) | cleo docs query, cleo docs update |
| Memory (BRAIN) | Observations, decisions and lessons kept across sessions and searchable | cleo memory observe, cleo memory find, cleo briefing |
| Code intelligence (Nexus) | A symbol graph of your repo: callers, blast radius, impact before you edit | cleo nexus analyze, cleo nexus impact <symbol> |
| Release | One command tags the newest commit on main with green CI and publishes from changesets | cleo release cut <version> --dry-run |
Run cleo <command> --help for the full flags of any command.
Quick start
npm install -g @cleocode/cleo
cd your-project
cleo init
cleo session start --scope global --name "first session"
# Work is a tree: a saga at the root, epics under it, tasks under those.
cleo saga create --title "Ship the auth hardening" --acceptance "login is rate limited|sessions expire"
cleo add "Auth hardening" --type epic --parent T001 --acceptance "rate limit shipped|session expiry shipped"
cleo add "Rate-limit the login endpoint" --parent T002 \
--acceptance "returns 429 after 5 failed attempts|a test covers the limit"
cleo next # what to work on
cleo focus T003 # identity, blockers, docs and memory for one task
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:
| Package | Purpose |
|---|---|
@cleocode/cleo |
The cleo command-line interface |
@cleocode/core |
The SDK: tasks, sessions, evidence, docs, memory, orchestration, release |
@cleocode/contracts |
Shared types and operation contracts |
@cleocode/lafs |
The JSON envelope format every call returns |
@cleocode/nexus |
Code intelligence and the cross-project registry |
@cleocode/caamp |
Provider registry and agent package management |
@cleocode/adapters |
Provider adapters (Claude Code, Codex, Cursor, Gemini, Kimi, OpenCode and more) |
@cleocode/skills |
The ct-* skills that teach agents how to use CLEO |
@cleocode/cant |
The CANT agent-definition language |
Development
Requires Node.js >= 24.16.0 and pnpm.
git clone https://github.com/kryptobaseddev/cleo.git
cd cleo
pnpm install
pnpm run build
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
CLEO MCPのよくある質問
CLEO MCPをClaude Codeに追加するには
ターミナルでclaude mcp add cleo -- npx -y @cleocode/cleoを実行します。すべてのプロジェクトで利用するには--scope userを追加します。
CLEO MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
ドキュメントの陳腐化を防ぐために、CLEOはどのようにドキュメントを処理しますか?
CLEOは信頼できる唯一の情報源としてカノニカルストアを使用し、ミラー間の比較を行うドリフトチェックを提供することで、コードの変更と同期が取れなくなったドキュメントを特定します。
CLEOではタスクの完了はどのように検証されますか?
コミット、テスト実行、またはリンティング結果などのエビデンスが、特定の受け入れ基準に照らして証明された場合にのみ、タスクは完了したとみなされます。
CLEOはどのようなコードインテリジェンスを提供しますか?
CLEOはNexusと呼ばれるシンボルグラフを備えており、エージェントが呼び出し元、影響範囲(blast radius)、および編集による影響を分析することを可能にします。