Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Agent Toolkit For Kapitan

FreeNot checked

AI agent toolkit for Kapitan: an MCP server, agent skills, and rules that let LLM coding agents inspect, compile, and diff Kapitan projects safely.

GitHubEmbed

About

AI agent toolkit for Kapitan: an MCP server, agent skills, and rules that let LLM coding agents inspect, compile, and diff Kapitan projects safely.

README

MCP servers, agent skills, plugins, and rules files that make AI coding agents (Claude Code, Codex, Cursor) good at working with Kapitan projects.

Agents are bad at Kapitan out of the box: the inventory is free-form YAML, parameters deep-merge in include order and only then interpolate, and there are multiple backends and input types. This toolkit gives agents tools to see the resolved inventory instead of guessing, knowledge to reason about the merge model, and guardrails so they never edit compiled/ by hand or reveal secrets.

Status

Early development, but usable. The MCP server exposes a dozen read-first tools, tested against a real kapitan CLI at unit, integration, and MCP-protocol e2e levels. Agent skills for the inventory model, generators, input types, and secrets; two plugins with per-client marketplace manifests; and rules files for the common clients are in place.

Layout

Path What
tools/kapitan-mcp/ Python MCP server (FastMCP, stdio) wrapping the Kapitan CLI
skills/ Agent Skills packages, portable across clients
plugins/ Plugins bundling skills and MCP config, with per-client manifests
.claude-plugin/, .cursor-plugin/, .agents/plugins/ Marketplace manifests, one per client (generated)
rules/ AGENTS.md / CLAUDE.md / Cursor rules snippets
docs/ Install, getting started, tool reference, ADRs
examples/demo-project/ A tiny compilable Kapitan project used in docs and e2e tests

Install

Claude Code, from this repo acting as a marketplace (run the two commands separately):

/plugin marketplace add https://github.com/Moep90/agent-toolkit-for-kapitan.git
/plugin install kapitan-core

kapitan-core wires up the MCP server and the core skills; add kapitan-generators for the generator, input, kadet, and scaffolding skills. Open a Kapitan repo and ask "what image does target prod deploy?" and the agent answers through the tools.

Cursor, Codex, other MCP clients, manual config, and updating: docs/install.md.

Tools

Read-only inventory: kapitan_project_info, kapitan_list_targets, kapitan_list_classes, kapitan_inventory_target, kapitan_class_hierarchy, kapitan_search_inventory, kapitan_refs_list (ref metadata only, never values).

Compile loop: kapitan_compile (writes into compiled/ only when apply=true), kapitan_compile_diff (compiles to a temp dir and diffs against the committed compiled/ without touching it), and kapitan_lint.

Generators: kapitan_generator_trace (flags a components/generators block that no compile entry consumes, the silent no-op) and kapitan_generator_schema (the keys other blocks of the family already use, so a mistyped field stands out).

Full reference with arguments and response shapes: docs/mcp-server.md.

Development

Setup, the make targets, TDD rules, and commit conventions are in CONTRIBUTING.md. The security model is in SECURITY.md.

Docs

License

Apache-2.0.

from github.com/Moep90/agent-toolkit-for-kapitan

Installing Agent Toolkit For Kapitan

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/Moep90/agent-toolkit-for-kapitan

FAQ

Is Agent Toolkit For Kapitan MCP free?

Yes, Agent Toolkit For Kapitan MCP is free — one-click install via Unyly at no cost.

Does Agent Toolkit For Kapitan need an API key?

No, Agent Toolkit For Kapitan runs without API keys or environment variables.

Is Agent Toolkit For Kapitan hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Agent Toolkit For Kapitan in Claude Desktop, Claude Code or Cursor?

Open Agent Toolkit For Kapitan on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Agent Toolkit For Kapitan with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs