# VoDaiLocz/kilo-kit-mcp [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/VoDaiLocz/kilo-kit-mcp  
**GitHub Stars:** 28  
**npm Downloads (last month):** 91  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/vodailocz-kilo-kit-mcp

## Description
Runtime and skill library for coding agents: C4 workflow gates, guarded command execution and reasoning engines like Tree of Thoughts and 5 Whys.

## Tools
Capabilities this server exposes over MCP:

- **kilo_orchestrate_task** — MANDATORY: Call this tool FIRST before diagnosing, debugging, analyzing, creating, or modifying any code, UI, backend, or project files. Determines task mode, selects required workflow skills, enforces brainstorming gating, and orchestrates the execution flow.
- **kilo_memory_report** — Read global C4 memory facts, decisions, and recent suggestions.
- **kilo_record_reflection** — Record correct approaches, wrong paths/pitfalls encountered, skill ratings, and lessons learned into SQLite to drive Kilo-Kit's continuous self-improvement across sessions.
- **kilo_remember_fact** — Explicitly persist a project operating rule, workflow default, or verification standard into SQLite memory_facts for cross-session enforcement.
- **kilo_search_skills** — Search the Kilo-Kit skill library by natural-language query. Use this for broad discovery before loading a specific skill.
- **kilo_get_skill** — Load a Kilo-Kit skill by name or category/skill. Supports fuzzy aliases (e.g. 'brainstorming', 'diagnose', 'playwright', 'tdd', 'productivity/brainstorming').
- **kilo_route_intent** — Recommend the best Kilo-Kit skills for any user request, bug fix, feature, UI task, or coding issue. Call before selecting or executing a workflow skill.
- **kilo_route_report** — Summarize route telemetry: top skills, task modes, workflow chains, score averages, and conflict penalties.
- **kilo_validate_skills** — Run the Kilo-Kit skill validator and return a concise quality-gate summary. This is read-only and does not modify files.
- **kilo_read_file** — Read file content safely across workspace boundaries (supports line ranges and byte capping up to 512KB).
- **kilo_search_files** — Search for files matching a pattern, substring, or glob across the workspace.
- **kilo_grep_code** — Search code snippets and matching lines across workspace files.
- **kilo_write_file** — Create a new file or overwrite an existing file. PROTOCOL HARD-GATE: Requires valid sessionId in 'ready' state.
- **kilo_edit_file** — Perform exact targeted search-and-replace edit on an existing file with AST check. PROTOCOL HARD-GATE: Requires valid sessionId in 'ready' state.
- **kilo_run_command** — MANDATORY: Execute a terminal command with security guardrails and timeout. Use this INSTEAD OF native Bash/terminal tools. PROTOCOL HARD-GATE: Requires valid sessionId in 'ready' state.
- **kilo_think_step** — Iterative step-by-step reasoning engine with hypothesis tracking, revision, and solution branching.
- **kilo_grill_plan** — Automated adversarial stress-testing against Inversion, Simplification Cascades, Blast Radius, and Edge-cases.
- **kilo_trace_root_cause** — Recursive causal backward-propagation analysis from crash log to the underlying systemic root cause.
- **kilo_compact_context** — Compacts verbose logs, test dumps, and noisy output by 40-70% while preserving architectural invariants.
- **kilo_synthesize_skill** — Distill a newly solved architectural pattern or bugfix methodology into a reusable, validated SKILL.md.
- **kilo_sentinel_status** — Inspect real-time Sentinel supervisor telemetry: Circuit breaker state, step budget, failure streaks, and grounded files list.
- **kilo_reset_circuit_breaker** — Reset an open Circuit Breaker with justification and root-cause evidence. Transitions breaker to HALF_OPEN.
- **kilo_benchmark_solution** — Audit the current session trajectory against open-source GitHub standards and industry best practices. Returns alignment score or triggers re-planning.
- **kilo_triangulate_research** — Execute Triangulated Cognitive Synthesis: Combines Internal SQLite Memory, External GitHub Grounding, 3-Option ToT DAG Trade-Offs, and Low-Confidence Research Escalation. Persists reasoning atomically into SQLite before code modification.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "kilo-kit-mcp": {
    "command": "npx",
    "args": ["-y","@vodailocz/kilo-kit-mcp"]
  }
}
```

## Documentation

## What VoDaiLocz/kilo-kit-mcp does

VoDaiLocz/kilo-kit-mcp provides a supervised runtime and skill library for AI coding agents. Its design separates cognitive workflows, supervisor controls, and file or command execution. Coding tasks are routed through a five-stage C4 process: grounded probing, cognitive reasoning, plan approval and skill selection, guarded execution, and empirical verification with reflection.

The server maintains cross-session knowledge in SQLite. Facts, decisions, reflections, workflow defaults, and verification standards can be stored and retrieved for later tasks. Its skill catalog supports natural-language discovery, intent routing, fuzzy skill lookup, validation, and creation of reusable skills from solved problems.

## How it works

The main entry point is `kilo_orchestrate_task`, which determines the task mode, selects workflow skills, applies brainstorming gates, and coordinates the execution sequence. Supporting routing tools recommend skills or summarize route telemetry, while memory tools retrieve or persist project knowledge.

Execution is guarded by session and supervisor state. File writes and targeted edits require a valid session in the `ready` state. The write tool creates or replaces files; the edit tool performs an exact search-and-replace operation with an AST check. Terminal work goes through `kilo_run_command`, which applies security guardrails and a timeout instead of relying on a native terminal tool.

The reasoning tools support iterative hypothesis tracking, three-option trade-off exploration, adversarial plan checks, recursive root-cause analysis, and compacting noisy logs while retaining important diagnostic details. Sentinel tools expose circuit-breaker status, step budgets, failure streaks, and grounded files; a reset operation can move an open breaker to `HALF_OPEN` when supplied with justification and root-cause evidence.

## Setup and configuration

The package can be started without a global installation:

```bash
npx @vodailocz/kilo-kit-mcp setup
```

For a globally installed local command, use:

```bash
npm install -g @vodailocz/kilo-kit-mcp
kilo-kit-setup --local
```

The setup command detects and configures installed IDEs. The local MCP command is `kilo-kit-mcp`. Kilo-Kit requires Node.js 20 or newer. Its documented client configuration uses stdio with the command `kilo-kit-mcp`; examples are provided for Cursor, GitHub Copilot, Claude Code, and Claude Desktop.

Run `kilo-kit-doctor` to check the runtime, command availability, SQLite persistence, indexed skills, client configuration, and MCP tool registration.

## Tools and capabilities

- Orchestrate tasks through mandatory workflow gates.
- Route requests to skills and load skills by name, category, or fuzzy alias.
- Search, validate, and synthesize skills.
- Read files, search paths, grep code, write files, and perform AST-checked edits.
- Run guarded terminal commands with timeouts.
- Store facts and reflections in SQLite-backed memory and retrieve memory reports.
- Track Sentinel state, circuit-breaker conditions, step budgets, and grounded files.
- Apply Tree-of-Thoughts-style reasoning, adversarial plan review, root-cause tracing, and log compaction.
- Benchmark a session against open-source and industry practices or perform triangulated research using memory, GitHub grounding, and trade-off analysis.

## Limitations and notes

Write, edit, and command operations depend on a valid `ready` session. The orchestration tool is intended to run before diagnosing, analyzing, creating, or modifying code and project files. The server’s workflow can halt repeated actions or failures through its circuit breaker, requiring a supervised reset and supporting evidence before execution resumes. File reads are capped at 512 KB and support line ranges; command output can be compacted to reduce diagnostic noise.

_Full upstream README: https://allmcps.com/mcp/vodailocz-kilo-kit-mcp/readme_

