1. Conduid
  2. Agents
  3. Karajan Code
MCP server · Agents

Karajan Code

Local multi-agent coding orchestrator with TDD, SonarQube, and code review pipeline

54Fair

Scored just now · breakdown

About Karajan Code

Karajan Code is an MCP server published by manufosela in the Agents category: local multi-agent coding orchestrator with TDD, SonarQube, and code review pipeline. Conduid read 23 tools from its source: install, kj_agents, kj_audit, kj_board, kj_clean, kj_code and 17 more. It is published to npm as karajan-code and starts with npx.

The repository has 43 stars and 8 forks, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include ai-orchestration and orchestrator.

Install

Claude Code
claude mcp add karajan-code -- npx -y karajan-code
npx
npx -y karajan-code
From source
git clone https://github.com/manufosela/karajan-code

Tools (23)

installInstall a local skill folder, command or agent file into the store
kj_agentsList or change which AI agent (provider) is assigned to each pipeline role. Use action='list' to see current assignments. Use action='set' with role and provider to change it persistently (writes to kj.config.yml, no restart needed).
ParameterTypeDescription
actionstringAction: list current agents or set a role's provider
kjHomestring
providerstringNew provider to assign (e.g. claude, codex, gemini, aider)
rolestringRole to change (e.g. coder, reviewer, planner, triage)
kj_auditAnalyze codebase health without modifying files. Returns findings across security, code quality, performance, architecture, and testing dimensions.
ParameterTypeDescription
dimensionsstringComma-separated dimensions to analyze: security,codeQuality,performance,architecture,testing (default: all)
kjHomestring
projectDirstringAbsolute path to the project to audit
taskstringOptional focus for the audit. If absent (and no taskFile), defaults to a full-codebase analysis.
taskFilestringAlternative to `task`: path to a .md/text file with the audit focus.
kj_boardStart, stop, or check status of the HU Board dashboard
ParameterTypeDescription
actionstringAction to perform (default: status)
portnumberPort (default: 4000)
kj_cleanGarbage-collect stale Karajan state: orphan plans (project dir no longer exists), finalised plans/sessions past their retention window, and HU story batches. Dry-run by default; pass yes=true to actually delete. Use nuke=true to wipe everything (retention=0 on every bucket + drop the HU board SQLite DB).
ParameterTypeDescription
draftDaysnumberKeep draft plans for this many days. Default: 60.
huDaysnumberKeep HU story batches for this many days. Default: 14.
nukebooleanIf true, retention=0 on every bucket + wipe the HU board DB (stops the board first if running). The "I want it all gone right now" button.
planDaysnumberKeep finalised plans (approved/rejected/executed) for this many days. Default: 30.
sessionDaysnumberKeep finalised sessions for this many days. Default: 7.
yesbooleanIf true, actually delete. Default false (dry-run: returns the list of items that would be removed without touching disk).
kj_codeRun coder-only mode. Pass the user's task exactly as described. Do NOT split or reinterpret the task.
ParameterTypeDescription
coderstring
coderModelstring
kjHomestring
projectDirstringAbsolute path to the project directory
taskstringTask description. Either `task` or `taskFile` is required.
taskFilestringAlternative to `task`: path to a .md/text file.
kj_configShow kj configuration
ParameterTypeDescription
jsonboolean
kjHomestring
kj_discoverAnalyze a task for gaps, ambiguities, and missing information before execution. Returns a verdict (ready/needs_validation) with structured gap list. Can read task details from Planning Game if pgTask is provided.
ParameterTypeDescription
contextstringAdditional context for the analysis (e.g., research output)
kjHomestring
modestringDiscovery mode: gaps (default), momtest (Mom Test questions), wendel (behavior change checklist), classify (START/STOP/DIFFERENT), or jtbd (Jobs-to-be-Done)
pgProjectstringPlanning Game project ID. Required when pgTask is used.
pgTaskstringPlanning Game card ID (e.g., KJC-TSK-0042). If provided, fetches full card details as additional context.
projectDirstringAbsolute path to the project directory
taskstringTask description to analyze for gaps. Either `task` or `taskFile` is required.
taskFilestringAlternative to `task`: path to a .md/text file.
kj_doctorCheck system dependencies, agent CLIs, ports, tokens and MCP health — auto-remediates when possible
ParameterTypeDescription
checkOnlybooleanDetect only, do not apply fixes
jsonbooleanEmit machine-readable JSON output
kjHomestring
timeoutMsnumber
verbosebooleanInclude fix hints and timing per check
yesbooleanAuto-confirm prompts for invasive remediations
kj_huManage user stories (HUs) in the HU Board, the same board `kj hu` uses (local or shared)
ParameterTypeDescription
acceptanceCriteriastringAcceptance criteria, one per line
action *stringAction to perform
huIdstringHU ID (required for update/get)
projectDirstringProject directory (defaults to cwd)
refstringId of this card's replica in the external tracker (Planning Game, Jira, Linear...)
statusstringHU status (for create/update)
tierstringHow much model the card needs, judged as you plan it (for create): kj code writes it with that model
tierReasonstringWhy that tier, in a few words (for create)
titlestringHU title (required for create)
kj_initInitialize karajan-code config, review rules, and SonarQube
ParameterTypeDescription
kjHomestringOptional KJ_HOME directory
timeoutMsnumberOptional command timeout in ms
kj_preflightConfirm or adjust agent configuration before first kj_code. REQUIRED before running any task via MCP. Show the config to the human, get their confirmation or adjustments, then call this tool with their response.
ParameterTypeDescription
coderstringOverride coder for this session
enableSecuritybooleanEnable/disable security for this session
enableTesterbooleanEnable/disable tester for this session
humanResponse *stringThe human's response: 'ok' to confirm defaults, or specific changes like 'use gemini as coder'
reviewerstringOverride reviewer for this session
securitystringOverride security for this session
solomonstringOverride solomon for this session
testerstringOverride tester for this session
kj_rag_index(Re)index this project's Karajan-managed assets — every plan-*.json under ~/.karajan/plans/<slug>/ plus the onboarding brief at ~/.karajan/onboarding/<slug>.md — into the local vector store. The index runs in the background and the tool answers at once with `started` and the last run's totals; call it again to get `running` and `progress` ({ done, total } files) until it ends. kj_rag_query answers from the current index meanwhile. Idempotent: a re-run replaces the chunks for each source, never appends duplicates. Pass `withSources: true` to also index the project's text files git versions (skips node_modules / .git / dist / etc.). Required as a one-time bootstrap before kj_rag_query returns anything.
ParameterTypeDescription
forcebooleanIndex even when another indexer holds the machine lease (otherwise it yields). Default false.
projectDirstringAbsolute path to the project directory
withSourcesbooleanAlso index .js/.ts files under projectDir. Default false.
kj_rag_queryRun a semantic search across the indexed Karajan plans, onboarding briefs and (optionally) project source code. Returns the top-K nearest chunks with their metadata so the agent can quote prior decisions, locate where a concept was last implemented, or pull architectural context without re-walking the repo. The store is empty until `kj_rag_index` (or `kj rag index` CLI) has been run at least once on this project; in that case the response carries `empty: true`.
ParameterTypeDescription
projectstringProject slug to search. Defaults to the basename of projectDir (same isolation as `kj rag query`); 'all' searches every indexed project.
projectDirstringAbsolute path to the project directory
scopestringFilter by chunk kind: 'plans' | 'code' | 'onboarding' | 'all' (default).
text *stringThe natural-language query.
topKnumberMax number of hits to return. Default: 5.
kj_reportRead latest or list session reports. Use trace=true for chronological stage-by-stage breakdown with timing and token usage.
ParameterTypeDescription
currencystringDisplay costs in this currency
formatstring
kjHomestring
listboolean
pgTaskstringFilter reports by Planning Game card ID (e.g., KJC-TSK-0042)
sessionIdstring
tracebooleanShow chronological trace of all pipeline stages
kj_rolesList pipeline roles or show the template instructions for a specific role. Use action='list' to see all roles with their provider and status. Use action='show' with roleName to read the .md template.
ParameterTypeDescription
actionstringAction: list all roles or show a specific role template
kjHomestring
roleNamestringRole name to show (e.g. coder, reviewer, triage, reviewer-paranoid)
kj_scanRun SonarQube scan for current project
ParameterTypeDescription
kjHomestring
sonarTokenstring
timeoutMsnumber
kj_suggestPropose an observation or suggestion to Karajan's Solomon engine. Solomon will evaluate it and decide whether to accept, reject, or ask the human. You CANNOT override pipeline decisions through this tool, only propose.
ParameterTypeDescription
contextstringAdditional context (current HU, iteration, etc.)
projectDirstringProject directory
suggestion *stringWhat you observed or want to propose
rag_queryBusca en el índice RAG (retrieval híbrido vector+BM25) y devuelve los pasajes más relevantes con fuente, línea y score.
ParameterTypeDescription
question *stringPregunta o términos de búsqueda.
topKintegerNº de pasajes (default 5).
rag_statusEstado del índice: fingerprint, nº de ficheros, nº de chunks y store.
removeRemove an artifact from the store
resolveThe artifacts that fit a task, as the files to read in order
searchSearch atril's store for skills, commands and agents

Security checks

  • ✓README presentThe repository's README runs to about 2.9K words.

5 checks have not been run yet.

README

The repository's README runs to about 2.9K words. The original in the repository is authoritative.

Read full README
Questions

About Karajan Code

How do I install Karajan Code?

In Claude Code, run claude mcp add karajan-code -- npx -y karajan-code. Other MCP clients take the command after "--" in their server configuration.

Is Karajan Code safe to use with an AI agent?

Its trust score is 54 out of 100 (fair). It passes all 1 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Karajan Code still maintained?

Yes — the last commit was 13 hours ago. The repository has 43 stars and 8 forks.

What tools does Karajan Code provide?

Conduid read 23 tools from the source: install, kj_agents, kj_audit, kj_board, kj_clean, kj_code, kj_config, kj_discover and 15 more. 18 of them publish their parameters, listed under Tools above.