
Nextscan
A single tool call that walks your Next.js project tree and returns a compact overview covering routes, API endpoints, database schema, and security issues. It detects App Router structure, flags dynamic routes and client components, checks for auth and validation on API routes using patterns like next-auth and Zod, parses Prisma or Drizzle schemas to map relations, and scans for hardcoded secrets or missing rate limits. The output is a formatted tree with counts and flags, saving you from manual file exploration when onboarding to a codebase or auditing before deployment. Takes an absolute path and optional focus parameter to drill into routes, API, schema, or security specifically.
- GitHub stars
- 1
- tool
- 1
- transport
- STDIO
- last updated
- Mar 1, 2026
Tools
1 toolsPublic tool metadata for what this MCP can expose to an agent.
scanScans a Next.js project and returns a compact summary covering routes, API endpoints, schema, and security.
Scans a Next.js project and returns a compact summary covering routes, API endpoints, schema, and security.
No parameter schema in public metadata yet.
Sponsors
Readme
nextscan
MCP server that scans Next.js projects and returns a compact summary. One tool call → full project overview.
What it does
| Without nextscan | With nextscan |
|---|---|
| Manual file-by-file exploration | Single scan call |
| Multiple tool calls to understand routes | Compact route tree with flags |
| Missing security issues | Hardcoded secrets + env leak detection |
| Unknown API coverage | Auth + validation status per endpoint |
| Schema guesswork | Prisma/Drizzle relation mapping |
Quick Install
# Clone and build
cd nextscan
npm install
npm run build
# Add to Claude Code
claude mcp add nextscan -- node /path/to/nextscan/dist/index.js
Tool: scan
| Parameter | Type | Required | Description |
|---|---|---|---|
path | string | Yes | Absolute path to Next.js project root |
focus | enum | No | routes | api | schema | security |
Example Output
nextscan — my-app
────────────────────────────────────────
Root: /Users/dev/my-app
src/ : yes app/ : yes middleware: yes
ORM : prisma
Details
- Repository
- github.com/berkayderin/nextscan
- Package
@berkayderin/nextscan- Transport
- STDIO
- Registry
- MCP registry, active