# kilo-kit-mcp

> kilo-kit-mcp is an open-source MCP server for ai models and llm tooling. MCP server that adds workflow gates, memory and guarded file tools to AI coding agents. It is available on CLI, Self-hosted, macOS, Linux and Windows.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted, macOS, Linux, Windows
- **Website:** https://glama.ai/mcp/servers/VoDaiLocz/kilo-kit-mcp/
- **Repository:** https://github.com/vodailocz/kilo-kit-mcp
- **GitHub stars:** 28
- **License:** Apache-2.0
- **Categories:** [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

Kilo-Kit runs as a local MCP server that sits between a coding assistant and a codebase. Instead of letting an agent edit files freely, it routes each task through staged gates: it recalls past lessons from a local SQLite store, asks for a reasoning step with alternative approaches, and only then allows writes and commands through session-gated tools.

The server bundles 24 tools covering skill lookup, persistent project facts, reflections saved after a session, circuit-breaker telemetry that halts repeated failing actions, and safe read, search, edit and command execution limited to the workspace. A library of 180 engineering, security, DevOps and productivity workflow files can be searched and loaded on demand.

It suits developers who already use an MCP-capable editor or CLI agent and want tighter control over how it changes code, along with memory that carries decisions across sessions.

## Features

- **Staged task gating:** Tasks are classified into four tiers, with heavier planning and approval required for riskier changes.
- **Local persistent memory:** Facts, reflections and session data are stored in SQLite and searched with BM25 ranking.
- **Guarded file operations:** Writes and commands require an active session, and edits are checked for syntax before saving.
- **Loop detection:** A circuit breaker stops execution after repeated identical actions and can be reset with a stated reason.
- **Curated skill library:** 180 reusable workflow files cover engineering, security, DevOps and problem-solving topics.
- **Output truncation:** Long command output is shortened while keeping error lines and final stack traces, with full logs saved to disk.

## Good for

- Keeping an AI coding agent from editing files it has not read
- Stopping an agent that keeps retrying the same failing fix
- Carrying architectural decisions and lessons between coding sessions
- Loading a vetted test-driven development or code review workflow into an agent
- Reducing token use from long test logs and terminal output

## Tools

From the tool list in its README, going by the names, 3 of 24 tools change data; 15 names don't say. From the server's own tool labels and tool names; not verified by us.

- `kilo_orchestrate_task`: Enforces C4 lifecycle gates and 4-tier task classification.
- `kilo_route_intent`: Routes intent to optimal workflow chains and task modes.
- `kilo_get_skill` (name suggests: reads): Loads curated SKILL.md workflows with fuzzy alias resolution.
- `kilo_search_skills` (name suggests: reads): High-precision keyword and semantic search across 180 skills.
- `kilo_memory_report`: Inspects stored SQLite facts, reflections, and session state.
- `kilo_remember_fact`: Pins immutable architectural guidelines and ADRs into SQLite.
- `kilo_record_reflection`: Persists session lessons and indexes successes into BM25.
- `kilo_validate_skills` (name suggests: reads): Audits skill catalog for schema and structure conformance.
- `kilo_think_step`: Tree-of-Thoughts DAG reasoning with 3-option trade-off matrix.
- `kilo_grill_plan`: Adversarial Red-Team stress testing (inversion & simplification).
- `kilo_trace_root_cause`: 5-Whys diagnostic engine with recursive causal back-propagation.
- `kilo_triangulate_research`: Grounded synthesis combining memory, GitHub context, and DAGs.
- `kilo_compact_context`: Compresses conversation state by 40-70% while locking invariants.
- `kilo_synthesize_skill`: Distills complex resolved patterns into new reusable skills.
- `kilo_sentinel_status` (name suggests: reads): Inspects circuit breaker state, grounded files, and step budget.
- `kilo_reset_circuit_breaker`: Resets tripped circuit breaker with mandatory causal explanation.
- `kilo_benchmark_solution`: Audits solution trajectory against established industry patterns.
- `kilo_read_file` (name suggests: reads): Safe reading with line slicing, size capping, and boundary checks.
- `kilo_write_file` (name suggests: changes): Atomic write protected by Grounding Lock, code smell & secret checks.
- `kilo_edit_file` (name suggests: changes): AST-aware target replacement with bracket & syntax validation.
- `kilo_run_command` (name suggests: changes): Guarded command execution with security filters and 20/80 truncation.
- `kilo_search_files` (name suggests: reads): High-speed glob pattern searching across workspaces.
- `kilo_grep_code`: Line-by-line regex and pattern matching across repositories.
- `kilo_route_report`: Telemetry report on routing confidence, skill selection, and weights.

## FAQ

### Which clients can use Kilo-Kit?

The README lists configuration for Cursor, GitHub Copilot, Claude Code and Desktop, Windsurf, Gemini CLI and OpenCode.

### How is kilo-kit-mcp installed?

It can be run with npx using the package name @vodailocz/kilo-kit-mcp, or installed globally with npm and configured with kilo-kit-setup.

### Where is memory stored?

Memory is kept in a local SQLite database rather than on a remote service.

### What license is kilo-kit-mcp under?

It is distributed under the Apache 2.0 License.

### Does kilo-kit-mcp require Node.js?

The doctor check requires Node.js 20.0.0 or later.

### Is kilo-kit-mcp free?

Yes. kilo-kit-mcp is open source, so you can use and self-host it for free.

### What are the best alternatives to kilo-kit-mcp?

The closest alternatives to kilo-kit-mcp are mcp-injector, MCP Probe Kit, mcp-server-toolkit, Imperal MCP and MCP As A Judge.

## Where this comes from

- Description: written from the project's README and the project's website.

## Alternatives

- [mcp-injector](https://ai-powered.com/mcp/mcp-injector): mcp-injector is a freemium MCP server for ai models and llm tooling.
- [MCP Probe Kit](https://ai-powered.com/mcp/mcp-probe-kit): MCP Probe Kit is an open-source MCP server for developer tools.
- [mcp-server-toolkit](https://ai-powered.com/mcp/mcp-server-toolkit): mcp-server-toolkit is an open-source MCP server for developer tools.
- [Imperal MCP](https://ai-powered.com/mcp/imperal-mcp): Imperal MCP is a freemium MCP server for developer tools.
- [MCP As A Judge](https://ai-powered.com/mcp/mcp-as-a-judge): MCP As A Judge is an open-source MCP server for developer tools.
- [Dev Workflow MCP Server](https://ai-powered.com/mcp/dev-workflow-mcp-server): Dev Workflow MCP Server is an open-source MCP server for developer tools.
- [pmcp](https://ai-powered.com/mcp/pmcp-3): pmcp is an open-source MCP server for developer tools.
- [Kodelyth ECC](https://ai-powered.com/mcp/kodelyth-ecc): Kodelyth ECC is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/kilo-kit-mcp
