Documcp MCP Server

documcp npm v1.0.0 Source verified

Published by tosin2013 — publish provenance cryptographically ties this package to that repository. That is proof of origin, not an official vendor package.

Intelligent MCP server for GitHub Pages documentation deployment

Trust grade
D
69/100
Last scanned get badge →
Trust
D · 69/100
Adoption risk for you: the threat score, then adjusted down for blast radius, publisher verification and how much the scan could see. Deterministic; every point is auditable.
Capability
High
Blast radius if it went rogue — what the server’s tools could reach. Independent of trust.
Coverage
Source
How much the scan could actually inspect. Shallow coverage is stated, never hidden.
Share this Trust Score
𝕏 Share LinkedIn Reddit
D Why this grade threat 75 − adoption risk = 69/100

The grade answers one question — how safe is this server for you to adopt — so it is computed in two auditable stages. Nothing below is an opinion or an LLM's guess; every line is a real term the deterministic engine applied, and the same input always yields the same number.

1. Threat score — 100 − 24.9 = 75. What the published surface and source actually contain:

PointsWhat was foundCategory
−15.4 Assembled command execution and dynamic evaluation in the same server MTC-SRC-011 injection
−9.5 Untrusted input concatenated into a command sink ×2 MTC-SRC-009 injection

2. Client adoption risk — 75 − 6 = 69. Three small, subtract-only factors that reflect your risk in adopting it — a clean scan proves less on a powerful, unverified or barely-inspectable package, so the grade says so plainly:

PointsAdoption-risk factor
−6 capability blast radius (high) — client exposure if the model is manipulated

Capability observations and info notes are shown under Findings but never scored. Open any row's finding below for the file, line and evidence behind a deduction.

Findings 20

high Dynamic evaluation of a non-literal value (dist/tools/validate-content.js)MTC-SRC-010

In the server's implementation (`dist/tools/validate-content.js:688`): Evaluating a runtime value as code (rather than a fixed literal) executes whatever reaches it — a direct RCE primitive, and almost never necessary in legitimate code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ing Node.js new Function(code); validation.compilationSuccess = true; validation.con

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/tools/validate-content.js

high Dynamic evaluation of a non-literal value (src/tools/validate-content.ts)MTC-SRC-010

In the server's implementation (`src/tools/validate-content.ts:955`): Evaluating a runtime value as code (rather than a fixed literal) executes whatever reaches it — a direct RCE primitive, and almost never necessary in legitimate code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: eck using Node.js new Function(code); validation.compilationSuccess = true; validation.confidence = 75

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/tools/validate-content.ts

high Assembled command execution and dynamic evaluation in the same serverMTC-SRC-011

The implementation both builds shell commands out of runtime values (`dist/utils/sitemap-generator.js`) and evaluates runtime values as code (`dist/tools/validate-content.js`). Each is a separate arbitrary-execution primitive; a server exposing both gives anything that reaches either one a direct path to running attacker-chosen code. These two sinks are in different files — confirm whether they are actually connected, or are unrelated code paths (e.g. a vendored bundle plus a CLI wrapper).

Fix: Remove the dynamic eval, and pass command arguments as an argv array instead of building a shell string. If both are genuinely required, constrain and validate every value that can reach them.

Location: server implementation

high Dynamic code execution in server code (dist/tools/validate-content.js)MTC-SRC-001

In the server's implementation (`dist/tools/validate-content.js:688`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ing Node.js new Function(code); validation.compilationSuccess = true; validation.con

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/tools/validate-content.js

high Dynamic code execution in server code (src/tools/validate-content.ts)MTC-SRC-001

In the server's implementation (`src/tools/validate-content.ts:955`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: eck using Node.js new Function(code); validation.compilationSuccess = true; validation.confidence = 75

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/tools/validate-content.ts

high Shell/command execution in server code (dist/tools/test-local-deployment.js)MTC-SRC-002

In the server's implementation (`dist/tools/test-local-deployment.js:4`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: t { spawn, exec } from "child_process"; import { promisify } from "util"; import { formatMCPResponse } from "../types/ap

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/tools/test-local-deployment.js

high Shell/command execution in server code (dist/tools/validate-content.js)MTC-SRC-002

In the server's implementation (`dist/tools/validate-content.js:3`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ; import { exec } from "child_process"; import { promisify } from "util"; import { handleMemoryRecall } from "../memory/

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/tools/validate-content.js

high Shell/command execution in server code (dist/utils/language-parsers-simple.js)MTC-SRC-002

In the server's implementation (`dist/utils/language-parsers-simple.js:1`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: import { spawn } from "child_process"; export class MultiLanguageCodeScanner { parsers = new Map(); constructor

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/utils/language-parsers-simple.js

high Shell/command execution in server code (dist/utils/sitemap-generator.js)MTC-SRC-002

In the server's implementation (`dist/utils/sitemap-generator.js:9`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: port { execSync } from "child_process"; /** * Default include patterns for common documentation formats */ const DEFAU

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/utils/sitemap-generator.js

high Shell/command execution in server code (src/tools/test-local-deployment.ts)MTC-SRC-002

In the server's implementation (`src/tools/test-local-deployment.ts:4`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: t { spawn, exec } from "child_process"; import { promisify } from "util"; import { MCPToolResponse, formatMCPResponse }

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/tools/test-local-deployment.ts

high Shell/command execution in server code (src/tools/validate-content.ts)MTC-SRC-002

In the server's implementation (`src/tools/validate-content.ts:4`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ; import { exec } from "child_process"; import { promisify } from "util"; import { handleMemoryRecall } from "../memory/

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/tools/validate-content.ts

medium Untrusted input concatenated into a command sink (dist/utils/sitemap-generator.js)MTC-SRC-009

In the server's implementation (`dist/utils/sitemap-generator.js:231`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: const timestamp = execSync(`git log -1 --format=%cI "${filePath}"`, { encoding: "utf-8", s

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/utils/sitemap-generator.js

medium Untrusted input concatenated into a command sink (src/utils/sitemap-generator.ts)MTC-SRC-009

In the server's implementation (`src/utils/sitemap-generator.ts:342`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: { const timestamp = execSync(`git log -1 --format=%cI "${filePath}"`, { encoding: "utf-8", stdio: ["pipe

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/utils/sitemap-generator.ts

low Hardcoded egress to an external endpoint in packaging/dev tooling (dist/scripts/collect-release-health.js)MTC-SRC-003

In a packaging/dev/install script (shipped, but not the server runtime) (`dist/scripts/collect-release-health.js:123`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: const response = await fetch("https://api.npmjs.org/downloads/point/last-week/documcp"); const weekData = (awai

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/scripts/collect-release-health.js

low Hardcoded egress to an external endpoint in packaging/dev tooling (src/scripts/collect-release-health.ts)MTC-SRC-003

In a packaging/dev/install script (shipped, but not the server runtime) (`src/scripts/collect-release-health.ts:181`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: const response = await fetch( "https://api.npmjs.org/downloads/point/last-week/documcp" ); const weekData

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/scripts/collect-release-health.ts

low Unconstrained path parameter "path" on "read_directory"MTC-CAP-008

Tool "read_directory" takes a path parameter "path" with no constraint. Without a canonicalize-and-contain check (not visible statically), this permits ../ traversal outside the intended root.

Fix: Resolve and verify the path stays within an allowed root; reject traversal sequences.

Location: tool read_directory · inputSchema.properties.path

low Shell/command execution in packaging/dev tooling (dist/scripts/collect-release-health.js)MTC-SRC-002

In a packaging/dev/install script (shipped, but not the server runtime) (`dist/scripts/collect-release-health.js:6`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: port { execSync } from "child_process"; import * as fs from "fs"; import * as path from "path"; /** * Execute shell com

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/scripts/collect-release-health.js

low Shell/command execution in packaging/dev tooling (dist/scripts/generate-release-notes.js)MTC-SRC-002

In a packaging/dev/install script (shipped, but not the server runtime) (`dist/scripts/generate-release-notes.js:18`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: port { execSync } from "child_process"; import * as fs from "fs"; import * as path from "path"; const COMMIT_TYPES = {

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/scripts/generate-release-notes.js

low Shell/command execution in packaging/dev tooling (src/scripts/collect-release-health.ts)MTC-SRC-002

In a packaging/dev/install script (shipped, but not the server runtime) (`src/scripts/collect-release-health.ts:7`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: port { execSync } from "child_process"; import * as fs from "fs"; import * as path from "path"; interface ReleaseMetric

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/scripts/collect-release-health.ts

low Shell/command execution in packaging/dev tooling (src/scripts/generate-release-notes.ts)MTC-SRC-002

In a packaging/dev/install script (shipped, but not the server runtime) (`src/scripts/generate-release-notes.ts:19`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: port { execSync } from "child_process"; import * as fs from "fs"; import * as path from "path"; interface ConventionalC

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/scripts/generate-release-notes.ts

Tools 98

Each tool and what it can reach — statically extracted from the published source.

  • read_directoryreads sensitive data
  • actionno sensitive capability
  • Activeno sensitive capability
  • All Documentation Workflowsno sensitive capability
  • analysis_depthno sensitive capability
  • analyze_deploymentsno sensitive capability
  • analyze_readmeno sensitive capability
  • analyze_repositoryno sensitive capability
  • analyze-and-recommendno sensitive capability
  • Available Static Site Generatorsno sensitive capability
Show 88 more tools ↓
  • check_documentation_linksno sensitive capability
  • cleanup_agent_artifactsno sensitive capability
  • code-mode-documentation-setupno sensitive capability
  • code-mode-efficient-analysisno sensitive capability
  • code-mode-parallel-workflowno sensitive capability
  • Community Insightsno sensitive capability
  • completenessno sensitive capability
  • conceptno sensitive capability
  • current_docsno sensitive capability
  • deploy_pagesno sensitive capability
  • deploy_siteno sensitive capability
  • deployment_urlno sensitive capability
  • depthno sensitive capability
  • detect_documentation_gapsno sensitive capability
  • Diataxis Structure Templateno sensitive capability
  • diataxis-organizerno sensitive capability
  • docs_pathno sensitive capability
  • documcpno sensitive capability
  • Documentation Freshness Presetsno sensitive capability
  • Docusaurusno sensitive capability
  • Docusaurus Configuration Templateno sensitive capability
  • Eleventyno sensitive capability
  • Eleventy Configuration Templateno sensitive capability
  • evaluate_readme_healthno sensitive capability
  • explanation-writerno sensitive capability
  • Freshness Metadata Schemano sensitive capability
  • freshness_presetno sensitive capability
  • Full Documentation Setup Workflowno sensitive capability
  • generate_configno sensitive capability
  • generate_contextual_contentno sensitive capability
  • generate_llm_contextno sensitive capability
  • generate_readme_templateno sensitive capability
  • get_community_insightsno sensitive capability
  • howto-guide-writerno sensitive capability
  • Hugono sensitive capability
  • Hugo Configuration Templateno sensitive capability
  • include_deploymentno sensitive capability
  • include_examplesno sensitive capability
  • include_recommendationsno sensitive capability
  • issue_descriptionno sensitive capability
  • Jekyllno sensitive capability
  • Jekyll Configuration Templateno sensitive capability
  • learning_goalno sensitive capability
  • maintain-documentation-freshnessno sensitive capability
  • manage_preferencesno sensitive capability
  • manage_sitemapno sensitive capability
  • MkDocsno sensitive capability
  • MkDocs Configuration Templateno sensitive capability
  • Monthlyno sensitive capability
  • operationsno sensitive capability
  • optimization_focusno sensitive capability
  • optimize_readmeno sensitive capability
  • populate_diataxis_contentno sensitive capability
  • preferencesno sensitive capability
  • priorityno sensitive capability
  • problemno sensitive capability
  • project_pathno sensitive capability
  • Quarterlyno sensitive capability
  • Quick Documentation Setup Workflowno sensitive capability
  • readme_best_practicesno sensitive capability
  • readme-optimizerno sensitive capability
  • Realtimeno sensitive capability
  • Recentno sensitive capability
  • recommend_ssgno sensitive capability
  • record_drift_outcomeno sensitive capability
  • reference_typeno sensitive capability
  • reference-writerno sensitive capability
  • repositoryno sensitive capability
  • setup_playwright_testsno sensitive capability
  • setup_structureno sensitive capability
  • setup-documentationno sensitive capability
  • ssg_preferenceno sensitive capability
  • ssg_typeno sensitive capability
  • sync_code_to_docsno sensitive capability
  • target_audienceno sensitive capability
  • test_local_deploymentno sensitive capability
  • track_documentation_freshnessno sensitive capability
  • troubleshoot-deploymentno sensitive capability
  • tutorial-writerno sensitive capability
  • update_existing_documentationno sensitive capability
  • user_experienceno sensitive capability
  • validate_contentno sensitive capability
  • validate_diataxis_contentno sensitive capability
  • validate_documentation_freshnessno sensitive capability
  • validate_readme_checklistno sensitive capability
  • verify_deploymentno sensitive capability
  • Weeklyno sensitive capability
  • Workflow Execution Guidanceno sensitive capability

What this scan could not see

Versions 1

Scan history per published version. The engine is deterministic — the same version always yields the same score, so a changed score means the package itself changed.

VersionScoreFindingsEngineScanned
v1.0.0 latest D 69/100 20 1.13.0 2026-09-07

Embed this score

Show this server's live Trust Score in your README, docs or website. The badge is served straight from the registry and updates automatically after every rescan — no API key needed. It links back to this page, so anyone who sees the grade can also read the findings behind it instead of taking a number on faith.

MCP Trust Score: D · 69/100
Markdown (GitHub README)
[![MCP Trust Score](https://mcptrustchecker.com/registry/documcp/badge.svg)](https://mcptrustchecker.com/registry/documcp)
HTML
<a href="https://mcptrustchecker.com/registry/documcp"><img src="https://mcptrustchecker.com/registry/documcp/badge.svg" alt="MCP Trust Score" height="20"></a>
Prefer shields.io styling? Point it at https://mcptrustchecker.com/registry/documcp/badge.json via https://img.shields.io/endpoint?url=…

Verify this score yourself

The score above is reproducible: the same package version always yields the same result. Run it locally or over the free API — no account, no LLM, fully deterministic.

npx mcptrustchecker scan documcp --online

Use the free API → How scoring works

More in AI, Memory & Reasoning