Protected RAG storage β agents discover public metadata, content only by access token.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Keep reminding your coding agent to read a required Skill before editing? Miko checks for observable Skill reads before protected edits. When evidence is missing, it pauses the action and tells the agent what to load before retrying. It runs locally, makes no LLM calls, and is free and open source.
The current focus is Claude Code and Codex CLI. Miko is part of Koma; the separate Gate, Scout, and Core packages cover AI application input, request limits, and retrieval. You do not need them to use Miko.
Edit the generated miko.json to name your project's Skills and protected paths,
then start a new Claude Code session.
Using Codex? Follow the Codex setup and one-time Hook review.
Codex CLI is a Technical Preview; Desktop requires prior CLI activation.
βΆ Try Miko's guided terminal replay β plus Gate, Scout & Core, no signup.
Coding agents can say they loaded a required Skill or ran a test. Miko does not
treat that claim as evidence. At supported local host Hooks, it compares
observed Skill loads, reference reads, tool actions, and completion checks with
a project-owned miko.json.
If an agent tries to edit before satisfying the spec, Miko can return a denial and a short recovery instruction. It cannot inspect hidden model context, prove that a model understood a Skill, or verify events the host never exposes. In Claude CLI guided mode, a genuine scope exception opens one visible Miko choice: allow that exact retry once, or keep the current boundary.
Codex CLI is a Technical Preview; Codex Desktop requires prior CLI activation. The CLI requires a one-time
/hooksreview before project Hooks run. Miko promotesenforceon Codex because the current Hook API cannot open a nativeREVIEWchoice; review therefore degrades to a recoverable pause/deny. Desktop-only onboarding is not a supported alpha path. An offlineprobeproves adapter logic, not live Hook activation.
Miko README β Β· Current host support β Β· 10-second web replay β
Miko replay GIF Β· Still image β browser simulation, not a live host recording.
Claude Code is the primary alpha workflow. Codex CLI has a verified narrow recovery flow with the activation limits above. Gemini is outside active development; Copilot adapter work is paused pending a real tester. Existing adapters and their dated results remain available in the adapter documentation.
Why use Miko instead of writing a Hook? A small native Hook is enough for a single fixed check. Miko packages project Specs, observed-read tracking, post-compaction reload requirements, recovery messages, and completion evidence so you can maintain those checks together. Neither approach proves the model understood the instructions. See when Miko helps.
| Boundary | Failure mode | What Koma checks | Package |
|---|---|---|---|
| Coding agent | Required Skill or completion check skipped | Host-observed preparation, action scope, and evidence | koma-miko@alpha |
| User β LLM | Prompt injection / jailbreak | Semantic scope before the application model | koma-gate |
| Request perimeter | Audio abuse / flooding | Validation, rate limits, and geo rules | koma-scout |
| Retrieval | Data enumeration / scraping | Split index from content; token-gate retrieval | koma-core |
Different attacks cross different boundaries. Koma provides a small primitive for each one.
Is: small composable packages Β· usable independently Β· explicit failure modes Β· deterministic checks where the host exposes evidence
Isn't: a model Β· an agent framework Β· proof that a model understood its instructions Β· a replacement for authorization Β· a complete security boundary by itself
Miko is deterministic, so its useful numbers are verifier cost and end-to-end Hook behaviorβnot a generic score for model intelligence.
| Signal | Observed result |
|---|---|
| Offline host conformance | Claude, Codex, Gemini, and VS Code Copilot each reproduce DENY β observed Skill β ALLOW; ledger fixtures reject prompt/code/tool-response persistence |
| Local verifier scale | 1,000 Agent Specs: 1.34 ms p95 per action; 10,001 indexed evidence events: 0.0041 ms p95; restore 1,000 evidence events: 1.52 ms p95 |
| Claude Code live + hand-test | One 100-Skill / ~20k-context run passed. A natural Chinese request drove a three-file rewrite through 3 Agent Specs and 28 observed events. Separate Haiku 4.5 runs verified visible Allow once and Keep current scope policy-exception paths |
| Codex CLI Technical Preview | Fixed live recovery completed DENY β Skill/reference β edit β COMPLETE; an interactive CLI 0.152.0 hand-test visibly rendered Miko active, recovered, and COMPLETE. Desktop also enforced after CLI activation, but onboarding and completion visibility remain unsuitable as a primary path |
| DeepSeek Harness smoke | 3/3 narrow packed-artifact recovery runs passed; 19.425 s mean model phase |
The scale row is a 2026-08-27 reference run on Node 24.19 / Windows; rerun it
with npm run eval:scale -w koma-miko. Context tokens never enter the verifier.
The paid samples are deliberately small and do not establish general model,
long-context, or editor reliability. See the
scale record,
Claude record,
host-adapter record, and
DSH record.
I threw 1,769 real prompt-injection attacks at Koma Gate in fail-closed mode, using real providers β not mock adapters.
| Provider | Recall | Precision | False Positives |
|---|---|---|---|
| DeepSeek (deepseek-chat) | 98.8% | 100% | 0 |
| Google (gemini-2.5-flash) | 96.2% | 100% | 0 |
Chinese attack set: 100% recall Β· 100% precision Β· 0% FPR across 8 categories.
Can you break it? Open an issue with an attack Koma misses. β Full methodology
koma-gate β Prompt injection firewall. LLM-based scope classifier that blocks jailbreaks, off-topic requests, and instruction overrides. Supports OpenAI, Anthropic, Google, DeepSeek, and local Ollama models. README β
Try Gate in the browser demo β
koma-scout β Perimeter protection. Rate limiting, audio upload validation, geo allowlisting. Cheap checks before expensive AI work. README β
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/koma-core-mcp)<a href="https://allmcps.com/mcp/koma-core-mcp"><img src="https://allmcps.com/api/badge/koma-core-mcp?style=directory" alt="Koma Core MCP on AllMCPs" /></a>