MCP server · Audited from source
Codebase Context MCP server
by patricksys/codebase-contextNOASSERTION licenceAudited 7 Oct 2026 · source a2d12099718b
Is it safe? With care — CAUTION, grade B (86/100). It exposes 12 tools: 11 read, 1 write and 0 destructive. The audit recorded 17 findings (0 critical, 1 high, 0 medium, 16 low). Maintainer's description: Codebase Context gives AI agents understanding of your codebase through semantic code search, team conventions, patterns, and memory, so they use fewer tokens, spend less time, and produce better, more familiar output.
Cite
Cite this page
ModelsAtlas. “Codebase Context MCP server (patricksys/codebase-context)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/patricksys/codebase-context
Trust audit
Audit 0.4.1 · full source read 7 Oct 2026
17 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
- FilesystemDeclared7 observations
- NetworkDeclared1 observation
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“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 | FAIL 3 findings |
L1 Static source | Secrets, path traversal, supply chain | PASS 12 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 2 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
patricksysUser accountAccount type recorded when we read the repository. - PackagePublished on npm
eval-controlled-fixtureat version 1.0.0 - LicenceNOASSERTIONFrom the repository, as read at the audited commit.
- Last pushTodayActivity of the repository when we read it.
- Source commit reada2d12099718bThe audit covers exactly this commit, read on 7 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory12 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 (17)
Sorted by severity
HIGHInventory / provenanceinv.suspicious_name · src/tools/search-payload-budget.ts
search-payload-budget.ts
- Why
- member named after an attack tool
- Fix
- remove or justify
LOWInsecure cryptocrypto.weak_hash · src/eval/harness.ts:101
return crypto.createHash('sha1').update(normalizePath(filePath)).digest('hex').slice(0, 8);- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/analyzers/angular/index.ts:21
} from '../../types/index.js';
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/analyzers/angular/index.ts:22
import { createChunksFromCode } from '../../utils/chunking.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/analyzers/angular/index.ts:26
} from '../../constants/codebase-context.js';
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/analyzers/angular/index.ts:27
import { registerComplementaryPatterns } from '../../patterns/semantics.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/analyzers/generic/index.ts:18
} from '../../types/index.js';
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · .github/workflows/contextbench-final-lane-readiness.yml:31
OLLAMA_HOST: http://127.0.0.1:11434
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · .github/workflows/contextbench-grepai-readiness.yml:23
OLLAMA_HOST: http://127.0.0.1:11434
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · .github/workflows/contextbench-infra-lane-readiness.yml:31
OLLAMA_HOST: http://127.0.0.1:11434
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · docs/capabilities.md:12
| **HTTP** | `npx -y [email protected] --http [--port N]` | `http://127.0.0.1:3100/mcp` |
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · docs/client-setup.md:326
The documented default endpoint is `http://127.0.0.1:3100/mcp`. Config-shape templates are available in [`templates/mcp/stdio/.mcp.json`](../templates/mcp/stdio/.mcp.json) and [`templates/mcp/http/.mc
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@huggingface/transformers, @inquirer/prompts, @lancedb/lancedb, @modelcontextprotocol/sdk, @typescript-eslint/typescript-estree, chokidar, fuse.js, glob
- Why
- 30 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainprompt.pipe_to_shell · tests/fixtures/README.md:249
curl -sSL https://raw.githubusercontent.com/yoanbernabeu/grepai/main/install.sh | sh
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainprompt.pipe_to_shell · tests/fixtures/README.md:280
curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash
- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
12 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
detect_circular_dependencies | write | Analyze the import graph to detect circular dependencies between files. |
echo_search | read | Echoes the incoming query |
get_codebase_health | read | Get actionable codebase health signals from the latest index. Returns the highest-risk files and their reasons, or a single file when requested. |
get_codebase_metadata | read | Get codebase metadata including framework information, dependencies, architecture patterns, |
get_indexing_status | read | Get current indexing status: state, statistics, and progress. |
get_memory | read | Retrieves team conventions, architectural decisions, and known gotchas.\n |
get_style_guide | read | Query style guide rules and architectural patterns from project documentation. |
get_symbol_references | read | Find concrete references to a symbol in indexed chunks. Returns total usageCount and top usage snippets. |
get_team_patterns | read | Get actionable team pattern recommendations based on codebase analysis. |
refresh_index | read | Re-index the codebase. Supports full re-index or incremental mode. |
remember | read | CALL IMMEDIATELY when user explicitly asks to remember/record something.\n\n |
search_codebase | read | Search the indexed codebase. Default compact mode returns at most 6 ranked results with |
Install
Package version 1.0.0 · audited commit a2d1209
Read the findings first. The most severe is Inventory / provenance (high) at src/tools/search-payload-budget.ts.
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 1.0.0. The audit covers commit a2d1209 only.
claude mcp add eval-controlled-fixture --env OPENAI_API_KEY=${OPENAI_API_KEY} -- npx -y [email protected]{
"mcpServers": {
"eval-controlled-fixture": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"OPENAI_API_KEY": "${OPENAI_API_KEY}"
}
}
}
}The command pins the package version recorded in the source (1.0.0); the audit covers commit a2d12099718b. Transport: stdio · streamable-http. Reads this environment variable: OPENAI_API_KEY. Give it the narrowest token it needs.
Audit history
- !CAUTION B 86 / 100
First audit ·
a2d12099718b
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/patricksys/codebase-context/)
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 Codebase Context MCP server
What is the Codebase Context MCP server?
What tools does Codebase Context expose?
Is Codebase Context safe to connect to an agent?
What credentials does Codebase Context need?
How does Codebase Context run?
How current is this page?
Sources
- patricksys/codebase-context on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit a2d12099718bObserved · 7 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 Codebase Context MCP server?
- What tools does Codebase Context expose?
- Is Codebase Context safe to connect to an agent?