ToolTrust
C32/100
vitali87

code-graph-rag

mcp0.0.148

@vitali87

The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with the power of AI and knowledge graphs

By vitali87 | 46 findings | Scanned 3/25/2026 | tooltrust-scanner/v0.2.1 | 2.2k

23 High1 Medium22 Low

Risk Summary

Needs Approval

Excessive Permissions plus Missing Rate Limits raises enough risk that this tool should not be auto-trusted.

Potential impact: The agent may gain overly broad access to files, network, databases, or execution capabilities.

Recommended action: Keep this tool behind manual approval and avoid unattended runs until the risky capabilities are narrowed or removed.

Suggested policy: keep this tool behind manual approval, do not allow unattended runs, and re-scan after narrowing risky permissions.

Security Findings (46)

  • HighAS-002

    ⚠️Excessive Permissions ×23

    tool declares network permission

    generate_knowledge_graphcreate_knowledge_graphanalyze_textgenerate_content_gapsgenerate_topical_clustersgenerate_research_questionsgenerate_research_ideasoptimize_text_structuregenerate_responses_from_graphdevelop_conceptual_bridgesdevelop_latent_topicsdevelop_text_toolgenerate_contextual_hintmerged_graph_from_textsdifference_between_textsanalyze_google_search_resultsanalyze_related_search_queriessearch_queries_vs_search_resultsgenerate_seo_reportsearchfetch

    tool declares exec permission

    generate_contextual_hintretrieve_from_knowledge_base

    Fix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.

  • MediumAS-002

    ⚠️Excessive Permissions

    create_knowledge_graph:tool declares fs permission

    Fix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.

  • LowAS-011

    ℹ️Missing Rate-Limit / Timeout ×22

    tool performs network or execution operations but declares no rate-limit, timeout, or retry configuration

    generate_knowledge_graphcreate_knowledge_graphanalyze_textgenerate_content_gapsgenerate_topical_clustersgenerate_research_questionsgenerate_research_ideasoptimize_text_structuregenerate_responses_from_graphdevelop_conceptual_bridgesdevelop_latent_topicsdevelop_text_toolgenerate_contextual_hintmerged_graph_from_textsdifference_between_textsanalyze_google_search_resultsanalyze_related_search_queriessearch_queries_vs_search_resultsgenerate_seo_reportretrieve_from_knowledge_basesearchfetch

    Fix: Declare explicit rate-limit, timeout, and retry configuration for all network and execution tools. Implement exponential back-off and surface resource state to the calling agent.

Scan this tool yourself

Reproduce this audit locally, integrate into CI, or let your agent audit its own tools.

Install once, then scan any MCP server:

$ curl -sfL https://raw.githubusercontent.com/AgentSafe-AI/tooltrust-scanner/main/install.sh | bash
$ tooltrust-scanner scan --server "npx -y code-graph-rag"

Adjust the package name if your npm registry name differs from the tool ID. View source

Add badge to your README

Copy this Markdown to show your ToolTrust grade on GitHub.

[![ToolTrust Grade C](https://raw.githubusercontent.com/AgentSafe-AI/tooltrust-directory/main/docs/badges/grade-c.svg)](https://github.com/AgentSafe-AI/tooltrust-directory)