MCP server · Audited from source
TypeScript MCP server
by mizchi/typescript-mcpMIT licenceAudited 8 Oct 2026 · source 677f25c033ea
Is it safe? No — BLOCK, grade F (59/100). It exposes 37 tools: 30 read, 5 write and 2 destructive. The audit recorded 36 findings (0 critical, 4 high, 1 medium, 31 low).
Cite
Cite this page
ModelsAtlas. “TypeScript MCP server (mizchi/typescript-mcp)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/mizchi/typescript
Why this is BLOCK. The audit found 0 critical and 4 high findings; the most severe is Prompt injection at docs/ja/introduce-serena-port.md:59. 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 8 Oct 2026
36 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
- FilesystemDeclared9 observations
- NetworkDeclared1 observation
- ShellDeclared3 observations
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
Findings (36)
Sorted by severity · the 25 most severe of 36 are listed
HIGHPrompt injectionprompt.tool_poisoning · docs/ja/introduce-serena-port.md:59
IMPORTANT: Always use the symbol indexing tools to minimize code reading:
- Why
- a tool description carrying instructions to the agent
- Fix
- tool descriptions describe the tool; nothing else
HIGHPrompt injectionprompt.zero_width · docs/lsp-spec.md:816
* - `{}` to group sub patterns into an OR expression. (e.g. `**/*.{ts,js}`- Why
- invisible characters in instruction text
- Fix
- strip non-printing characters
HIGHPrompt injectionprompt.zero_width · docs/lsp-spec.md:10729
* - `{}` to group sub patterns into an OR expression. (e.g. `**/*.{ts,js}`- Why
- invisible characters in instruction text
- Fix
- strip non-printing characters
HIGHPrompt injectionprompt.zero_width · docs/lsp-spec.md:11092
* - `{}` to group conditions (e.g. `**/*.{ts,js}` matches all TypeScript- Why
- invisible characters in instruction text
- Fix
- strip non-printing characters
MEDIUMFilesystem / pathmcp.destructive_tools
delete_memory, lsp_delete_symbol
- Why
- 2 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.binary · examples/moonbit-project/src/test/target/wasm-gc/release/check/check.moon_db
check.moon_db
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
LOWInventory / provenanceinv.binary · examples/moonbit-project/src/test/target/wasm-gc/release/check/single/single.blackbox_test.mi
single.blackbox_test.mi
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
LOWInventory / provenanceinv.binary · examples/moonbit-project/src/test/target/wasm-gc/release/check/single/single.mi
single.mi
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
LOWInventory / provenanceinv.binary · examples/python-project/.lsmcp/cache/symbols.db
symbols.db
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
LOWInventory / provenanceinv.binary · examples/rust-project/target/debug/.fingerprint/rust-project-0110108930012809/dep-test-bin-rust-project
dep-test-bin-rust-project
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
LOWInsecure cryptocrypto.weak_hash · packages/code-indexer/src/engine/contentHash.ts:15
return createHash("sha1").update(content).digest("hex");- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · packages/code-indexer/src/engine/contentHash.ts:26
return createHash("sha1").update(content).digest("hex");- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · packages/code-indexer/src/engine/fileDiffDetector.bench.ts:240
crypto.createHash("sha1").update("const x = 1;").digest("hex");- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · packages/code-indexer/src/engine/fileDiffDetector.bench.ts:245
crypto.createHash("sha1").update("x".repeat(100000)).digest("hex");- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · packages/code-indexer/src/engine/fileDiffDetector.bench.ts:250
crypto.createHash("sha1").update("x".repeat(1000000)).digest("hex");- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · packages/code-indexer/src/cache/SQLiteCache.ts:11
import { debugLogWithPrefix } from "../../../../src/utils/debugLog.ts";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · packages/code-indexer/src/cache/SymbolCacheManager.ts:6
import { debugLogWithPrefix } from "../../../../src/utils/debugLog.ts";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · packages/code-indexer/src/config/configLoader.ts:8
import { errorLog } from "../../../../src/utils/debugLog.ts";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · packages/code-indexer/src/engine/SymbolIndex.ts:28
import { debugLogWithPrefix } from "../../../../src/utils/debugLog.ts";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · packages/code-indexer/src/engine/adapterDefaults.ts:1
import { globalPresetRegistry } from "../../../../src/config/loader.ts";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
gitaware-glob, glob, minimatch, uuid, zod, @biomejs/biome, @modelcontextprotocol/sdk, @moonbit/moonbit-lsp
- Why
- 36 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
Tools it exposes
37 declared in source · 2 destructive
2 tools 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_memory | Delete a memory from the project | destructive |
lsp_delete_symbol | Delete a symbol and optionally all its references using LSP. Requires exact line:column position of the symbol. | destructive |
index_external_libraries | Index TypeScript declaration files from node_modules to enable symbol search in external dependencies. This tool scans node_modules for .d.ts files and indexes their symbols for fast searching. | write |
lsp_rename_symbol | Rename a symbol across the codebase using LSP. Requires exact position or text target in the specified line. | write |
parse_imports | Parse and analyze import statements in a TypeScript/JavaScript file. Shows all imports, their sources, and any aliases used. | write |
resolve_symbol | Resolve a symbol to its definition in external libraries by analyzing import statements. For example, if a file imports { ok, Ok, Err } from | write |
write_memory | Write or update a memory for the project | write |
Pyright | Microsoft | read |
another_tool | Another tool | read |
get_available_external_symbols | Get all symbols available from external libraries imported in a file. Shows what symbols are imported and from which modules they come from. | read |
get_compression_guidance | Get guidance on token compression analysis | read |
get_project_overview | Get a quick overview of the project structure, key components, and statistics. | read |
get_symbol_details | Get comprehensive details about a symbol including type information, definition, and references. | read |
get_symbol_search_guidance | Get guidance on how to effectively search symbols in the index | read |
get_typescript_dependencies | List all TypeScript dependencies available in the project (from package.json and node_modules). Shows which external libraries have TypeScript declarations that can be indexed. | read |
index_onboarding | Get instructions for onboarding the symbol index for a project | read |
list_dir | Lists all non-gitignored files and directories in the given directory (optionally with recursion). Returns a JSON object with the names of directories and files within the given directory. | read |
list_memories | List available memories for the current project | read |
lsp_check_capabilities | Check the capabilities of the current LSP server. Shows which features are supported. | read |
lsp_find_references | Find all references to a symbol at a specific position using LSP. Requires exact line:column coordinates. | read |
lsp_format_document | Format an entire document using LSP | read |
lsp_get_code_actions | Get available code actions (quick fixes, refactorings) for a specific range using LSP. Requires line range specification. | read |
lsp_get_completion | Get code completion suggestions at a specific position using LSP. Requires exact line:column coordinates. | read |
lsp_get_definitions | Get the definition(s) of a symbol at a specific position using LSP. Requires exact line:column coordinates. | read |
lsp_get_diagnostics | Get diagnostics (errors, warnings) for a specific file using LSP. Provides detailed error and warning information. | read |
lsp_get_document_symbols | Get all symbols in a document using LSP. Returns structured symbol hierarchy for the entire file. | read |
lsp_get_hover | Get hover information (type signature, documentation) at a specific position using LSP. Requires exact line:column coordinates. | read |
lsp_get_signature_help | Get signature help (parameter hints) for function calls using LSP. Requires exact line:column position within a function call. | read |
lsp_get_workspace_symbols | Search for symbols across the entire workspace using LSP. | read |
my_tool | My tool | read |
read_memory | Read a specific memory from the project | read |
replace_range | Replace a specific range of text in a file. | read |
replace_regex | Replace content using regular expressions with dotall and multiline flags | read |
rust-analyzer | Language Server for Rust | read |
search_external_library_symbols | Search for symbols in indexed external libraries (node_modules). Requires running index_external_libraries first. | read |
search_symbols | Search for symbols (functions, classes, variables, etc.) in the codebase using an indexed search. | read |
test_tool | Test tool | read |
Safer alternatives
We could not match this server to a job, so we cannot suggest a like-for-like alternative. Read-only servers are the least-privilege place to start.
Audit history
- ✕BLOCK F 59 / 100
First audit ·
677f25c033ea
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 TypeScript MCP server
What tools does TypeScript expose?
Is TypeScript safe to connect to an agent?
What credentials does TypeScript need?
How does TypeScript run?
How current is this page?
I already installed TypeScript. What should I do?
Can the verdict change?
Sources
- mizchi/typescript-mcp on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
- ModelsAtlas trust audit — BLOCK verdict for commit 677f25c033eaObserved · 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 tools does TypeScript expose?
- Is TypeScript safe to connect to an agent?
- What credentials does TypeScript need?