Skip to main content
Glama

nextscan

Servidor MCP que escanea proyectos Next.js y devuelve un resumen compacto. Una llamada de herramienta → visión general completa del proyecto.

Qué hace

Sin nextscan

Con nextscan

Exploración manual archivo por archivo

Una sola llamada a scan

Múltiples llamadas de herramienta para entender rutas

Árbol de rutas compacto con indicadores

Problemas de seguridad omitidos

Detección de secretos codificados + fugas de entorno

Cobertura de API desconocida

Estado de autenticación y validación por endpoint

Adivinación de esquema

Mapeo de relaciones Prisma/Drizzle

Related MCP server: guardvibe

Instalación rápida

# 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

Herramienta: scan

Parámetro

Tipo

Requerido

Descripción

path

string

Ruta absoluta a la raíz del proyecto Next.js

focus

enum

No

routes | api | schema | security

Ejemplo de salida

nextscan — my-app
────────────────────────────────────────
Root: /Users/dev/my-app
   src/ : yes  app/ : yes  middleware: yes
   ORM  : prisma

Routes
   Pages: 12  Layouts: 3  API: 5
   Dynamic: 4  Static: 8
   Client: 3  Server: 9
   Groups: (marketing), (auth)
   Matchers: /dashboard/:path*, /api/:path*
   ┌─ Pages
   ├─ /
   ├─ /about
   ├─ /dashboard [client]
   ├─ /blog/[slug] [dyn,SSG]
   └─ /settings [client]

API Endpoints
   Total: 5  Unprotected: 1
   ├─ GET,POST /api/users [auth:next-auth | val:zod]
   ├─ GET /api/health [no-auth,no-rate-limit]
   └─ POST /api/webhook [no-auth,no-validation]

Schema
   Models: 5  Relations: 4
   Orphans: AuditLog
   User ─< Post (1:N)
   User ─ Profile (1:1)
   Post >─< Tag (N:N)

Security
   Score: 75/100  Headers: yes  Middleware: yes
   [high] API route /api/health has no auth: [GET]
   [medium] No rate limiting on /api/users

Ejemplos de prompts

  • "Escanea mi proyecto Next.js en /Users/dev/my-app"

  • "Comprueba la seguridad de mi aplicación Next.js"

  • "Muéstrame la estructura de rutas"

  • "Analiza el esquema de la base de datos"

Arquitectura

src/
├── index.ts              # MCP server entry point
├── tools/scan.ts         # Orchestrator
├── analyzers/
│   ├── routes.ts         # App router analysis
│   ├── api.ts            # API endpoint analysis
│   ├── schema.ts         # Schema orchestration
│   └── security.ts       # Security scanning
├── parsers/
│   ├── typescript.ts     # ts-morph utilities
│   ├── prisma.ts         # Regex-based Prisma parser
│   └── drizzle.ts        # AST-based Drizzle parser
├── formatters/
│   └── compact.ts        # Unicode tree formatter
└── utils/
    ├── fs.ts             # File system utilities
    └── detect.ts         # Project detection

Requisitos

  • Node.js 18+

  • Un cliente compatible con MCP (Claude Code, Claude Desktop, etc.)

Desarrollo

npm install
npm run build
npm test
npm run test:coverage

Autor

Berkay Deringithub.com/berkayderin

Licencia

MIT

Install Server
A
license - permissive license
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Tools

Related MCP Servers

  • A
    license
    -
    quality
    C
    maintenance
    A utility tool that analyzes Next.js application routes and provides detailed information about API paths, HTTP methods, parameters, status codes, and request/response schemas.
    19
    99
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Security MCP server with 300+ rules for AI-generated code. Scans Next.js, Supabase, Clerk, Stripe, Prisma, Hono, GraphQL and 20+ modules. Zero config, runs locally.
    39
    604
    5
    Apache 2.0
  • A
    license
    -
    quality
    C
    maintenance
    Cross-stack MCP server that scans frontend and backend code together, detects mismatches like phantom calls, dead endpoints, and field drift, and provides a full-stack health audit.
    12
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.

  • Scans MCP servers for tool poisoning, prompt injection and supply chain risks.

  • Zero-config MCP security scanner for AI-generated apps. 25K+ vulnerability patterns.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/berkayderin/nextscan'

If you have feedback or need assistance with the MCP directory API, please join our Discord server