MCP server · Audited from source
Code Knowledge MCP server
by davidvc/code-knowledge-mcptoolNo licenceAudited 9 Oct 2026 · source 0b878a002580
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
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
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
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 3 findings |
L1 Static source | Secrets, path traversal, supply chain | WARN 2 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 11 findings |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
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 PyPI
code-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
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
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInventory / provenanceinv.no_license
- Why
- no LICENSE file and no repo licence
- Fix
- add a licence
LOWPrompt injectionreview.instruction_override · clinerules_template.md
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
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
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
"""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
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
# 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
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
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
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
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
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
| Tool | Risk | What it does |
|---|---|---|
add_knowledge | write | Add new knowledge to the repository. |
search_knowledge | read | Search 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
{
"mcpServers": {
"code-knowledge-store": {
"command": "uvx",
"args": [
"code-knowledge-store"
]
}
}
}The command does not pin a version; the audit covers commit 0b878a002580. Transport: not declared. No environment variables required.
Audit history
- !CAUTION B 83 / 100
First audit ·
0b878a002580
README badge
For maintainers · updates on every re-audit
[](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?
What tools does Code Knowledge expose?
Is Code Knowledge safe to connect to an agent?
What credentials does Code Knowledge need?
How current is this page?
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.
- What is the Code Knowledge MCP server?
- What tools does Code Knowledge expose?
- Is Code Knowledge safe to connect to an agent?