MCP server · Audited from source
Package Docs MCP server
by sammcj/mcp-package-docsMIT licenceAudited 7 Oct 2026 · source d0854ef6997c
Is it safe? No — BLOCK, grade D (66/100). It exposes 13 tools: 13 read, 0 write and 0 destructive. The audit recorded 5 findings (0 critical, 3 high, 1 medium, 1 low). Maintainer's description: An MCP server that provides LLMs with efficient access to package documentation across multiple programming languages
Cite
Cite this page
ModelsAtlas. “Package Docs MCP server (sammcj/mcp-package-docs)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/sammcj/package-docs
Why this is BLOCK. The audit found 0 critical and 3 high findings; the most severe is Code injection at src/lsp/typescript-lsp-client.ts:34. 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 7 Oct 2026
5 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
- NetworkDeclared5 observations
- ShellDeclared3 observations
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
Findings (5)
Sorted by severity
HIGHCode injectioncode.eval_exec · src/lsp/typescript-lsp-client.ts:34
await exec(`where ${command}`);- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · src/lsp/typescript-lsp-client.ts:37
await exec(`which ${command}`);- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · src/lsp/typescript-lsp-client.ts:50
await exec(`npm install --no-save ${packageName}`);- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
MEDIUMInformation disclosuredisclose.log_secret · src/registry-utils.ts:96
this.logger.debug(`Setting config for scope ${scope}:`, { registry, token: token ? "[REDACTED]" : undefined });- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, axios, typescript-language-server, vscode-languageserver-protocol, @types/node, prettier
- Why
- 6 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
Tools it exposes
13 declared in source · 0 destructive
| Tool | What it does | Risk |
|---|---|---|
describe_go_package | Get a brief description of a Go package | read |
describe_npm_package | Get a brief description of an NPM package | read |
describe_python_package | Get a brief description of a Python package | read |
describe_rust_package | Get a brief description of a Rust package | read |
describe_swift_package | Get a brief description of a Swift package | read |
get_completions | Get completion suggestions for a position in a document using Language Server Protocol | read |
get_diagnostics | Get diagnostic information for a document using Language Server Protocol | read |
get_hover | Get hover information for a position in a document using Language Server Protocol | read |
get_npm_package_doc | Get full documentation for an NPM package | read |
lookup_go_doc | [DEPRECATED] Use describe_go_package instead. Get a brief description of a Go package | read |
lookup_npm_doc | [DEPRECATED] Use describe_npm_package instead. Get a brief description of an NPM package | read |
lookup_python_doc | [DEPRECATED] Use describe_python_package instead. Get a brief description of a Python package | read |
search_package_docs | Search for symbols or content within package documentation | 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.
langchain-ai/langchainjs-mcp-adapters
** THIS REPO HAS MOVED TO https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-mcp-adapters ** Adapters for integrating Model Context Protocol (MCP) tools with LangChain.js applications, supporting both stdio and SSE transports.
Audit history
- ✕BLOCK D 66 / 100
First audit ·
d0854ef6997c
Questions about Package Docs MCP server
What is the Package Docs MCP server?
What tools does Package Docs expose?
Is Package Docs safe to connect to an agent?
What credentials does Package Docs need?
How does Package Docs run?
How current is this page?
I already installed Package Docs. What should I do?
Can the verdict change?
Sources
- sammcj/mcp-package-docs on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
- ModelsAtlas trust audit — BLOCK verdict for commit d0854ef6997cObserved · 7 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 Package Docs MCP server?
- What tools does Package Docs expose?
- Is Package Docs safe to connect to an agent?