MCP Tools & Configuration
Kompile exposes its full tool set to any MCP-compatible agent (Claude Code, Codex, Antigravity agy, Qwen, OpenCode) via the Model Context Protocol — over stdio, a shared Unix-socket daemon, or HTTP/SSE.
In this section (recommended reading order)
| Order | Page | What it covers |
|---|---|---|
| 1 | MCP Integration (this page) | Transport modes (mcp-stdio, offline crawl pipelines, managed connectors, and .mcp.json wiring) |
| 2 | How the MCP Server Works | Stdio vs. shared daemon (kompile serve) vs. SSE/Streamable HTTP, --profile & --schema-level compaction, activate_tools, Enforcer middleware, and ToolResultReferenceCache (ref:ID) |
| 3 | MCP Tool Reference | Complete catalog of file, search, code, build, process, memory, graph, crawl, and delegation tools |
| 4 | Custom MCP Servers | Registering external MCP servers at user or project scope (kompile mcp add) |
| 5 | Configuration Reference | Full map of ~/.kompile/ user config, <project>/.kompile/ overrides, and interactive CLI wizards |
Transport modes
Stdio mode
The agent launches kompile as a subprocess:
kompile mcp-stdio --profile=full --work-dir /path/to/projectWith no --url, the stdio process is also the crawl/index worker: crawl_documents, crawl_source, crawl_discover, crawl_control, knowledge_search, and knowledge_status use a project-local knowledge base under data/crawls. The same session exposes memory and semantic_memory. Add --url only to route those contracts to a distributed Kompile instance.
Offline crawl pipelines
Call crawl_discover with section: "pipelines" before composing a crawl. Its response is generated from the local registry and lists pipeline templates, loaders, chunkers, supported file types, model bindings, and unified runtime capabilities. The project-local engine accepts every managed pipeline kind: STANDARD_TEXT, CODE, TABLE_AWARE, KEYWORD_ONLY, OCR, VLM, and CUSTOM.
A crawl_documents request can select a pipeline per document, set a default, or route files by extension or content type:
{
"documents": [
{ "path": "docs/guide.md", "pipelineId": "text" },
{ "path": "scans/report.pdf", "pipelineId": "vision" }
],
"pipelines": [
{
"pipelineId": "text",
"pipelineType": "STANDARD_TEXT",
"loaderName": "markdown",
"chunkerName": "recursive-character"
},
{
"pipelineId": "vision",
"pipelineType": "VLM",
"modelBindings": {
"default": "my-document-model"
},
"options": {
"outputFormat": "MARKDOWN",
"maxNewTokens": 2048,
"pdfRenderDpi": 150
}
}
],
"knowledgeBase": { "name": "project-docs" }
}Text and local parsing steps run in crawl orchestration. Every model-backed step—including OCR and VLM PDF extraction—uses a versioned UnifiedPipelineDefinition and the same pooled pipeline-serving stdio runtime. The MCP host resolves models, starts compatible runtime children on demand, reuses them across documents and calls, and releases them through bounded leases. Agents build and maintain definitions with the pipeline MCP tool; executable paths, ports, and subprocess modes are never part of the caller contract. The VLM_DOCUMENT step accepts PDF files (including scanned and image-heavy PDFs), not standalone raster-image paths.
Managed connector sources: download then process
crawl_documents accepts managed connector sourceType values that run in-process with explicit request credentials — no app server required. These split into two families:
- File-backed — GDRIVE and ONEDRIVE. These download ORIGINAL FILES and then process each one through its content-type pipeline, exactly like local files: PDFs get text extraction (or the VLM OCR pipeline via
pipelineId), spreadsheets get the excel loader, and so on. Never assume connector payloads are text; a scanned PDF from Drive is rendered and OCR-processed, not byte-mangled. - Text connectors — GMAIL, GDOCS, GOOGLE_WORKSPACE, SLACK, SLACK_HISTORY, DISCORD, DISCORD_HISTORY, NOTION, REDDIT, JIRA, CONFLUENCE, EMAIL, IMAP, POP3. Payloads are text and materialize directly; each accepts provider-native query properties (for example GMAIL
gmailQuery: "in:inbox newer_than:7d", DISCORDguildId/channelIds, SLACKloadAllChannels, REDDITsubredditvia path plussortType/timePeriod).
File-backed identification: set properties.fileIds / properties.itemIds (comma-separated or array), OR a single properties.folderId to load a folder's immediate file children (cap with properties.maxFiles, default 500; recursive traversal of deep trees belongs to the crawler source types). Credentials come from properties.accessToken or the connected OAuth account. Downloaded originals land under data/knowledge-sources/<knowledgeBase>/external/ and are registered as per-file sources, so pipelineId, chunkerName, and other pipeline options on the document entry apply to them like any local file.
Scanned-PDF example (download from Drive, then VLM OCR each file):
{
"documents": [
{
"sourceType": "GDRIVE",
"properties": { "accessToken": "ya29...", "folderId": "<folder-id>", "maxFiles": 100 },
"pipelineId": "vlm-ocr-pdf"
}
],
"pipelines": [
{ "pipelineId": "vlm-ocr-pdf", "pipelineType": "VLM",
"modelBindings": { "default": "my-document-model" } }
],
"knowledgeBase": { "name": "drive-scans" }
}Run crawl_discover with section: "sources" for the live connector list with per-type guidance; file-backed types are flagged in their descriptions.
Use modelBindings.default as the authoritative model selector. The compatibility shorthands are resolved in this order: modelId, deprecated vlmModel, then modelSetId; conflicting modelId and vlmModel values are rejected. model_runtime status distinguishes artifactReady from runtimeStatus, because locating a model artifact does not prove that native initialization succeeds.
Use the vlm_model_definition MCP tool to create, update, validate, list, or delete provider-neutral model entries. Definitions expose every model/component field (provider, repository or local path, revision, format, model type, component files/URLs, checksum, shapes, pipeline stage, runtime options, and metadata) plus free-form provider-specific keys. pipelineConfig, runtime, and metadata are preserved unchanged; omitted runtime values use sane defaults. Reference a saved entry by id from modelBindings/ modelSetId, or supply an inline modelDefinitions override.
Model acquisition is a separate MCP operation: call model_runtime with action: "bootstrap" for configured remote download/acquisition, action: "import" to force provisioning from localPath or remote fields, and action: "status" to inspect modelId, modelPath, tokenizerPath, artifactReady, and runtimeStatus. For local format conversion, call model_runtime with action: "convert", localPath as the input file, outputPath ending in .sdz, and optional format; this invokes the standalone kompile-model convert command from stdio MCP and supports ONNX, TensorFlow/Keras, GGUF/GGML, and SafeTensors. The model CLI resolves the configured native staging worker in native-image distributions and the packaged executable staging JAR in the JAR distribution; explicit executable/JAR overrides remain available. Use the returned model ids in pipeline modelBindings; for a composed vision graph, bind its visionEncoder, textEmbedding, and decoder roles from the VISION_MULTIMODEL template returned by pipeline action: "capabilities". Existing local directories can instead be supplied through inline modelDefinitions.<id>.localPath, which remains local-only and does not stage or mutate the project registry.
After conversion, optimization is an explicit composable action rather than an implicit provider behavior:
{"action":"convert","localPath":"models/encoder.onnx","outputPath":"models/encoder.sdz","format":"onnx"}
{"action":"optimize","localPath":"models/encoder.sdz","outputPath":"models/encoder.optimized.sdz","profile":"TRANSFORMER","selectedPasses":["dead_code_elimination","algebraic"],"maxIterations":3,"force":false,"createBackup":true,"dryRun":false}optimize accepts either localPath or modelId. selectedPasses overrides the sane BASIC profile; maxIterations, quantizationType, force, createBackup, dryRun, modelExecutable/modelJar, stagingExecutable/stagingJar, javaExecutable, timeoutMinutes, and request-scoped environment are all configurable. Omitting outputPath updates the local artifact in place (with a backup by default). Local optimization bypasses registry mutation; catalog optimization updates the selected model. The action invokes the same staging GraphOptimizer for native-image and executable-JAR distributions, so ONNX -> SDZ -> optimized SDZ is reproducible through stdio MCP.
Wiring composed models
The pipeline tool's capabilities response is the executable authoring contract. Use composition.topologies and stepCatalog to choose steps, copy composition.defaultTemplates or assemble a custom pipelineSpec, bind each model role, and call validate before test and run.
For a SequencePipeline, steps execute in order and each step receives the previous Data record. For a GraphPipeline, each node names upstream nodes in inputs; pipeline_input is the external request, and outputNodeName selects the result. Standard nodes pass through one predecessor and merge multiple predecessors in declaration order. When a step needs named slots instead of the whole merged record, set stepConfig.parameters.inputDataBindings (or parameters.inputDataBindings for sequence steps). Each value is node.outputKey, node for a whole record, or pipeline_input[.key].
The default multimodal template explicitly connects vision_encoder.image_features, text_embedding.text_embeddings, and token tensors from pipeline_input into fusion, then carries the fused embeddings and decoder control tensors through the autoregressive loop. Raw text is not tokenized implicitly; add a tokenizer/adapter step or provide input_ids, with optional attention_mask and position_ids. This contract is provider-neutral and also applies to custom OCR, embedding, LLM, and postprocessing chains.
An explicit crawl_documents request with dryRun: true is isolated from prior crawl sources. The returned metadata.preview contains the normalized documents, effective request, resolved pipeline/model inputs, warnings, intended paths, and persistentWrites: false. Likewise, pipeline test does not register or refresh project models; provision them first with model_runtime. Runtime failures include structured stage, cause-chain, and stack diagnostics.
SSE mode
The agent connects to a running kompile-server:
http://localhost:8080/mcp/sseAuto-configured in .mcp.json when you run kompile project open.
Auto-discovery
When a project is opened, Kompile writes a .mcp.json in the project directory so agents auto-discover the tools:
{
"mcpServers": {
"kompile": {
"command": "kompile",
"args": ["mcp-stdio", "--work-dir", "/path/to/project"]
},
"kompile-app": {
"url": "http://localhost:8080/mcp/sse",
"transport": "sse"
}
}
}Kompile also auto-configures hooks in agent settings files (.claude/settings.local.json, .codex/config.toml, .opencode/plugins/, .gemini/settings.json).
Custom MCP servers
Install third-party MCP servers for standard chat, headless chat, and managed passthrough with the shared CLI lifecycle:
kompile mcp add context7 -- npx -y @upstash/context7-mcp
kompile mcp add --scope user --transport http docs https://mcp.example.com/mcp
kompile mcp list
kompile mcp disable context7
kompile mcp remove context7Project entries live in .mcp.json; user entries live in ~/.kompile/config/mcp-servers.json, and project names override user names. Custom tools are namespaced as mcp__server__tool and are also available through the stable mcp_tool_search / mcp_tool_call gateway used by passthrough agents. See Custom MCP servers for transports, auth references, trust behavior, tool filtering, examples, and the open-source harness comparison.
Tool profiles
| Profile | Included scope | Use case |
|---|---|---|
minimal | 5 tools (read, file_context, grep, glob, list) | Ultra-lightweight read-only inspection (~1k tokens) |
explore | 15 tools (read/grep batch, explore, code_search, local_code_index, code_graph, graph_search, graph_reasoning_query, fetch_result*) | Read-only codebase + graph intelligence (~2.5k tokens) |
core | ~28 tools (file I/O + batch/draft/patch, search, bash, todos, progress, memory, incident, web, custom MCP gateway) | Day-to-day coding (~3k tokens) |
full (default) | ~100 tools across 16 dynamic groups via activate_tools | Full harness, graph reasoning, crawl pipelines, delegation, and ops |
Schema verbosity is controlled separately with --schema-level=compact|aggressive|moderate|none (default: compact).
Full tool set & dynamic groups
To keep prompt overhead low, full mode starts with a small always-active core set plus activate_tools, which loads specialized groups on demand (files, code, workflow, web, integrations, process, delegation, history, memory, crawl, graph_query, graph_analysis, graph_write, evaluation, other, custom).
See the complete MCP Tool Reference for every tool, group, profile, ref:ID result caching (fetch_result / fetch_result_batch), and async execution (_background: true + poll).
Pause a resource-blocked agent
Resource admission is opt-in. With the default policy nothing is classified high, so launches never block, reserve, or install watches. Once a policy marks specific commands high (user or project resource-policy.json), affected tool launches install a one-shot resource watch when blocked. The response includes resourceWaitId and wakeSupported. Nothing is launched or reserved while the agent is waiting. The host checks every five seconds for the user-wide activity lane, project peer processes, and configured RAM/GPU admission to clear.
Interactive Standard Chat: with
wakeSupported=true, the agent may end its current turn. A system event starts the next agent turn (or queues behind an active turn), even with ordinary auto-dequeue disabled. Open todos and outstanding validation stay pending, not completed.MCP tool host launched by an interactive chat (the Claude Code route): the tool host cannot start a model turn, but the chat that launched it can. The host sends the wake to that chat's coordination mailbox and the chat hands it to the running turn, or starts one when idle, so
wakeSupported=truehere too. The same path deliversprocess monitor/process_notifyfor a process another session owns, and the release of a watched edit lock. Subscriptions to another session's process are kept under.kompile/coordination/notify/and taken up by the next tool host of the same chat, so they survive an MCP reconnect; one whose process ended in between is delivered as soon as the new host starts. Subagents sharing the connection passagent_nametoprocess_notifyso each keeps its own subscriptions. The chat acknowledges a wake only once it holds the event for delivery (<session>.pending-events.json), so a chat that is stopping leaves it for its successor. If that file cannot be written the chat says so once and delivers the events from memory.Wakes a tool host owes its chat: a wake raised while the chat is down (a watched process ended, resources freed, an edit lock was released) is kept in
.kompile/coordination/wakes/<chat>/<host>.jsonand retried until the chat's mailbox takes it. Resource waits and edit-lock monitors live in the tool host; the same store records the ones still open, and when that host is gone the next host of the chat sends one wake per lost wait telling the agent to retry. A host that serves no chat keeps nothing.A chat's own monitored processes: the chat records the ones it is waiting on in
.kompile/coordination/awaited/<chat>.json. A chat that restarts is woken for a process that ended while it was down, and for one whose owning tool host is gone (reported as killed with no exit code after three passes without a record).Mail and the queue: a message the chat queues is acknowledged only after the queue file is on disk; until then it stays in the mailbox, and the chat says once that the queue could not be saved. Delivery is at-least-once: a chat that dies between saving and acknowledging sees the message again.
Sequence numbers: each message carries its sender's count for that recipient. A recipient that acknowledges a number past ones it never saw is warned how many messages expired or were removed unread.
Delivery receipts:
edit_coordinator action=message_status message_id=<id>tells a sender whether its message is stillPENDINGin a mailbox, wasACKNOWLEDGEDby the recipient and when, orEXPIREDunread after 24 hours. Acknowledged means the recipient's host took it and holds it for the model, not that the model has acted on it.External MCP / headless clients:
wakeSupported=falsemeans the server cannot start a new model turn on its own. Aprocess_notifysubscription only pushes an MCP log notification, which is not shown to the model: checkprocess action=statusrather than ending the turn on it. For resource waits, keep a normal tool call pending; its response resumes the caller:json{"action":"wait_for_activity","wait_id":"<resourceWaitId>","timeout_seconds":25}On
WAITING, repeat the wait, not the blocked launch. Choose a timeout below the client's tool timeout (1–300 seconds; default 25). Do not detach this call with_background:true. OnREADY, retry the original tool through normal admission; capacity is advisory, not reserved.
Use edit_coordinator watch_activity with activity_kind and description to watch without attempting a launch. preflight_activity remains a dry inspection. query_activity_waits lists only the current tool session's watches; cancel_activity_wait with wait_id abandons one. Cancelling a held call cancels its watch. Identical pending requests share a watch; successful admission clears its matching watch. Watches survive idle turns but not host shutdown, expire after 24 hours, and are bounded to 128 entries per host. Notifications never auto-execute commands. Existing hosts must be rebuilt/restarted before these actions are available.
Named locks
Work that only one session may do at a time, and that takes more than one tool call (a build lane, a shared device, a deploy), is guarded by a named lock of the coordinator. It is plain files under .kompile/coordination/locks/ guarded by a Java file lock, with holder liveness from the process table: nothing in it depends on a shell utility or an operating system.
| Action | Effect |
|---|---|
acquire_lock lock_name=<name> [purpose=...] [wait_seconds=<n>] | Takes a free lock, or queues the session in arrival order. Calling again keeps the place and reports it. |
release_lock lock_name=<name> | The holder gives the lock up; a waiter leaves the queue. A released lock goes straight to the first waiter. |
release_lock lock_name=<name> force=true purpose=<reason> | Takes the lock from another session. Only on the user's instruction. |
query_locks | Holders and queues of every lock in the project. |
Notifications are wake mail (wake.lock), so they are durable, acknowledged by the recipient's host and injected into the model's turn like every other wake:
- the first waiter is told when the lock becomes its own, and why (released, taken by force, or its holder ended without releasing);
- the holder is told when a session starts waiting, and again every 15 minutes while one still waits;
- the holder is told when the lock is taken from it by force.
A grant that could not be mailed is sent again until it is. A client that cannot be woken finds the notice with read_messages, or keeps a call open with wait_seconds (up to 600).
A lock is never taken from a live holder because time passed. A holder is replaced only when its process has been gone for two minutes; a tool host that restarted re-stamps the locks of its chat within that time, so a reconnect loses nothing. Locks are per project.
Scripts use the same locks from the command line, where they would have used flock:
kompile edit-coordinator lock-hold --name workflow-lane --pid $$ # inside a script
kompile edit-coordinator lock-run --name workflow-lane --wait 600 -- ./build.sh cpu
kompile edit-coordinator locks
kompile edit-coordinator unlock --name workflow-lane --reason "holder is stuck"lock-holdtakes the lock for the calling script and returns; the script keeps it until it exits, with nothing left running and nothing to release. Without--pidthe lock is held for the process that ran the command. A lock held for a script is free the moment that process is gone: there is no two-minute wait, because a script does not come back.lock-runholds the lock for the life of one command.- Both exit 75 when the lock is still held after
--waitseconds (default 0), and both queue in the same arrival order as sessions; a session holding the lock is told that a script waits. - A process started by the holder runs under the holder's lock instead of queueing behind its own launcher: a script a session starts while holding the lock, or a script started by a script that holds it. The lock is kept while such work still runs, even if the holder's own process has gone.
locksshows how many processes run under each lock. - Pass
--work-dir <project root>before the subcommand when the script does not run from the project root: locks are per project.
Crawl jobs are independently pollable
crawl_documents and crawl_source are asynchronous by default for long-running local and managed crawls. The response contains a crawlResult handle with jobId, status, terminal, pollAfterMs, and nextActions. Use the returned id with crawl_control:
{"operation":"status","jobId":"local-..."}Poll after the server-provided pollAfterMs (the local default is 1000 ms) until terminal is true; then call crawl_result with the same jobId. Do not submit the same crawl repeatedly while it is QUEUED or RUNNING. crawl_control cancel is available for local jobs; completed handles are retained for a bounded period. Set async:false (or waitForCompletion:true) only for explicit blocking compatibility. dryRun:true remains synchronous because it never persists artifacts.
Local crawl subprocess watchdog
Project-local crawls run model-backed work in pooled children (model-serving, pipeline runtime, learning). Three watchdog layers protect them:
Pre-admission — before a non-dry-run
crawl_documentsworker starts expensive work, the MCP host samples LinuxMemAvailable(with an OS MXBean fallback) and NVIDIA VRAM. The defaultwaitmode keeps the async job inWAITING_FOR_CAPACITYuntil pressure clears or the bounded timeout expires;failrejects immediately andoffdisables this gate. GPU admission is device-agnostic: it admits when any device has the configured fractional and optional absolute headroom, preserving lower-level device failover rather than pinning a card.Child-internal — each serving/learning child runs its own heap/GPU/off-heap
SubprocessMemoryWatchdogfrom its args thresholds (kill exits the child; the crawl job fails with the child's diagnostics).GET /api/llm/statuson a serving child embeds the livememoryWatchdogsnapshot.Parent-side — the MCP host tracks every pooled child PID, samples RSS, and force-kills children exceeding
min(maxRssMb, maxRssFraction × system RAM)forbreachCountconsecutive checks (agraceSecondswindow exempts model-load spikes). Enforcement is off until a limit is set; tracking is always on.
Manage it through subprocess_watchdog:
{"action":"status"}
{"action":"config_update","config":{"maxRssFraction":0.5,"breachCount":2}}
{"action":"config_update","config":{"admissionMode":"wait","admissionTimeoutMs":300000,"admissionMaxRamUsedFraction":0.75,"admissionMinAvailableRamMb":8192,"admissionMaxGpuUsedFraction":0.75,"admissionMinAvailableGpuMb":0}}
{"action":"kill","id":"serving-<runId>","reason":"stuck model"}Admission configuration keys are admissionMode (wait|fail|off), admissionTimeoutMs, admissionPollIntervalMs, admissionMinAvailableRamMb, admissionMaxRamUsedFraction, admissionMinAvailableGpuMb, and admissionMaxGpuUsedFraction. A zero threshold disables that individual check. The default fractional RAM/GPU limits are 0.75, preserving 25% dynamic headroom before Kompile's 85% high-pressure/OOM band; absolute floors default to zero. Waiting crawls re-read the mode, timeout, poll interval, and thresholds, so a runtime config update takes effect without a restart. If nvidia-smi is unavailable, the default fractional GPU check is fail-open; an explicitly configured nonzero absolute GPU floor fails closed because that guarantee cannot be verified.
crawl_discover / crawl_control runtime_config embed the current watchdog state under subprocessWatchdog. On non-Linux hosts per-child RSS sampling is unavailable; host RAM admission uses the OS MXBean when available.
The discovery response from crawl_discover/crawl_control preflight also advertises this contract in asyncLifecycle, including terminal statuses, the poll interval, and the status/result tool names, so an agent can assemble the loop without relying on prose.
Agent delegation defaults
The task, multi_task, and quorum_task tools can launch codex, claude, or opencode. Each accepts explicit model and thinking overrides; multi_task also accepts them per subtask.
Configure project defaults from either the main CLI or the standalone agent CLI:
kompile configure agent-defaults --agent codex --model gpt-5.6-terra --thinking medium
kompile agent defaults --agent codex --model gpt-5.6-terra --thinking medium
kompile configure agent-defaults --agent claude --model claude-opus-4-1 --thinking high
kompile configure agent-defaults --agent opencode --model openai/gpt-5 --thinking highAdd --global to write user defaults instead of .kompile/agent-defaults.json. Use --thinking-model MODEL to set thinking for a model other than the model being selected, or omit both model options to set an agent-wide thinking fallback. The persisted shape is:
{
"agents": {
"codex": {
"model": "gpt-5.6-terra",
"thinking": {
"default": "medium",
"models": {
"gpt-5.6-sol": "max"
}
}
}
}
}Roles can override these defaults per provider. Both create_role and update_role on role_manager accept:
{
"agent_defaults": {
"codex": {
"model": "gpt-5.6-terra",
"thinking": {
"default": "medium",
"models": {
"gpt-5.6-sol": "max"
}
}
},
"claude": {
"model": "claude-sonnet",
"thinking": { "default": "high" }
},
"opencode": {
"model": "openai/gpt-5.6",
"thinking": { "default": "medium" }
}
}
}The equivalent flat role frontmatter is agent_defaults.codex.model: gpt-5.6-terra, agent_defaults.codex.thinking.default: medium, and agent_defaults.codex.thinking.models.gpt-5.6-sol: max. The older top-level role model: field remains a prompt hint and is not a launch default.
Model and thinking resolve independently: explicit task/subtask value, selected role default, nearest project default, user default, then the native agent default. An explicit model can therefore select that model's thinking value from the role. If a task omits role, Kompile uses the persisted role assignment for that agent; an explicit role wins over the assignment. Kompile maps thinking to Codex model_reasoning_effort, Claude --effort, and OpenCode run --variant. Direct kompile chat and kompile passthrough launches also accept --model and --thinking (alias --effort); OpenCode's interactive TUI has no variant flag, so its thinking selection is applied to managed delegation runs.
Shared daemon
kompile serve runs a shared daemon that multiplexes MCP sessions over a Unix socket at ~/.kompile/runtime/kompile.sock. One process serves N agent sessions instead of N separate JVMs.
When to use each transport
Stdio (kompile mcp-stdio) / Shared Daemon (kompile serve) — runs locally with no kompile-app server needed. Provides full local persistent state (memories, code index, project-local knowledge bases, .kgraph reasoning, task/audit history). Best for individual developers, local multi-agent coding sessions, and offline use (pair with kompile chat --web if you also want a local browser UI).
SSE / Streamable HTTP — connects agents to a shared kompile-app deployment (kompile project open or remote cluster URL). Best for larger distributed systems and team collaboration where multiple users or remote hosts share external vector/graph stores (pgvector, Chroma, Vespa, Neo4j), scheduled crawl clusters, and collaborative fact sheets.
You can use both simultaneously. The .mcp.json file written by kompile project open configures both.
Related concepts
- Agents — agent modes that use MCP tools, including passthrough, KClaw, and A2A
- Information Retrieval — the retrieval mechanisms behind
rag_search,knowledge_search, andgraph_searchtools - Knowledge Graphs — the graph system behind the
knowledge_graphand graph tools - Code Projects — the code indexing system behind
code_searchandcode_graphtools - Configuration —
kompile configure mcpsets tool profiles and schema levels