codebase-context (PatrickSys/codebase-context) is an MCP server listed on the M8ven Trust Index. It scores 56 out of 100, grade D. It declares 11 tools. No publisher has claimed this listing.

D
Caution
56/100

codebase-context

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.

Caution. Specific findings reduced this grade. They are listed on the page. Grades reflect the full trust pyramid: code, verification depth, and reputation. New projects cap at C until adoption is earned.

How we verified

⚡ Live Monitored: not connected

Verified is a snapshot. Live keeps it current, and builds your track record.

⚡ Connect GitHub → continuous verification on every pushwhy connect →

Who stands behind it

PatrickSys

Source: Glama · also listed on github_topic

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find. Or connect your repo for our deepest verification, Live Monitored: read-only, revoke anytime. What we access →

Install from

The grade above is for the source repository. Registries can serve a different version, so we mark the ones we were not able to read.

// key findings
🚨
Known vulnerabilities in dependencies: 1 critical, 2 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
🔐
You'll be asked for 1 credential: OPENAI_API_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// known CVEs in dependencies1 critical2 high21 low

Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.

criticalvitest@4.0.18GHSA-5xrq-8626-4rwp

When Vitest UI server is listening, arbitrary file can be read and executed

highglob@10.3.10GHSA-5j98-mcp5-4vw2

glob CLI: Command injection via -c/--cmd executes matches with shell:true

highhono@4.12.12GHSA-88fw-hqm2-52qc

hono: CORS Middleware reflects any Origin with credentials when `origin` defaults to the wildcard

lowhono@4.12.12GHSA-2gcr-mfcq-wcc3

Hono: app.mount() strips mount prefix using undecoded path, causing incorrect routing for percent-encoded paths

lowhono@4.12.12GHSA-3hrh-pfw6-9m5x

Hono: Cookie helper does not sanitize sameSite and priority, allowing Set-Cookie injection

Depend on this server? Get alerted when its CVEs change.Watch this server free →
// environment variables
To run this server yourself, you supply these values. They go in your own MCP client configuration and stay on your machine. The secret label means the value is sensitive, not that the server mishandles it.
configCODEBASE_CONTEXT_ASCII
configCODEBASE_CONTEXT_CONFIG_PATH~/.codebase-context/config.json Override the server config file path
configCODEBASE_CONTEXT_DEBOUNCE_MS
configCODEBASE_CONTEXT_DEBUGSet to 1 for verbose logging
configCODEBASE_CONTEXT_HANDSHAKE_TIMEOUT_MS
configCODEBASE_CONTEXT_HTTPSet to 1 to start in HTTP mode (same as --http flag)
configCODEBASE_CONTEXT_INDEX_STATS_MAX_MB
configCODEBASE_CONTEXT_ONNX_THREADS
configCODEBASE_CONTEXT_PORT3100 HTTP server port override (same as --port; ignored in stdio mode)
configCODEBASE_CONTEXT_STDIO_IDLE_TIMEOUT_MS
configCODEBASE_CONTEXT_TS_GRAMMAR_DIR
configCODEBASE_ROOTBootstrap root for CLI and single-project MCP clients
configEMBEDDING_MODELXenova/bge-small-en-v1.5 Local embedding model override
configEMBEDDING_PROVIDERtransformers openai (fast, cloud) or transformers (local, private)
🔐 secretOPENAI_API_KEYRequired only if using openai provider
// quality suggestions

Tool annotations

No tools have read-only/destructive annotations

Add readOnlyHint or destructiveHint annotations to every tool so hosts can warn users before invoking.

All four hints declared on every tool

11/11 tools missing one or more hints — detect_circular_dependencies (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); get_codebase_health (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); get_codebase_metadata (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint), +8 more. OpenAI's directory rejects tools where any of the four hints are missing or non-boolean.

For every tool, set all four hints (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) to explicit true/false values that match the handler’s actual behaviour.

Shell command execution

1 child_process/subprocess call in production code — runs shell commands (src/cli-init.ts:268)

Prefer library functions over shell-outs. If you must shell out, ensure all inputs are properly escaped.

Production dependencies are patched

0 critical, 2 high severity in production deps — glob@10.3.10 (high), hono@4.12.12 (high)

Run npm audit fix, or upgrade the affected packages to a non-vulnerable version.

Dev dependencies

1 critical/high in dev-only deps (does not ship to users)

Upgrade dev dependencies when convenient.

Claim the listing to review these findings one by one and send us a correction where you disagree, straight to the team. Claiming also means we tell you when the grade moves, and reach you first if we find anything urgent.

// full audit trail
The findings above are the summary. The full trail, every check we ran, each deduction, the network hosts observed and the dependency advisories, goes to verified publishers, along with an alert whenever a new one lands. Verified publishers can also review each finding and dispute it in one click. Publisher corrections have sharpened several of our checks this month, because the maintainer knows the codebase better than any scanner.
// improvement guidance — verified publishers only
We have 5 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Verified](https://m8ven.ai/badge/mcp/patricksys/codebase-context?variant=verified)](https://m8ven.ai/mcp/patricksys/codebase-context)
Shows verification status without the grade. Want the grade badge instead? Remove ?variant=verified from the URL.
commit: a8e354e23826df3edbf4ae4dd50d6c494559d7f9
code hash: f64e3b529db6f8c9dc1dbb3dc73d6ad64bf3bd092b7ad48b5b0af8d47d33041d
view raw JSON →
Check MCPs from inside your assistant
Tool Check · MCP

Vetting this one by hand? Tool Check is an MCP that scores other MCPs. Add it once and ask Claude, ChatGPT, or any MCP client to grade a server, surface CVEs, check the publisher, and suggest safer alternatives — before you install.

https://m8ven.ai/api/mcp/tool-check
check_toolsearch_toolscompare_toolsrecommend_alternativescheck_publisherreport_concern
How to add it →Free · no account needed · works in any MCP client