agent-sec MCP Server
Zero-install security baseline for AI coding agents — OWASP/CWE-cited rules over MCP.
agent-sec scores 57 (Fair), licensed Apache-2.0 and written in JavaScript. It can be reached as a remote MCP endpoint. It declares 2 tools. Filed under Security. GitHub shows 1 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
57 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: apache-2.0.
License, quality and maintenance
Where the 57 comes from
22 + 10 + 1 + 10 + 4 + 10 = 57. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 10 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 1 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: No sign-in detected. Our check reached the endpoint without being asked for credentials. Some servers only check keys after connecting, so follow the provider's setup notes. Security tips
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "kernora-ai-agent-sec": { "url": "https://agentsec.kernora.ai/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools2Tool docs quality grade D
All capabilitiescheck_actiontoolpass an action/command; get back the baseline rules that apply, so the agent can
the full known-good rule set.
About
Kernora Agent Security
A zero-install security baseline for AI coding agents. Point Claude Code, Cursor, or any
MCP-capable agent at one URL and it reads a curated, cited security baseline every session (via a minimal JSON-RPC-over-HTTP MCP subset — works with Claude Code today) — so it
stops shipping the mistakes that cause incidents (a hardcoded secret, a curl | bash, a
prompt-injected "send this to that URL"). When it catches one, it cites the exact rule.
Advisory grounding, free and open. Real-time blocking against your organization's own decisions — plus a tamper-evident audit ledger for EU AI Act / SOC-2 — is the paid Kernora Axiora Integrity Plane.
Live: https://agentsec.kernora.ai
Connect in one line
Add it as an MCP server in your agent's config:
{
"mcpServers": {
"agentsec": { "url": "https://agentsec.kernora.ai/mcp" }
}
}
That's it — no install, no signup. It's read-only: get_security_baseline sends nothing, and check_action sends only the short action text you choose to pass it (never your files, repo, or environment).
Tools exposed:
get_security_baseline— the full known-good rule set.check_action— pass an action/command; get back the baseline rules that apply, so the agent can self-correct. Advisory only — it does not block.
Or read the rules directly: /baseline.json ·
/baseline.yaml
What's inside
15 rules across categories including secrets, injection, supply-chain, destructive ops, permissions, transport, data protection, exfiltration, authz, and VCS safety. Every rule cites a real source — OWASP (incl. the LLM Top 10), CWE identifiers, and regulations (EU AI Act, PCI-DSS, HIPAA).
Self-host
It's a single Cloudflare Worker with no dependencies, no storage, and no secrets.
npm install -g wrangler # if needed
npm test # runs the local test suite (node test.mjs)
wrangler deploy # deploy to your own Cloudflare account
Air-gapped or privacy-strict? Run it on your own infrastructure and point your agents at it.
Free grounds. Paid blocks.
| Kernora Agent Security (this, free) | Kernora Axiora — Integrity Plane (paid) | |
|---|---|---|
| What | Grounds the agent: it knows the baseline and cites it | Blocks in real time against your org's decisions |
| How | Advisory MCP grounding | Tiered verifier, real-time block + attested audit ledger |
| For | Any developer, any agent | Enterprises with agent fleets and compliance obligations |
Talk to us about blocking + attestation: hello@kernora.ai
How it relates to endpoint monitors
Endpoint agent monitors (e.g. Perplexity's Numbat) watch for generically suspicious behavior. Kernora Agent Security supplies what they lack: what's known-good for your codebase. The two are complementary — this project can even export its rules for a monitor to enforce.
Honesty note
This endpoint provides advisory grounding only. A matched rule is guidance; an unmatched action is not an assurance of safety. Real-time enforcement and audit are the paid Integrity Plane.
Claude Code plugin (optional, one command)
Instead of the manual MCP config, install the plugin — it bundles the MCP server, a skill that tells your agent to consult the baseline, an advisory PreToolUse hook (warns before risky commands), and helper commands:
/plugin marketplace add kernora-ai/agent-sec
/plugin install kernora-agent-security
Commands: /agentsec-rules (show every rule), /agentsec-check <action>, /agentsec-report (a LOCAL
view of how many risky actions it caught — nothing is sent to us). Disable the hook anytime with
AGENTSEC_HOOK=0.
See every rule / how effective / how to remove
- See the rules: readable at https://agentsec.kernora.ai/rules · raw at
/baseline.json(or.yaml) · or theget_security_baselineMCP tool. Nothing is hidden. - Effectiveness / reporting: the free tier is stateless and private — we store nothing. The plugin
logs flags LOCALLY (
~/.agentsec/flags.log);/agentsec-reportsummarizes them. Full per-action reporting with a tamper-evident audit ledger is the paid Kernora Axiora plane. - Remove it: Claude Code —
claude mcp remove agentsec(+/plugin uninstall kernora-agent-securityif installed). Cursor — delete theagentsecentry from~/.cursor/mcp.jsonand restart. It's read-only and stores nothing, so nothing is left behind.
About
Kernora Agent Security is built by Kernora on the open Factlet Protocol. Licensed Apache-2.0 (see LICENSE).
Frequently asked questions
What is agent-sec MCP Server?
Zero-install security baseline for AI coding agents — OWASP/CWE-cited rules over MCP.
How do I install agent-sec MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. agent-sec MCP Server connects to the remote endpoint https://agentsec.kernora.ai/mcp, so there is nothing to install locally.
Is agent-sec MCP Server free and open source?
Yes. agent-sec MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does agent-sec MCP Server support remote (HTTP) connections?
Yes. agent-sec MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does agent-sec MCP Server provide?
agent-sec MCP Server provides 2 tools: check_action and get_security_baseline. See the full tool list for descriptions and parameters.
How is agent-sec MCP Server's trust score calculated?
agent-sec MCP Server scores 57 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.