Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Code Knowledge MCP server

by davidvc/code-knowledge-mcptoolNo licenceAudited 9 Oct 2026 · source 0b878a002580

PyPI code-knowledge-store★ 24
!CAUTIONGrade B · 83/100 · 9 Oct 2026 · 0b878a0
24GitHub stars

Is it safe? With care — CAUTION, grade B (83/100). It exposes 2 tools: 1 read, 1 write and 0 destructive. The audit recorded 16 findings (0 critical, 0 high, 2 medium, 4 low). Maintainer's description: MCP tool that lets Cline inquire about a code base

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Code Knowledge MCP server (davidvc/code-knowledge-mcptool)”. Retrieved 9 Oct 2026. https://modelsatlas.com/mcp/davidvc/code-knowledge

Trust audit

Audit 0.4.1 · full source read 9 Oct 2026

Trust score83/100!CAUTION B
0 critical0 high2 medium4 low10 info

16 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared1 observation
  • NetworkDeclared2 observations
  • ShellNone observedNothing seen in the source
  • DependenciesPinnedNothing floats
  • SecretsFoundSee the findings

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 3 findings
L1 Static sourceSecrets, path traversal, supply chainWARN 2 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 11 findings
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner davidvcUser accountAccount type recorded when we read the repository.
  • PackagePublished on PyPIcode-knowledge-store, no version recorded
  • LicenceNone declaredFrom the repository, as read at the audited commit.
  • Last push20 months agoActivity of the repository when we read it.
  • Source commit read0b878a002580The audit covers exactly this commit, read on 9 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory2 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (16)

Sorted by severity

MEDIUMHard-coded secretssecret.db_uri · memory-bank/modelcontextprotocol-python-sdk.txt:2043
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.db_uri · memory-bank/modelcontextprotocol-python-sdk.txt:2304
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.hidden_file · .clinerules
F-13 Inventory / provenanceCWE-1104Layer L0
.clinerules
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .gitmodules
F-13 Inventory / provenanceCWE-1104Layer L0
.gitmodules
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.no_license
F-13 Inventory / provenanceCWE-1104Layer L0
Why
no LICENSE file and no repo licence
Fix
add a licence
LOWPrompt injectionreview.instruction_override · clinerules_template.md
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
Before making any decisions or providing guidance, you should: 1. Query relevant context from the knowledge base
Why
The clinerules_template.md instructs the AI agent to always query the knowledge base before making any decisions or providing guidance, which steers the agent to prioritize the knowledge base over the user's direct instructions and intent.
Fix
rewrite it so the instruction says plainly what it does, and asks the user before it acts
INFOPrompt injectionprompt.authority_framing · memory-bank/mcp-python-sdk.md:365
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
For more control, you can use the low-level server implementation directly. This gives you full access to the protocol and allows you to customize every aspect of your server, including lifecycle mana
Why
No further detail recorded for this rule.
Fix
—
INFOPrompt injectionprompt.authority_framing · memory-bank/modelcontextprotocol-python-sdk.txt:551
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
For more control, you can use the low-level server implementation directly. This gives you full access to the protocol and allows you to customize every aspect of your server, including lifecycle mana
Why
No further detail recorded for this rule.
Fix
—
INFOPrompt injectionprompt.credential_read · memory-bank/modelcontextprotocol-python-sdk.txt:1461
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
"""Load environment variables from .env file."""
Why
asks the agent to read credentials
Fix
—
INFOPrompt injectionprompt.credential_read · memory-bank/modelcontextprotocol-python-sdk.txt:5061
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
help="Load environment variables from a .env file",
Why
asks the agent to read credentials
Fix
—
INFOPrompt injectionprompt.credential_read · memory-bank/modelcontextprotocol-python-sdk.txt:5116
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
# Load from .env file if specified
Why
asks the agent to read credentials
Fix
—
INFOPrompt injectionprompt.credential_read · memory-bank/modelcontextprotocol-python-sdk.txt:5126
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
logger.error(f"Failed to load .env file: {e}")
Why
asks the agent to read credentials
Fix
—
INFOPrompt injectionprompt.credential_read · memory-bank/modelcontextprotocol-python-sdk.txt:5129
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
logger.error("python-dotenv is not installed. Cannot load .env file.")
Why
asks the agent to read credentials
Fix
—
INFOSupply chainprompt.pipe_to_shell · README.md:38
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl https://ollama.ai/install.sh | sh
Why
No further detail recorded for this rule.
Fix
—
INFOSupply chainprompt.pipe_to_shell · memory-bank/modelcontextprotocol-python-sdk.txt:14390
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -LsSf https://astral.sh/uv/install.sh | sh
Why
No further detail recorded for this rule.
Fix
—
INFOSupply chainprompt.pipe_to_shell · memory-bank/systemPatterns.md:10
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -LsSf https://astral.sh/uv/install.sh | sh
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

2 declared in source · 0 destructive

1 read1 write0 destructive
ToolRiskWhat it does
add_knowledgewriteAdd new knowledge to the repository.
search_knowledgereadSearch existing knowledge.

Install

audited commit 0b878a0

Read the findings first. The most severe is Hard-coded secrets (medium) at memory-bank/modelcontextprotocol-python-sdk.txt.

One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit 0b878a0 only.

claude mcp add code-knowledge-store -- uvx code-knowledge-store

The command does not pin a version; the audit covers commit 0b878a002580. Transport: not declared. No environment variables required.

Audit history

  1. !CAUTION B 83 / 100

    First audit · 0b878a002580

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/davidvc/code-knowledge/badge.svg)](https://modelsatlas.com/mcp/davidvc/code-knowledge/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Code Knowledge MCP server

What is the Code Knowledge MCP server?
MCP tool that lets Cline inquire about a code base
What tools does Code Knowledge expose?
2 in total: 1 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Code Knowledge safe to connect to an agent?
With care. The audit graded it B (83/100) and found 16 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does Code Knowledge need?
No credential environment variables were found in its source, so it appears to need none.
How current is this page?
The grade is for one exact copy of the source (0b878a002580), read on 2026-10-09. The repository is watched and re-audited when it changes.

Sources

  • davidvc/code-knowledge-mcptool on GitHub — the source we read, its licence, stars and activityObserved · 9 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit 0b878a002580Observed · 9 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.