devlens-mcp MCP Server
Production TypeScript & JavaScript AST code analysis and risk assessment MCP server.
devlens-mcp scores 55 (Fair), with no SPDX license recorded. It installs as a local process. It does not declare tools yet. Filed under Uncategorized. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
55 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Quality: Grade D
45/100 for listing completeness. Lost points: short README, no listed tools, no repository link.
How quality is graded
Where the 55 comes from
22 + 20 + 0 + 0 + 10 + 3 = 55. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "radwanalmsora-devlens-mcp": { "command": "npx", "args": [ "-y", "@radwanalmsora26/devlens-mcp@0.1.6" ] } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
DevLens MCP
DevLens MCP is a high-performance, security-hardened Model Context Protocol (MCP) server engineered for AI coding agents (Claude, Cursor, Cline, Windsurf). It performs zero-execution, AST-based static analysis, symbol location, dependency tracing, change impact analysis, and risk assessment on TypeScript and JavaScript codebases.
π Key Features & 8 MCP Tools
analyze_project: High-level structural scan, entry points, module systems, and tech stack detection.find_symbol: Precise location of classes, functions, interfaces, and types across the entire project.trace_dependencies: Deep dependency tree analysis with import/export resolution and circular dependency detection.analyze_impact: Calculates the exact blast radius and affected files before modifying a target file.detect_dead_code: Identifies unreferenced symbols, orphan files, and unreachable exports.assess_change_risk: Evaluates cyclomatic complexity, blast radius, and test coverage to assign risk scores (LOW/MEDIUM/HIGH/CRITICAL).get_project_context: Compact, token-optimized codebase summary designed specifically for LLM context windows.get_project_diagnostics: Aggregates architectural warnings, circular imports, and deep inheritance trees.
π Security Architecture
- Path Traversal Protection: Enforces strict canonical path verification against the designated workspace root; rejects null-bytes, relative symlink escapes, and directory climbing attempts.
- Credential & Secret Redaction: Automatically suppresses
.env*,id_rsa,.pem, and hidden secrets from scanning indices. - Zero-Execution Static AST: Uses TypeScript compiler APIs strictly in passive inspection modeβno arbitrary code execution.
π¦ Quickstart
Running via npx
npx devlens-mcp /path/to/your/project
Frequently asked questions
What is devlens-mcp MCP Server?
Production TypeScript & JavaScript AST code analysis and risk assessment MCP server.
How do I install devlens-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. devlens-mcp MCP Server runs locally from the npm package @radwanalmsora26/devlens-mcp with the command npx -y @radwanalmsora26/devlens-mcp@0.1.6.
Does devlens-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for devlens-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is devlens-mcp MCP Server's trust score calculated?
devlens-mcp MCP Server scores 55 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yetβBe the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.