codegraph-mcp (weaming/codegraph-mcp) is an MCP server listed on the M8ven Trust Index. It scores 74 out of 100, grade C. It declares 6 tools. No publisher has claimed this listing.

C
Caution
74/100

codegraph-mcp

This MCP server enables managing Git repositories via shallow clones and analyzing them with CodeGraph. It provides tools for adding, listing, updating, deleting repositories, and exploring codegraph status and exploration.

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

Code 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

weaming

Source: Glama

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
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
// tools this server exposes6 tools

These names and descriptions are the publisher's own, read from the source code. We print them as written. Our assessment is the findings above, not this list.

repo_add

Add a repository with an HTTPS shallow clone. If id is omitted, derive it from the Git URL owner/name. Run codegraph init after adding it.

repo_list

List all cloned owner/name repositories and their CodeGraph status.

repo_update

Update a shallow clone to the latest remote commit, then sync or initialize its CodeGraph index.

repo_delete

Delete a repository and its CodeGraph index.

codegraph_status

Return the CodeGraph index status. Run codegraph init automatically when the repository is not indexed.

codegraph_explore

Analyze the structure of a repository with CodeGraph. Run codegraph init automatically when the repository is not indexed.

// 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.
configCODEGRAPH_CLI
configCODEGRAPH_NODE
configCODEGRAPH_REPO_ROOT/repos Repository root inside the container
configHOST
configHTTPS_PROXYGit uses HTTPS shallow clones with depth 1. Set when GitHub access requires a proxy:
confighttps_proxy
Deployment configuration, supplied by whoever hosts the server. Users are not asked for these.
deployPORT
// 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

6/6 tools missing one or more hints — repo_add (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); repo_list (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); repo_update (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint), +3 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.

Destructive tools are labelled

1 tool perform destructive updates without destructiveHint — repo_delete deletes at line 250 (fs.rm(repo.directory, { recursive: true, force: true }))

Add destructiveHint:true to any tool whose handler calls .delete(), .upsert(), .update(), unlink, rm, DELETE, DROP, REPLACE INTO, or any operation that overwrites existing data.

Tool inputs are validated

5/6 tool handlers declare input schemas (83%)

Declare an inputSchema with zod/joi/yup on every tool definition.

License file

No license file

Add a LICENSE file (MIT, Apache-2.0, etc.).

Tests exist

No test files found

Add tests that exercise each declared tool.

Shell command execution

2 child_process/subprocess calls in production code — runs shell commands (src/index.ts:134, src/index.ts:147)

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

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 7 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/weaming/codegraph-mcp?variant=verified)](https://m8ven.ai/mcp/weaming/codegraph-mcp)
Shows verification status without the grade. Want the grade badge instead? Remove ?variant=verified from the URL.
commit: 8b2650840fce59e5d71c19253bc2d7b7b35a60aa
code hash: 36e668da694dd0d4082b7ffe81a8130342842106263c88bdd1ca6c4e8208ff25
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