MCP server · Audited from source
jDocMunch MCP server
by jgravelle/jdocmunch-mcpNOASSERTION licenceAudited 6 Oct 2026 · source d388761fe3fa
Is it safe? No — BLOCK, grade D (69/100). It exposes 23 tools: 20 read, 2 write and 1 destructive. The audit recorded 26 findings (0 critical, 5 high, 1 medium, 20 low). Maintainer's description: The leading, most token-efficient MCP server for documentation exploration and retrieval via structured section indexing
Cite
Cite this page
ModelsAtlas. “jDocMunch MCP server (jgravelle/jdocmunch-mcp)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/jgravelle/jdocmunch
Why this is BLOCK. The audit found 0 critical and 5 high findings; the most severe is Filesystem / path at src/jdocmunch_mcp/security.py:84. Each finding is listed below with its file and line.
Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.
Trust audit
Audit 0.4.1 · full source read 6 Oct 2026
26 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
- NetworkDeclared5 observations
- ShellNone observedNothing seen in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Findings (26)
Sorted by severity · the 25 most severe of 26 are listed
HIGHFilesystem / pathfs.credential_store · src/jdocmunch_mcp/security.py:84
"id_rsa",
- Why
- touches a credential store
- Fix
- —
HIGHFilesystem / pathfs.credential_store · src/jdocmunch_mcp/security.py:85
"id_rsa.*",
- Why
- touches a credential store
- Fix
- —
HIGHFilesystem / pathfs.credential_store · src/jdocmunch_mcp/security.py:86
"id_ed25519",
- Why
- touches a credential store
- Fix
- —
HIGHFilesystem / pathfs.credential_store · src/jdocmunch_mcp/security.py:87
"id_ed25519.*",
- Why
- touches a credential store
- Fix
- —
HIGHFilesystem / pathfs.credential_store · src/jdocmunch_mcp/security.py:89
"id_ecdsa",
- Why
- touches a credential store
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
delete_index
- Why
- 1 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWCode injectioncode.eval_exec · tests/test_verify_index_unhashed.py:206
exec(compile(stripped, vi.__file__ + " (pre-fix)", "exec"), mod.__dict__)
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWInsecure cryptocrypto.weak_hash · src/jdocmunch_mcp/cli/hooks.py:115
key = hashlib.sha1(resolved_path.encode("utf-8")).hexdigest()- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · src/jdocmunch_mcp/storage/corpus_claims.py:35
return hashlib.sha1(payload).hexdigest()
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · src/jdocmunch_mcp/tools/_corpus_identity.py:70
digest = hashlib.sha1(json.dumps(entries).encode("utf-8")).hexdigest()[:16]- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · src/jdocmunch_mcp/tools/_corpus_identity.py:80
shape = hashlib.sha1(
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · src/jdocmunch_mcp/tools/_worktree_corpus.py:246
return hashlib.sha1(common_dir_norm.encode("utf-8", errors="replace")).hexdigest()[:16]- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/test_issue95_qa19.py:129
["local/../../escape", "./local", "local/.", "noslash", ""],
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/test_jdoc_138_raw_bytes_baseline.py:115
assert store.raw_doc_bytes(owner, name, ["", None, "nope.md", "../../outside.md"]) == 0
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/test_jdoc_143_resolve_root_once.py:88
@pytest.mark.parametrize("evil", ["../outside.md", "../../outside.md"])- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/test_storage.py:100
raw_files["../../etc/passwd"] = "evil"
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/test_v1_28_0.py:137
"../../etc/passwd",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.beacon_words · benchmarks/replay/corpus/openapi31/webhooks.yaml:73
required: [callback_url, events]
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.beacon_words · benchmarks/replay/corpus/openapi31/webhooks.yaml:75
callback_url:
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/test_local_summarizer_target.py:123
_configure_local(monkeypatch, "http://127.0.0.1:8000/v1", "llama-3.3-70b")
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/test_local_summarizer_target.py:129
assert str(built._client.base_url).rstrip("/") == "http://127.0.0.1:8000/v1"- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.tls_off · tests/test_v1_90_0.py:93
repo=repo, section_id=sid, verify=False, compress_code=True, storage_path=storage,
- Why
- certificate verification is disabled
- Fix
- leave verification on
LOWObfuscation / stealthobf.decode_call · src/jdocmunch_mcp/embeddings/worker.py:165
flat.frombytes(base64.b64decode(payload))
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWPrompt injectionprompt.transfer_instruction · USER_GUIDE.md:314
jDocMunch contributes an anonymous token savings delta to a live global counter with each tool call, POSTed to `https://j.gravelle.us/APIs/savings/post.php` and displayed at [jcodemunch.com](https://j
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · benchmarks/replay/corpus/markdown/authentication.md:12
curl -X POST https://api.example.com/auth/token \
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
Tools it exposes
23 declared in source · 1 destructive
1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | What it does | Risk |
|---|---|---|
delete_index | Remove a repo index and its cached raw files. Deletes the index and its cached files, never your source documents. There is no undo; re-index to restore. | destructive |
count_sections | v1.59+ — count sections matching the same filter set as search_sections (path_glob, role/roles/exclude_roles, tags/exclude_tags, min/max_level, min/max_byte_length) but skip ranking. Use for UI counters or | write |
section_neighbors | v1.37+ — return prev/next siblings (in document order), parent, and first child for a section. Handles only (id, title, level, doc_path) — no content. Use for fast sequential navigation without re-querying search_sections. | write |
describe_section | v1.54+ — consolidated handle bundle: full metadata + ancestor breadcrumb + prev/next/parent/first_child neighbors for one section in a single call. Saves three round-trips vs calling get_section_summary + get_section_path + section_neighbors separately. No content reads. | read |
doc_index_repo | Index a GitHub repository | read |
get_all_roles | v1.50+ — list every distinct role classification across the repo with per-role section counts and id samples. Companion to v1.46 get_all_tags. Sections without metadata.role are bucketed under | read |
get_doc | v1.58+ — single-doc detail view. Pairs with list_docs (cross-doc inventory). Returns section list (handles), role_distribution, tag_distribution, byte_size, format, indexed_at for one doc. No content reads. | read |
get_document_outline | Get the section hierarchy for a single document file, without content. Headings only, no content. Read a section with get_section. | read |
get_index_overview | v1.56+ — single-call repo snapshot: doc_count, section_count, total_byte_size, format_breakdown, top_tags, top_roles, indexed_at. Composition of v1.46/v1.50/v1.55 aggregations. Use for | read |
get_recent_changes | v1.47+ — list sections that have drifted from index state (edited_uncommitted or stale_index buckets via the v1.16 FreshnessProbe). By default compares the index against the cached raw-content mirror, NOT live workspace files; pass live_source=true to read the live files under the index | read |
get_section | Retrieve the full content of a specific section using byte-range reads. Use after identifying section IDs via search_sections or get_toc. Returns this section | read |
get_section_context | Retrieve a section with its full hierarchy context: ancestor headings (root → parent) for orientation, the target section | read |
get_section_descendants | v1.43+ — return every descendant of a section (BFS over parent_id) in document order with depth offset. Pairs with get_section_path (ancestors). Optional max_depth caps the walk; max_depth=1 returns immediate children only. Handles only — no content. | read |
get_section_excerpt | v1.41+ — return a short content preview (default 500 bytes) for one section. Trimmed to last newline before the cap so it ends on a paragraph boundary. Use to peek at content before paying for a full get_section read. _meta.tokens_saved reports the byte-savings vs full content. | read |
get_section_excerpts | v1.49+ — batch counterpart to get_section_excerpt. Resolves N previews in one call against a single index load. Per-id errors reported in-line. _meta.tokens_saved aggregates byte savings across the batch. Previews are truncated by design; read full content with get_sections. | read |
get_section_path | v1.40+ — return the breadcrumb chain (root → ... → target) for a section_id. Walks parent_id upward; cycle-protected. Handles only ({id, title, level, doc_path}) per step plus depth. | read |
get_section_summaries | v1.48+ — batch version of get_section_summary. Resolve metadata for many ids in one call against a single index load. Per-id errors are reported in-line on the corresponding result entry rather than aborting the batch. | read |
get_section_summary | v1.38+ — return full indexed metadata (title, summary, role, tags, metadata, parent_id, children, content_hash, byte_start/end, byte_length) for one section without fetching content. Use to inspect role/tags before deciding whether to read the content via get_section. | read |
get_sections | Batch content retrieval for multiple sections in one call. Content only for the ids you pass; unknown ids come back as per-id errors, not a failed call. | read |
get_toc | Get a flat table of contents for all sections in a repo, sorted by document order. Content is excluded — use get_section to retrieve content. Scope with path_glob; for a SINGLE document use get_document_outline (this tool has no doc_path parameter). | read |
get_toc_tree | Get a nested table of contents tree per document. Shows parent/child heading relationships. Content is excluded. | read |
search_sections | Search sections by relevance. Hybrid (BM25 lexical + semantic embedding) fusion when the index was built with use_embeddings=true; falls back to lexical-only otherwise. Returns summaries only — use get_section for full content. | read |
search_titles | v1.57+ — fast title-only token-overlap match. Different from search_sections (full hybrid retrieval). Use for navigation: | read |
Safer alternatives
kurajs/kura
Kura — the knowledgebase for humans and agents. Agent-native docs infrastructure, built on June.
TechDocsStudio/biel-mcp
Connect AI tools like Cursor, VS Code, and Claude to your product docs.
ref-tools/ref-tools-mcp
Helping coding agents never make mistakes working with public or private libraries without wasting the context window.
Audit history
- ✕BLOCK D 69 / 100
First audit ·
d388761fe3fa
README badge
Badges show the current verdict, BLOCK included
A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.
Questions about jDocMunch MCP server
What is the jDocMunch MCP server?
What tools does jDocMunch expose?
Is jDocMunch safe to connect to an agent?
What credentials does jDocMunch need?
How does jDocMunch run?
How current is this page?
I already installed jDocMunch. What should I do?
Can the verdict change?
Sources
- jgravelle/jdocmunch-mcp on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
- ModelsAtlas trust audit — BLOCK verdict for commit d388761fe3faObserved · 6 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 jDocMunch MCP server?
- What tools does jDocMunch expose?
- Is jDocMunch safe to connect to an agent?