
Product
Microsoft Teams Notifications Are Now Available in Socket
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.
@cleocode/mcp-server
Advanced tools
CLEO MCP Server - 2-gateway CQRS interface for CLEO task management
2-gateway CQRS interface for CLEO task management protocol
📚 Quick Start | Usage Guide | Workflows | API Docs
CLEO MCP Server exposes CLEO's CLI and library capabilities through two gateway tools using a CQRS (Command Query Responsibility Segregation) pattern:
cleo_query - query operations (read-only)cleo_mutate - mutate operations (state-changing)Current implementation operation matrix is maintained in:
src/gateways/query.ts (EXPECTED_QUERY_COUNT=56)src/gateways/mutate.ts (EXPECTED_MUTATE_COUNT=51)Total implemented operations: 111 (core contract plus parity extensions).
Token efficiency: 2 tools (~1,800 tokens) vs 65 tools (~32,500 tokens) = 94% reduction
npm install @cleocode/mcp-server
CLEO's CLI auto-detects your installed AI tools and writes configs:
cleo mcp-install # Interactive: detect and configure
cleo mcp-install --all # Non-interactive: configure all detected tools
cleo mcp-install --dry-run # Preview changes without writing
Supported tools (12): Claude Code, Claude Desktop, Cursor, Gemini CLI, Kimi, Antigravity, Windsurf, Goose, OpenCode, VS Code, Zed, Codex
See cleo mcp-install --help for all options.
Add to your tool's MCP config:
{
"mcpServers": {
"cleo": {
"command": "npx",
"args": ["-y", "@cleocode/mcp-server"]
}
}
}
| Tool | Config Location |
|---|---|
| Claude Code | .mcp.json (project root) |
| Claude Desktop | claude_desktop_config.json (OS-specific) |
| Cursor | ~/.cursor/mcp.json |
| Gemini CLI | ~/.gemini/settings.json |
| VS Code | .vscode/mcp.json (key: servers) |
| Zed | ~/.config/zed/settings.json (key: context_servers, JSONC) |
| OpenCode | ~/.config/opencode/.opencode.json (key: mcp, array command, JSONC) |
| Goose | .goose/config.yaml (YAML format) |
| Codex | ~/.codex/config.toml (TOML format) |
Goose YAML config example:
# .goose/config.yaml
extensions:
cleo:
args:
- -y
- '@cleocode/mcp-server'
cmd: npx
enabled: true
name: cleo
type: stdio
For local development installs:
{
"mcpServers": {
"cleo": {
"command": "node",
"args": ["/path/to/cleo-todo/mcp-server/dist/index.js"]
}
}
}
// Find tasks
await cleo_query({
domain: "tasks",
operation: "find",
params: { query: "authentication" }
});
// Create task
await cleo_mutate({
domain: "tasks",
operation: "create",
params: {
title: "Implement authentication",
description: "Add JWT-based auth system",
priority: 1
}
});
// Complete task
await cleo_mutate({
domain: "tasks",
operation: "complete",
params: {
taskId: "T2405",
notes: "Completed successfully"
}
});
// Start session
await cleo_mutate({
domain: "session",
operation: "start",
params: {
scope: "epic:T2400",
name: "Feature Development",
autoFocus: true
}
});
// Set focus
await cleo_mutate({
domain: "session",
operation: "focus.set",
params: { taskId: "T2405" }
});
// Initialize orchestration
await cleo_mutate({
domain: "orchestrate",
operation: "startup",
params: { epicId: "T2400" }
});
// Generate spawn prompt
await cleo_mutate({
domain: "orchestrate",
operation: "spawn",
params: {
taskId: "T2405",
skill: "ct-task-executor"
}
});
Create .cleo/config.json in your project:
{
"mcp": {
"enabled": true,
"transport": "stdio",
"features": {
"queryCache": true,
"queryCacheTtl": 30000,
"auditLog": true,
"strictValidation": true
}
},
"lifecycleEnforcement": {
"mode": "strict",
"allowSkip": ["consensus"]
}
}
CLEO enforces the RCSD-IVTR lifecycle pipeline:
Research → Consensus → Specification → Decomposition
↓
Implementation → Validation → Testing → Release
Exit codes 60-70 indicate protocol violations:
All responses include actionable error information:
{
"success": false,
"error": {
"code": "E_VALIDATION_FAILED",
"exitCode": 6,
"message": "Title and description must be different",
"fix": "Provide a unique description",
"alternatives": [
{
"action": "Use generated description",
"command": "..."
}
]
}
}
.cleo/ directory must exist# Install dependencies
npm install
# Build
npm run build
# Watch mode
npm run dev
# Test
npm test
# Lint
npm run lint
MIT License - see LICENSE file for details.
Built by the CLEO Development Team for solo developers and AI coding agents.
FAQs
CLEO MCP Server - 2-gateway CQRS interface for CLEO task management
The npm package @cleocode/mcp-server receives a total of 0 weekly downloads. As such, @cleocode/mcp-server popularity was classified as not popular.
We found that @cleocode/mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.

Security News
Socket CTO Ahmad Nassri joins AppSec leaders at Black Hat to discuss active malware, package manager risks, and software supply chain defense.