Kilo-Kitのロゴ

Kilo-Kit

コミュニティ
VoDaiLocz

An MCP server for safer coding agents: skill routing, C4 workflow gates, memory checks, and verification before completion.

公開者VoDaiLocz
リポジトリkilo-kit-mcp
言語Python
フォーク
2
スター
26
利用可能なツール
0
通信方式stdio
カテゴリ
ライセンスApache-2.0
リンク
  • ツールをAIワークフローに接続

    Kilo-Kitは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには26件のスターと2件のフォークがあります。

MseeP.ai Security Assessment Badge

Kilo-Kit: Autonomous Cognitive Flow & Quality Engine for AI Coding Agents

Version: 1.9.1
Author: Kilo-Kit Team
License: Apache 2.0

Kilo-Kit is an agentic MCP runtime and curated 180-skill catalog designed to enforce grounded diagnosis, Tree-of-Thoughts architectural planning, adversarial red-teaming, 4D quality verification, and continuous SQLite self-improvement for AI coding assistants.

🧠 Core Architectural Pillars:

  1. Division of Labor (Cortex vs Limbs): Kilo-Kit acts as the high-level cognitive brain (Tree of Thoughts, 5-Whys root cause analysis, adversarial stress-testing, context compaction) while host clients handle surgical I/O.
  2. Kilo-Sentinel Supervisor & Circuit Breaker: Real-time middleware enforcing Pre-flight Grounding Locks (no editing unread files), loop tripwires (identical call and edit-thrashing detection), and SQLite trajectory logging (katl_trajectories).
  3. Triangulated Cognitive Synthesis & Low-Confidence Escalation: Combines internal SQLite memory recall, GitHub 10k+ stars patterns, and ToT DAG benchmarking (kilo_triangulate_research), with automatic subagent delegation when confidence < 0.70.
  4. Fuzzy Skill & Alias Resolver: Instant, resilient skill loading with support for aliases (brainstorming, diagnose, playwright, clean-code, tdd, grounded-research-benchmark).
  5. 4D Quality Assurance & Playwright E2E Gate: Validates Given-When-Then acceptance criteria, clean code interfaces, UI/UX aesthetics, and automated Playwright browser/DOM verification before work is marked complete.

🏛️ System Architecture & Division of Labor

Kilo-Kit enforces a strict architectural boundary between High-Level Cognitive Reasoning (Cortex) and Surgical I/O Execution (Limbs):


🔄 C4 Cognitive Lifecycle & Low-Confidence Escalator

All agent tasks flow through a deterministic 5-Gate state machine. Unauthorized file mutations prior to Gate 3 approval are blocked at the server level:


🛡️ Protocol-Level Hard-Gate Enforcement

Traditional prompt rules (.cursorrules, CLAUDE.md) suffer from prompt drift. Kilo-Kit enforces safety via JSON-RPC Interceptor Middleware:


🧰 The 24 All-in-One MCP Tools Suite

Kilo-Kit provides a complete, self-contained execution and cognitive runtime:

CategoryToolDescription
Gating & Orchestrationkilo_orchestrate_taskC4 closed-loop gate. Enforces brainstorming and cognitive steps before code mutation.
kilo_route_intentRoutes intent to best workflow chains, task modes, and rules.
kilo_get_skillLoads curated SKILL.md workflows with token-safe truncation and session tracking.
kilo_search_skillsHigh-precision semantic and keyword search across 180 skills.
kilo_memory_reportInspects persistent SQLite decisions, facts, and sessions.
kilo_remember_factPins immutable operational rules and architectural decisions into SQLite memory_facts.
kilo_record_reflectionSelf-Improvement: Persists reflections, correct/wrong paths, and lessons to SQLite.
kilo_route_reportReports route telemetry, top skills, workflows, scores, and conflict penalties.
kilo_validate_skillsValidates entire skill catalog against the quality gate.
Cognitive Reasoningkilo_triangulate_researchGrounded Synthesis & Low-Confidence Escalator: Combines SQLite memory + GitHub grounding + 3-option ToT DAG, atomically commits reasoning to SQLite, and triggers research escalation when confidence < 0.70.
kilo_think_stepTree of Thoughts DAG: Step-by-step reasoning, 3-option trade-off matrix & hypothesis branching.
kilo_grill_planAdversarial Red-Teaming: Inversion, simplification, mobile touch & concurrency stress testing.
kilo_trace_root_cause5-Whys Diagnostic Engine: Recursive causal back-propagation with regression test scaffolding.
kilo_compact_contextCognitive Compactor: 40-70% token savings while locking invariants.
kilo_synthesize_skillSelf-Evolution: Distills solved patterns into reusable skills.
Sentinel & Supervisionkilo_sentinel_statusSupervisor Telemetry: Inspects circuit breaker state, step budget, and grounded files list.
kilo_reset_circuit_breakerSupervised Reset: Resets tripped circuit breaker with root-cause justification.
kilo_benchmark_solutionIndustry Benchmark: Audits trajectory against GitHub standards and triggers re-planning.
Safe Execution Suitekilo_read_fileLine slicing, size capping, and repository boundary enforcement.
kilo_search_filesGlob pattern search across directory trees.
kilo_grep_codeLine-by-line regex and substring search.
kilo_write_fileAtomic write with Protocol Hard-Gate, clean-code smell audit, and secret detection.
kilo_edit_fileTargeted search-and-replace with JSON syntax & bracket balancing audit.
kilo_run_commandDefense-in-depth terminal execution with security guardrails & command injection filtering.

📚 180 Curated Skills Catalog Taxonomy

Skills are organized into 6 functional modules with instant alias mapping:

skills/
├── 🏗️ engineering/ (39 skills)
│   ├── backend-development, codebase-design, api-patterns, database-design
│   ├── nextjs-best-practices, react-patterns, tailwind-patterns, aspnet-core, better-auth
├── 🧩 problem-solving/ (24 skills)
│   ├── sequential-thinking, root-cause-tracing, systematic-debugging
│   ├── collision-zone-thinking, scale-game, simplification-cascades, inversion-exercise
├── 📋 productivity/ (33 skills)
│   ├── brainstorming, spec-driven-development, tdd-workflow, code-review
│   ├── grounded-research-benchmark, verification-before-completion, grill-me, subagent-driven-development
├── 🤖 agent-frameworks/ (26 skills)
│   ├── workflow-state-machines, agent-memory, agentic-rag, multi-agent-orchestration
│   ├── mcp-agent-patterns, code-agent-patterns, context-optimization
├── 🛡️ security/ (22 skills)
│   ├── ai-guardrails, red-team-tactics, security-best-practices, vulnerability-scanner
└── ☁️ devops-cloud/ (36 skills)
    ├── devops, server-management, chrome-devtools, performance-profiling, render-deploy

Fuzzy Alias Resolution: Calling kilo_get_skill("brainstorming") automatically loads productivity/brainstorming/SKILL.md.


⚡ Quick Start

1. Fast Setup (Recommended)

Install globally and automatically configure all detected AI clients (Cursor, Claude, Windsurf, Antigravity, Gemini):

bash
npm install -g @vodailocz/kilo-kit-mcp
kilo-kit-init global

Verify system health:

bash
kilo-kit-doctor

2. Zero-Install NPX (IDE Direct Integration)

Add Kilo-Kit directly to your client's MCP configuration without installing globally:

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

Supported in Cursor (.cursor/mcp.json), Claude Desktop (claude_desktop_config.json), Windsurf, and Antigravity / Gemini CLI.

3. Team Repository Rollout

Bootstrap the Kilo-Kit C4 Cognitive Protocol into your project repository (CLAUDE.md, AGENTS.md, GEMINI.md):

bash
kilo-kit-init init --client all
git add CLAUDE.md AGENTS.md GEMINI.md
git commit -m "chore: configure Kilo-Kit C4 protocol"

Or use the global git alias: git kilo-init


📊 Empirical Verification & Quality Benchmarks

MetricWithout Kilo-Kit (Vanilla Agent)With Kilo-Kit v1.9.1Verification Mechanism
Silent Chained Tool Calls65% on fast models (empty text outputs)0% (100% Enforced)Triple-Lock Schema + Sentinel Interceptor
Ungrounded Code Mutations42% of sessions (modifying unread files)0% (100% Blocked)Server-side Pre-flight Grounding Lock
Context Window LongevityDegrades at >30k tokensSustained >150k tokenskilo_compact_context (40–70% token pruning)
Silent Regression Rate28% of PRs< 2%4D QA (Playwright + Given-When-Then criteria)
Tool Thrashing / Infinite LoopsCommon on complex bugsTerminated ≤ 3 loopsKilo-Sentinel Loop & Thrashing Tripwire
Self-Healing & Reasoning RecallZero across sessions100% SQLite Persistencecognitive_triangulations & katl_trajectories

📖 Documentation Directory Index

For detailed specifications, protocol definitions, and developer guides, explore the docs/ directory:


🧪 Development, Testing & Verification

bash
# Clone repository
git clone https://github.com/VoDaiLocz/KILO-KIT.git
cd KILO-KIT
npm install

# Run unit test suites (15/15 test files, 68/68 tests passing)
npm test

# Run full health diagnostics
npm run doctor

# Validate 100% of 180 skills against structural quality gates
node src/tools/validate-skill.js --all skills

📄 License

Distributed under the Apache 2.0 License. See LICENSE for more details.

インストール

TypingMind
{
  "mcpServers": {
    "kilo-kit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@vodailoc/kilo-kit-mcp"
      ]
    }
  }
}

Kilo-KitのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Kilo-Kitに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Kilo-Kitをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Kilo-KitのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "kilo-kit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@vodailoc/kilo-kit-mcp"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてKilo-KitのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Kilo-KitのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Kilo-Kitを使ってこのタスクを手伝ってもらえますか?
Kilo-Kit
はい、読みました。
Kilo-Kitで調べた結果をお伝えします。

よくある質問

Kilo-Kit MCPサーバーは何に使いますか?

Kilo-Kitは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでKilo-Kit MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでKilo-Kitを利用できます。

TypingMindでKilo-Kit MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Kilo-Kitを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Kilo-Kit MCPをTypingMindに接続するにはどうすればよいですか?

Kilo-KitはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでKilo-Kit MCPのどのようなツールを利用できますか?

Kilo-KitはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Kilo-Kit MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Kilo-Kitで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇