MCP server · Audited from source
CodeTree MCP server
by thinkyminer/codetreeMIT licenceAudited 8 Oct 2026 · source ffd017b8e557
Is it safe? Yes — SAFE, grade B (89/100). It exposes 23 tools: 22 read, 1 write and 0 destructive. The audit recorded 7 findings (0 critical, 0 high, 0 medium, 6 low). Maintainer's description: MCP server with 23 tools for structured code understanding via tree-sitter. 10 languages. 999 tests. One-command install.
Cite
Cite this page
ModelsAtlas. “CodeTree MCP server (thinkyminer/codetree)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/thinkyminer/codetree
Trust audit
Audit 0.4.1 · full source read 8 Oct 2026
7 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
- FilesystemNone observedNothing seen in the source
- NetworkNone observedNothing seen in the source
- ShellNone observedNothing seen in the source
- DependenciesPinnedNothing floats
- 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 | PASS |
L1 Static source | Secrets, path traversal, supply chain | PASS 6 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 1 finding |
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
thinkyminerUser accountAccount type recorded when we read the repository. - PackagePublished on PyPI
mcp-server-codetree, no version recorded - LicenceMITFrom the repository, as read at the audited commit.
- Last push4 months agoActivity of the repository when we read it.
- Source commit readffd017b8e557The audit covers exactly this commit, read on 8 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory23 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 (7)
Sorted by severity
LOWFilesystem / pathfs.credential_store · tests/test_path_security.py:28
"/root/.ssh/id_rsa",
- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/test_path_security.py:19
"../../../etc/passwd",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/test_path_security.py:20
"../../secret.txt",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/test_path_security.py:22
"src/../../etc/shadow",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/test_path_security.py:126
result = server_and_tools["find_dead_code"]("../../../etc/passwd")- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/test_path_security.py:146
result = server_and_tools["analyze_dataflow"]("../../../etc/passwd", "main")- Why
- No further detail recorded for this rule.
- Fix
- —
INFOSupply chainprompt.pipe_to_shell · README.md:14
**Prerequisite:** Install [uv](https://docs.astral.sh/uv/getting-started/installation/) if you don't have it (`curl -LsSf https://astral.sh/uv/install.sh | sh`).
- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
23 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
get_imports | write | Get import/use statements from a source file. |
analyze_dataflow | read | Analyze variable dataflow and security taint paths in a function. |
detect_clones | read | Find duplicate or near-duplicate functions in the repo. |
find_dead_code | read | Find symbols that are defined but never referenced elsewhere in the repo. |
find_hot_paths | read | Find high-leverage optimization targets by combining complexity and call frequency. |
find_references | read | Find all usages of a symbol across the entire repo. |
find_tests | read | Find test functions associated with a symbol. |
get_blast_radius | read | Find all functions transitively affected if a symbol is changed. |
get_call_graph | read | Get what a function calls and what calls it across the repo. |
get_change_impact | read | Analyze impact of a change — by explicit symbol or git diff. |
get_complexity | read | Get cyclomatic complexity of a function. |
get_dependency_graph | read | Get the file dependency graph as Mermaid syntax or a list. |
get_file_skeleton | read | Get all classes and function signatures in a source file without their bodies. |
get_repository_map | read | Get a compact overview of the repository for onboarding. |
get_skeletons | read | Get skeletons for multiple files in one call. |
get_symbol | read | Get the full source code of a specific function or class by name. |
get_symbols | read | Get the full source code of multiple symbols in one call. |
git_history | read | Analyze git history: blame, churn, or change coupling. |
index_status | read | Report on graph index freshness and stats. |
resolve_symbol | read | Disambiguate a short symbol name into ranked qualified matches. |
search_graph | read | Search the code graph with flexible filters and pagination. |
search_symbols | read | Search for symbols across the repo with flexible filters. |
suggest_docs | read | Find undocumented functions and assemble context for writing docs. |
Install
audited commit ffd017b
One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit ffd017b only.
claude mcp add mcp-server-codetree -- uvx mcp-server-codetree
{
"mcpServers": {
"mcp-server-codetree": {
"command": "uvx",
"args": [
"mcp-server-codetree"
]
}
}
}The command does not pin a version; the audit covers commit ffd017b8e557. Transport: not declared. No environment variables required.
Audit history
- ✓SAFE B 89 / 100
First audit ·
ffd017b8e557
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/thinkyminer/codetree/)
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 CodeTree MCP server
What is the CodeTree MCP server?
What tools does CodeTree expose?
Is CodeTree safe to connect to an agent?
What credentials does CodeTree need?
How current is this page?
Sources
- thinkyminer/codetree on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
- ModelsAtlas trust audit — SAFE verdict for commit ffd017b8e557Observed · 8 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 CodeTree MCP server?
- What tools does CodeTree expose?
- Is CodeTree safe to connect to an agent?