Listed from the MCP registry; nobody on Odel publishes it.

MCP server: One MCP server.

Shield Kya

@the-pixel-boysRun by its publisher: served from their own domain, namespace checked by the registry.MCP server · External

Stops your coding agent from deleting, leaking or dropping things. MCP gate: evaluate and ingest.

AI agent governancev0.35.8MITTypeScript
Freeno charge per call

Runs on your machine from its package; the steps are below.

Blocked panel: the first thing the kya report shows. The guard stops rm -rf ~, read .env and curl | sh (demo calls)
From the README

What it does

  1. Reads
  2. Writes
  3. High impact

At most: moves money, runs code or commands, deletes data, or sends messages for you.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Runs locally over stdio

This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).

npm@shield-agent/kyav0.35.8

Run

npx -y @shield-agent/kya

MCP client config

{
  "mcpServers": {
    "shield-kya": {
      "command": "npx",
      "args": [
        "-y",
        "@shield-agent/kya"
      ]
    }
  }
}
README9 min read

@shield-agent/kya

Stops your coding agent from deleting, leaking or dropping things. Records everything else.

bash
npm i -g @shield-agent/kya@latest && kya start

Blocked panel: the first thing the kya report shows. The guard stops rm -rf ~, read .env and curl | sh (demo calls)

What you get

KYA blocks a short list of destructive commands, secret reads and exfiltration by default (list below), and records every other tool call on a local dashboard. One command. Free forever under MIT. The limits are in LIMITATIONS.md.

bash
# Permission denied (EACCES) on Linux? No sudo and no install needed:
npx @shield-agent/kya@latest start

Requires Node.js 22+ (24 recommended). Restart Cursor / Claude Code / Codex once so MCP loads. Hosted desk: shield-agent.com.

npm npm downloads/week npm downloads, 18 months License: MIT Install Incident Replay: incidents stopped X The-Pixel-Boys/shield-kya MCP server

What it blocks by default

The deny list is the never-list (docs/never-list.md) plus the guard pack (docs/guard-pack.md). A deny exits 2 and names its rule id. In plain words:

  • Wiping files. rm with recursive and force flags on /, your home directory, a parent of it or of the project folder (rm-root-home, and rm-recursive-home-or-system); find ... -delete on home or system folders.
  • Infrastructure and data. terraform destroy and terraform apply -destroy (terraform-destroy); DROP TABLE, DROP DATABASE, DROP SCHEMA and TRUNCATE inside a database client (sql-drop); docker volume rm, docker volume prune, docker system prune --volumes and docker compose down -v (docker-volumes); kubectl delete namespace and kubectl delete --all -A (k8s-delete-ns); aws ec2 terminate-instances, aws s3 rb --force, aws s3 rm --recursive, aws rds delete-db-instance, gcloud projects delete, gcloud sql instances delete, az group delete (cloud-delete); railway volume delete and a volumeDelete call (railway-volume-delete); supabase db reset --linked (supabase-reset-linked); rm -r .git at the project root (rm-git-dir); dropDatabase() in mongosh (mongo-drop-database); FLUSHALL and FLUSHDB on a remote Redis (redis-flush); fly volumes destroy and fly apps destroy (fly-destroy); vercel remove (vercel-remove); gh repo delete and gh api -X DELETE repos/... (gh-repo-delete). Four more commands are routine on a local database and not on a remote one, so the hook asks the person instead of denying (Claude Code only; other hosts deny): DELETE FROM with no WHERE (sql-delete-all), prisma migrate reset (prisma-migrate-reset), prisma db push --accept-data-loss (prisma-accept-data-loss) and rm -rf of the project folder (rm-project-wipe). See guard-pack.
  • Git. A force push to any branch (git-force-push); --force-with-lease is allowed except on main, master, release* and prod*, where it is denied too (git-force-push-protected-branch); deleting main or master (git-delete-default-branch); git reset --hard with git clean -fdx (git-hard-reset-clean).
  • Secret reads. SSH keys, ~/.aws/credentials, gcloud, Azure, kubeconfig, Docker, Railway, GitHub CLI, npm, PyPI, netrc and git credentials, .env files (not .env.example), *.pem, *.key, /etc/shadow, macOS keychains, browser login and cookie stores, and security find-generic-password -w (secret-read-*, keychain-password-dump).
  • Secret writes. AWS key ids, private key headers, GitHub, Slack and Stripe live tokens written into a file (secret-write-*). The trail row never holds the text.
  • Exfiltration. Environment variables or credential files sent to a non-loopback host with curl, wget, nc, ncat, socat, scp or rsync (exfil-*).
  • System destroyers. mkfs, dd to a block device, a fork bomb, chmod -R 777 or chown -R on home or system folders, a download piped into a shell.

Config keys (shellNeverList, secretsGuard, exfilGuard, guardAllow) are read from ~/.kya/config.json only; a project file cannot lift a deny. Details, examples and limits: docs/guard-pack.md.

What it does not block

Moves and renames, edits, and deletes inside the project folder: they are recorded in the audit trail, not blocked. Anything an agent does outside the hook's view: a script it writes then runs, commands built at run time, ssh host "rm -rf ~". Built-in shells of tools that have no hook and do not route through KYA (Cursor, for example, is MCP only). Hosted mode (--plane-config) applies the never-list and the plane's policy, not the guard pack. It is a seatbelt, not a sandbox: the guard pack denies this class of command, and the audit trail records what happened either way.

Uninstall

kya uninstall undoes kya start and kya connect. It removes only the keys KYA added, deletes the files KYA created if they are unchanged, and prints what it left alone. kya uninstall --dry-run shows the plan and changes nothing. kya uninstall --project undoes this directory only. KYA's own data (the trail and report files) is not part of the undo; see docs/uninstall.md.

Commands

kya help lists the six commands a new user needs. kya help --all lists every command in four groups, and kya help <command> shows one command. Nothing was removed or renamed.

GroupCommandsMore
Guardkya start, kya uninstall, kya stop, kya connect, kya doctor, kya hook, kya wrap, kya gate, kya serve-mcp, kya init, kya update, kya version, kya sandbox, kya telemetry, kya postureinstall, hosts and hooks, gateway
Reportkya receipt, kya map, kya export, kya dash, kya investigate, kya alerts, kya discoveractivity record, alerts
Team and hostedkya team, kya login, kya logout, kya eval-toolreference, hosted console
Compliance and evidencekya certify, kya orr, kya importcompliance and evidence

The report opens on Blocked, Activity and Connected tools. Certify, Gateway, System, ORR and cost showback sit behind More in the left menu.

All features

Generated from sdks/kya/features.json by pnpm sync:features. Do not edit by hand. Full list with docs links: docs/features.md.

FeatureCommand or flagStatus
Print versionkya version, --version, -v, -Vstable
One-line startkya start, --no-open, --force, --no-gate, --yes, --dry-run, KYA_YES=1stable
Undo kya startkya uninstall, --project, --dry-run, ~/.kya/manifest.json, ~/.kya/bin/kya-hookstable
Stop report serverkya stop, --allstable
Scaffold configkya init, --forcestable
Wire a coding hostkya connect, --project, --forcestable
Wire PreToolUse hookkya connect, --hooksstable
Point host at gatewaykya connect, --gatebeta
Self-update and version bannerkya update, --no-update-check, KYA_UPDATE_CHECKstable
Node 22 check and handoffnonestable
Homebrew installbrew install The-Pixel-Boys/tap/shield-kyastable
Scoop installscoop install shield-kyabeta
Team rollout: commit plugin pinkya team init, --dry-runbeta
Managed-settings JSON for adminskya team managed-settingsbeta
Team rollout: guard plugin for a repository--guardbeta
Repository policy file.kya/policy.jsonbeta
Opt-in usage statskya telemetry, --purgestable
Global activity recordKYA_HOMEstable
Activity reportkya receipt, --open, --days, --session, --q, --json, --outstable
Near-miss cardkya receipt, --cardstable
Redacted share linkkya receipt, --share, --share-url, --share-retries, KYA_SHARE_URLbeta
Share and claimkya start, kya receipt, --share, kya login, KYA_SHARE_URLbeta
Natural-language search in reportnonebeta
Map of agent actionskya map, --days, --json, --html, --sessionbeta
Agent-flow exportkya export, --format, --days, --session, --out, --forcebeta
Redacted change previewsKYA_DIFF_PREVIEWstable
Terminal deskkya dash, --once, --panestable
IoC checkkya doctor, kya doctor --iocs, --iocs, --json, KYA_IOC=0, ioc.enabled=falsestable
Developer posture report (opt-in)kya posture, status, on, off, send, --dry-run, --json, label, --yesbeta
Cost showbacknonestable
Never-list blockkya hookstable
Guard packkya hookstable
Advisory hook recordkya hookstable
Strict hook modekya hook, --strictstable
Local MCP gate serverkya serve-mcp, --stdio, --portstable
Local MCP gatewaykya gate, kya gate init, kya gate setup, kya gate run, kya gate stop, kya gate status, kya gate doctorbeta
Destructive names and ADMIN tier deniednonebeta
Auto-import of host MCP serverskya start, --no-gate, KYA_GATEbeta
Evaluate and record a commandkya wrap, --offline, --hold, --json, --work-item, --tool-id, --irreversiblestable
Policy evaluate, exit codeskya eval-tool, --offline, --tool-id, --irreversible, --args, --session-risk, --risk, --approval-status, --sandbox-idstable
Read-only ORR boardkya orr run, --path, --producer, --out, --skip-optional-producers, --agentshield-json, --commit-sha, --name, --rubric, --disable-category, --usage, --scorecard, --quiet, --json-stdout, --fail-on, --formatstable
Trust baseline gap reportkya certify, --window, --fail-on, --open, --json-stdout, --catalog, --out, --format, --quietstable
Local attestationkya certify, --attest, --textstable
Self-signed evidence bundlekya certify, --signbeta
EU AI Act mappingnonebeta
Import foreign traceskya import, --from, --filestable
Detections and fix briefskya investigate, --jsonbeta
Endpoint discoverykya discover, --json, --diff, --push, --filebeta
Opt-in Firecracker wrapkya sandbox, --sandbox, --sandbox-id, --cmd, --path, --offline, KYA_SANDBOXbeta
Alertskya alerts, kya alerts status, kya alerts test, kya alerts on, kya alerts off, --json, KYA_ALERTS=on, alerts.desktop, KYA_ALERTS_DESKTOP=offbeta
Local triage model for security alertsKYA_ALERTS=on, KYA_ALERTS=off, KYA_TRIAGE_MODEL_PATHbeta
OTLP exportotlpPortbeta
OTLP map attributesotlpExport.mapAttrsbeta
In-process SDK shimsnonestable
Python framework shimpip install shield-kyabeta
Claude Code plugin/plugin install kya@shield-kyastable
Codex plugincodex plugin add kya@shield-kyastable
Copilot CLI plugincopilot plugin install kya@shield-kyabeta
Gemini CLI extensiongemini extensions installstable
Cursor pluginnonebeta
VS Code extensionnonebeta
GitHub Action kya-certifyuses: The-Pixel-Boys/kya-actionstable
Org HoldKYA_HOLD, --holdstable
Plane connection and keysKYA_API_KEY, KYA_BASE_URL, KYA_HOST, --base-url, --api-key, --host, --agent-idstable
Hosted login (device code)kya login, --base-urlbeta
Sign out on this machinekya logoutbeta
Share calls to actionKYA_QUIET, KYA_CTAbeta

Similar modules

Browse AI agent governance