Evidence-traced codebase understanding and security scanning for AI agents over MCP.
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.
Persistent codebase intelligence for AI coding agents
Rune continuously maps your codebase and exposes an evidence-backed understanding through MCP, enabling AI agents to work with your software without rebuilding context from scratch.
Claude Code Β· Cursor Β· Codex Β· Claude Desktop Β· MCP
AI coding agents are powerful.
But every new session has the same problem:
They have to rediscover your codebase.
They read files, reconstruct context, infer relationships, and build a mental model of your project before they can reliably answer questions.
Rune gives AI agents a persistent, queryable understanding of your codebase.
| Without Rune | With Rune |
|---|---|
| AI rereads the repository | AI queries an existing understanding |
| Context is rebuilt every session | Understanding persists |
| Each agent builds its own mental model | Agents can query the same project model |
| Answers can be difficult to verify | Answers can point to source evidence |
| Manual rescanning | rune watch keeps the model current |
One codebase. One persistent understanding. Many AI agents.
Ask your AI agent:
"Where is the UserCard component defined?"
Rune can provide:
The value isn't only the answer. It's the evidence behind the answer.
Rune is designed to make code intelligence inspectable rather than blindly trusted.
Node.js
Python
Both distributions provide the rune CLI.
Note: If both distributions are installed globally, your shell will use whichever
runeexecutable appears first on yourPATH. Runwhich -a runeto see which executable is being used.
Rune will now maintain an understanding of your project and expose it to compatible AI clients through MCP.
One-time scan (no continuous monitoring needed):
Rune separates facts from derived understanding.
A fact might look like:
A derived conclusion is constructed from multiple facts. The result is an inspectable chain:
Call rune explain <id> (or the rune_explain MCP tool) on anything and get that chain back.
Beyond structural understanding, Rune does a static-analysis pass for common security regressions -- same evidence-traced model as everything else: every finding cites file, line, and matched text.
| Detector | Catches | Severity range |
|---|---|---|
| Secret exposure | Hardcoded AWS/GitHub/Stripe/Slack keys, private key blocks | medium - critical |
| Dangerous shell exec | Dynamic command construction reaching exec/execSync/spawn -- not just any use of these functions | high |
| CI/CD workflow risk | Dangerous GitHub Actions permissions, the "pwn request" pattern | medium - critical |
| Dependency typosquat | Package names closely resembling popular packages (e.g. expres vs express) | medium (static-only) |
All four are deliberately conservative and context-aware: findings inside test/fixture files or a detector's own pattern-definition code are automatically downgraded, never silently hidden. Each detector has its own test suite covering both true- and false-positive cases.
Rune can record durable, project-specific knowledge that survives across sessions, separate from the code-understanding graph:
Nothing is trusted automatically. Every new entry starts as proposed; a human must explicitly approve it before it's surfaced to an AI client as reliable -- enforced in code, not just policy.
Rune is designed for workflows where multiple AI agents need to understand the same codebase.
Supported MCP Clients: Claude Code Β· Cursor Β· Codex Β· Claude Desktop Β· Custom MCP clients
Instead of requiring every agent to reconstruct the repository independently, Rune provides a shared project understanding through MCP.
Rune currently focuses on common JavaScript and TypeScript application structures.
Frameworks: React Β· Next.js Β· Express
Code Intelligence:
Support is intentionally focused while the project continues to evolve.
Most AI systems provide an answer. Rune aims to provide:
The answer + the evidence supporting it.
Don't just give the AI an answer. Give it the evidence behind the answer.
| Tool | Purpose |
|---|---|
rune_get_overview | Architecture summary |
rune_list_components | All detected React components |
rune_list_routes | Express and Next.js routes |
rune_search | Search facts and derived nodes |
rune_explain | Full evidence trail for any id |
rune_get_file_dependencies | Internal import graph for a file |
rune_get_memory | Project conventions and rules (with approval status) |
rune_get_experience | History of past task attempts and outcomes |
rune_get_security_findings | All security findings, filterable by severity/category -- the single call for "any security risks here?" |
rune_rescan | Re-scan on demand after code changes |
| Command | Description |
|---|---|
rune init [dir] | Initialize Rune in a project |
rune scan [dir] | One-time scan (--timeout=<seconds> to bound scan time on very large repos) |
rune watch [dir] | Watch for changes and rebuild |
rune serve [dir] | Start the MCP server |
rune explain <id> | Show evidence for a fact or finding |
rune memory add/list/approve/reject | Manage project memory |
rune experience add/list | Log and review past task outcomes |
rune --version | Show the installed version |
Rune does not modify your source code. It maintains its own project data under .rune/. Your source remains yours.
Rune's role is simple: Read. Understand. Explain. Suggest -- never silently modify.
If you share Rune's generated graph or memory files with an AI client, remember they may contain information from your codebase -- treat them like any other file that quotes snippets of your source.
A single malformed or unusual file can't take down an entire scan -- parsing failures are caught per-file, logged, and the scan continues. Scan results report real coverage (files discovered vs. supported vs. scanned vs. failed), and a repository with no supported source files is reported honestly as such rather than as a clean "no findings."
Rune is built for developers who:
Rune is not:
Rune focuses on one problem: helping AI agents understand an existing codebase through persistent, inspectable context -- with a security layer built on the same evidence-first principle.
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/rune)<a href="https://allmcps.com/mcp/rune"><img src="https://allmcps.com/api/badge/rune?style=directory" alt="Rune on AllMCPs" /></a>