Codna — repository intelligence MCP server
Map a repo before spending a token: triage, bug-fix PRs, SARIF reachability, on-device recall.
not scanned yet
0 stars
Reviews
Write oneNobody has reviewed Codna — repository intelligence yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Codna — repository intelligence tools
No tool declarations could be read from the package source. They show once the server is installed.
What the publisher says
From the Codna — repository intelligence repository's README, as published. We do not edit it. Read it on GitHub
Codna
<!-- mcp-name: io.github.thyn-ai/codna -->
Understand. Fix. Evolve.
Agents read your code. Codna understands it.
Codna maps a repository before it spends a token. It then reviews pull requests, fixes bugs and proves which scanner findings are reachable. The same codna command runs on your machine, in the GitHub Action and behind the GitHub App.
Runs on your machine or your cloud. Your code never leaves without your key.
Install
pip install codna # or: pipx install codna · uv tool install codna
codna --versionPython 3.12–3.13. Wheels for macOS on Apple silicon and Linux x86_64. git on your PATH. Nothing else to install: no Node, Bun, Docker or server. The agent runtime ships inside the wheel.
Local commands need no Codna key. fix and review use your own model provider key, stored in the OS keychain and never printed:
codna key set anthropic # also: openai, gemini, google, groq, mistral, openrouter, xai, cursorCommands
codna triage . --issue "checkout total is wrong" # suspect files. Deterministic. 0 LLM tokens.
codna review . --pr 123 --post # findings with a verdict on the pull request
codna fix . --tests --apply --max-iterations 3 # patch, re-run your tests, re-fix until green
codna fix <git url> --ref <sha> --issue "…" --open-pr # push a branch and open a pull request
codna secure . --from-sarif results.sarif # which scanner findings are reachable. 0 LLM tokens.codna fix prints the root cause, the impacted symbols, the blast radius, its confidence and a regression risk. --open-pr needs a git URL and a GitHub write token. codna review posts one inline comment per finding with severity, category and a suggestion block, and an Approve when the diff is clean at medium and high. codna secure reads SARIF 2.1.0 from CodeQL, Semgrep, Snyk, Trivy or any other scanner.
Other commands: init, status, doctor, login, key, impact, memory export, report. Full reference: docs.codna.ai/reference/cli.
MCP server
Run Codna as a Model Context Protocol server over stdio — the same engine the CLI uses, inside Cursor, Claude Desktop, or your own agent:
pipx install "codna[mcp]" # or: pip install "codna[mcp]"
codna mcp # serve over stdio
codna mcp install --client cursor # optional: write the client config for you (or --client claude)Five tools, each returning JSON; a failure comes back as codna_ error: … text and never crashes the server:
3 of 5 tools need no key at all — codnatriage, codnasecure and codna_recall run with zero credentials and zero network calls. Full reference: docs.codna.ai/guides/mcp.
Code memory
Code memory and recall run on your machine with no login and no extra install. The optional codna[memory] extra adds the on-device semantic reranker; without it, recall ranks lexically.
What leaves your machine
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Install directly
claude mcp add codna -- uvx codna
Codna — repository intelligence: common questions
- Is Codna — repository intelligence MCP server safe?
- Mostly: it is graded B (82/100). Read the Codna — repository intelligence safety report
- How do I install Codna — repository intelligence?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does Codna — repository intelligence need an API key?
- Yes. The registry entry asks for
ANTHROPIC_API_KEY,GITHUB_TOKEN,CODNA_API_KEY. - Is Codna — repository intelligence maintained?
- The last commit was in the last day (2026-09-23). The latest release is v0.2.86.
- What can I use instead of Codna — repository intelligence?
- Servers from other publishers that do the same job: Agentmap MCP server, Repo Graph MCP server and Dekko MCP server. Compare all Codna — repository intelligence alternatives.
Alternatives to Codna — repository intelligence
Same job from other publishers: the closest match first, then the best rated.
- AgentmapThe TS/JS-accurate repo map for coding agents: ts-morph import/symbol/call graph + MCP query toolsnot reviewedGrowingA
- Repo GraphStructural graph map of any codebase so LLMs navigate by structure, not guesswork.not reviewedGrowingA
- DekkoStatic code map generator: MAP.md + map.json for any repo, plus a Claude Code /map pluginnot reviewedGrowingA
WhalesyncBuild and manage Whalesync syncs: connect apps, map tables and fields, monitor and fix issues.not reviewedGrowingA- Payroll Deduction Code AuditTwelve rules over the deduction-code map, before the January 31 W-2 filing datenot reviewedNewA