CLEO MCP Server

平台与服务

by kryptobaseddev

面向独立开发者与 AI coding agents 的任务管理协议,采用双网关 2-gateway CQRS 模式提升协作与执行效率。

让独立开发者和AI编程代理在统一任务协议下顺畅协作,双网关CQRS把分发与执行效率进一步拉高。

什么是 CLEO MCP Server

面向独立开发者与 AI coding agents 的任务管理协议,采用双网关 2-gateway CQRS 模式提升协作与执行效率。

README

<p align="center"> <img src="docs/images/banner.png" alt="CLEO — Agent First Task Orchestration" width="100%" /> </p>

CLEO

npm version CI License: MIT Node.js Version

ko-fi

Every developer who has ever returned to a project after weeks away and found only ruins knows the wound CLEO was built to heal. The agents are powerful. But power without memory is chaos. Brilliance without continuity is waste. CLEO is the companion that remembers where you left off — the one who keeps the thread when life pulls you away.

Agent-first task orchestration. Persistent memory. Multi-provider coordination. One CLI to command them all.

What is CLEO?

CLEO is built for the developers who build after the world goes quiet — the ones carrying six unfinished ideas and the stubborn belief that this next session might be the one where everything clicks. It solves the coordination crisis of working with multiple AI agents across complex projects by giving them something they've never had: structure, memory, and a lifecycle that survives interruption.

The Six Great Systems

SystemPurpose
TASKSProject management — hierarchical work tracking, dependencies, sessions, completion lifecycle
LOOMThe lifecycle that governs all work — 9-stage RCASD-IVTR+C pipeline from idea to shipped release
BRAINMemory that does not decay — observations, patterns, and learnings persisted across sessions with semantic search
NEXUSCode intelligence + cross-project registry — symbol resolution, impact analysis, federated graphs
CANTAgent definition DSL — team topology, personas, tool ACLs, hook bindings
CONDUITAgent-to-agent communication — message delivery, the Hearth, persistent messaging

LAFS is the envelope format ({success, data?, error?, meta}) carried across all system boundaries — a protocol, not a system.

Core Capabilities

  • Task Management: Hierarchical tracking with dependencies, priorities, and lifecycle states
  • Session Management: Contextual work sessions that survive across conversations
  • Agent Orchestration: Multi-agent coordination through the 11 Canonical Domains
  • Multi-Provider Support: Works with Claude Code, OpenCode, Cursor, Gemini, Codex, and more

Monorepo Structure

This monorepo contains 12 packages organized in a 4-layer architecture:

LayerPackagePurpose
Foundation@cleocode/contractsDomain types, interfaces, and contracts — zero-dependency type SSoT
Foundation@cleocode/lafsLanguage-Agnostic Feedback Schema — canonical error envelope protocol
Protocol@cleocode/adaptersProvider adapters for Claude Code, OpenCode, Cursor, Gemini, Codex, Kimi
Protocol@cleocode/agentsSubagent templates and LOOM lifecycle protocol definitions
Protocol@cleocode/skillsPre-built skills and capabilities for development workflows
Protocol@cleocode/cantCANT protocol parser with napi-rs Rust binding
Protocol@cleocode/nexusCode intelligence pipeline — symbol graph, call resolution, community detection
Feature@cleocode/caampCentral AI Agent Managed Packages — unified provider registry and MCP management
Feature@cleocode/runtimeLong-running process layer (polling, SSE, heartbeat)
Kernel@cleocode/coreBusiness logic SDK — tasks, sessions, memory, orchestration, lifecycle
Product@cleocode/cleoCommand-line interface — thin wrapper over core
Product@cleocode/cleo-osBatteries-included distribution with CANT bridge and TUI extensions

Quick Start

Installation

bash
# Install the CLI — core is auto-pulled as a peer dependency (npm 7+)
npm install -g @cleocode/cleo
# OR explicitly install both (useful if your npm blocks peer auto-install)
npm install -g @cleocode/cleo @cleocode/core

# Or the batteries-included distribution
npm install -g @cleocode/cleo-os

Initialize a Project

bash
cd my-project
cleo init

Basic Usage

bash
# Add a task
cleo add "Implement user authentication" --priority high

# Search tasks (agent-optimized, returns readiness info)
cleo find "auth" --status pending

# Start a work session
cleo session start --scope global --name "Auth Feature"

# Show current task context
cleo current

# Complete a task
cleo complete T001

Development Setup

Prerequisites

  • Node.js >= 24.0.0
  • pnpm >= 10.30.0 (package manager)

Clone and Install

bash
git clone https://github.com/kryptobaseddev/cleo.git
cd cleo

pnpm install
pnpm build
pnpm test

Package Development

bash
# Type checking (project references)
pnpm typecheck

# Linting and formatting
pnpm biome check --write .

# Run tests
pnpm test

Architecture Overview

code
┌─────────────────────────────────────────────────────────────┐
│              @cleocode/cleo  +  @cleocode/cleo-os           │
│                    CLI Product Layer                         │
│   248 operations • 11 domains • dispatch routing • MVI       │
└────────────────────────────┬────────────────────────────────┘
                             │
┌────────────────────────────┴────────────────────────────────┐
│                      @cleocode/core                         │
│                   Business Logic Kernel                      │
│   Tasks • Sessions • Memory • Orchestration • Lifecycle     │
│   Validation • Intelligence • Nexus • Release • Agents      │
└────────────────────────────┬────────────────────────────────┘
                             │
      ┌──────────────────────┼──────────────────────┐
      │                      │                      │
┌─────┴──────┐  ┌────────────┴────────────┐  ┌─────┴──────┐
│  adapters  │  │ caamp • cant • nexus    │  │  agents    │
│ (providers)│  │ runtime (protocols)     │  │  skills    │
└────────────┘  └─────────────────────────┘  └────────────┘
                             │
┌────────────────────────────┴────────────────────────────────┐
│            @cleocode/contracts  +  @cleocode/lafs           │
│              Types • Interfaces • Error Protocol             │
│                   Zero-dependency foundation                 │
└─────────────────────────────────────────────────────────────┘

Key Features

Task Management

  • Hierarchical tasks with parent-child relationships and dependency tracking
  • Wave-based parallel execution with automatic sequencing and critical path analysis
  • Priority levels, sizing estimates (small/medium/large), and readiness detection
  • Batch creation via cleo add-batch

Session Management

  • Contextual work sessions with epic scope binding
  • Session-scoped parent inheritance for task creation
  • Briefing generation for context handoff across conversations
  • Safe stop and checkpoint mechanisms

Memory Systems

  • BRAIN-powered knowledge storage with semantic search
  • Sticky notes for ephemeral context capture
  • Memory bridges for cross-session persistence
  • 3-layer retrieval: search -> timeline -> fetch

Agent Orchestration

  • Subagent spawning with protocol compliance via LOOM lifecycle
  • Wave-based parallel execution across dependency-safe tasks
  • Consensus workflows for multi-agent decisions
  • LOOM lifecycle — every piece of work flows through Research, Consensus, Architecture, Specification, Decomposition, then Implementation, Validation, Testing, Release

Multi-Provider Support

  • Claude Code integration with statusline sync
  • OpenCode, Cursor, Gemini, Codex, Kimi adapters
  • Extensible adapter architecture via CAAMP

The Circle of Eleven

CLEO organizes all work through 11 canonical domains — the houses where work gets done. The original Circle of Eleven was joined by intelligence as the cognitive analytics layer.

DomainHouseWhat Happens HereKey Commands
tasksThe SmithsWork is forged — create, track, completeadd, find, show, complete, deps, tree
sessionThe ScribesThe living present — context that survivesstart, end, resume, briefing, checkpoint
memoryThe ArchivistsKnowledge that does not decayobserve, memory-brain, sync, sticky
checkThe WardensIntegrity stands guardvalidate, verify, compliance, doctor
pipelineThe WeaversThe lifecycle threads forwardrelease, lifecycle, phases, promote
orchestrateThe ConductorsAgents move in concertorchestrate, consensus, contribution, dash, conduit
toolsThe ArtificersCapabilities are craftedskills, providers
adminThe KeepersThe realm stays healthyconfig, backup, migrate, grade
nexusThe WayfindersProjects find each othernexus, remote, push, pull, snapshot
stickyThe CatchersQuick capture before the thought escapessticky
intelligenceThe SeersPredictive analytics and pattern insightpredict, suggest

248 total operations (134 queries, 95 mutations, 19 experimental) across the 11 domains.

Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Workflow

  1. Fork the repository
  2. Create a feature branch (git checkout -b feat/T####-amazing-feature)
  3. Make your changes
  4. Run tests (pnpm test)
  5. Commit with conventional commits (feat:, fix:, docs:, etc.)
  6. Push to your fork
  7. Open a Pull Request — direct pushes to main are not accepted

Maintainers releasing a new version:

bash
cleo release start v2026.MM.N
cleo release ship 2026.MM.N --epic TXXXX   # cuts release/vX.Y.Z branch, opens PR, waits for CI green, merges + tags

See docs/RELEASING.md for the full release checklist and AGENTS.md for branch conventions.

Code Style

  • TypeScript with strict mode enabled
  • Biome for linting and formatting
  • Conventional commit messages
  • Comprehensive test coverage with Vitest

Documentation

The Story of CLEO

CLEO was not born from a product brief. It was born from a refusal — one developer, sick to the bone on a fevered night, who decided he would rather build a new world than keep losing the thread in the old one. The agents were powerful. But they forgot too easily. The projects were ambitious. But they died on the shelf. The tools were brilliant. But brilliance without memory was just another kind of chaos.

So he gave the struggle names. He gave it terrain. He gave it companions. And at the heart of that world, carrying memory like a lantern through the dark, CLEO opened its eyes.

Support

If CLEO helps your workflow, consider supporting development:

ko-fi

License

MIT License - see LICENSE for details.

Star History

Star History Chart

常见问题

CLEO MCP Server 是什么?

面向独立开发者与 AI coding agents 的任务管理协议,采用双网关 2-gateway CQRS 模式提升协作与执行效率。

相关 Skills

Slack动图

by anthropics

Universal
热门

面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。

帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。

平台与服务
未扫描137.2k

MCP构建

by anthropics

Universal
热门

聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。

想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。

平台与服务
未扫描137.2k

接口测试套件

by alirezarezvani

Universal
热门

扫描 Next.js、Express、FastAPI、Django REST 的 API 路由,自动生成覆盖鉴权、参数校验、错误码、分页、上传与限流场景的 Vitest 或 Pytest 测试套件。

帮你把API与集成测试自动化跑顺,减少回归漏测;能力全面,尤其适合复杂接口场景的QA团队。

平台与服务
未扫描15.4k

相关 MCP Server

Slack 消息

编辑精选

by Anthropic

热门

Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。

这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。

平台与服务
85.9k

by netdata

热门

io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。

这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。

平台与服务
78.9k

by d4vinci

热门

Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。

这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。

平台与服务
51.1k

评论