Prototipo · Versión preliminar: todos los servidores del registro oficial, sincronizados cada 30 minutos. Las reseñas y las cuentas llegarán en una etapa posterior.
PopNx MCPServidores MCP para quienes usan IA · explicados con palabras sencillas

CodeDiag

de sabahattinkversión 0.13.0i★ –iSe ejecuta en tu computadora
Nombre en el registroio.github.sabahattink/codediag

Instalar

Resumen

Descripción del creador (original en inglés)

Find Node.js API routes with no auth check or input validation, and scan project health.

Los tres pilares de PopNx MCP

Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.

Qué puedes hacer con él

Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.

  • Conexión: Se ejecuta en tu computadora
  • Transporte: stdio
  • Categoría: Clínicas y salud

Instalación

Elige la app de IA que usas y copia la configuración.

Antes de instalar

Necesitas

  • npmNode.js instalado (para el comando npx)

¿Qué app usas?

Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.

Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json

{
  "mcpServers": {
    "codediag": {
      "command": "npx",
      "args": [
        "-y",
        "@sabahattink/codediag",
        "mcp"
      ]
    }
  }
}

Ejecuta esto en tu terminal

claude mcp add codediag -- npx -y @sabahattink/codediag mcp

Abrir en Cursor

O copia la configuración tú

Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json

{
  "mcpServers": {
    "codediag": {
      "command": "npx",
      "args": [
        "-y",
        "@sabahattink/codediag",
        "mcp"
      ]
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Abrir en VS Code

O copia la configuración tú

Pégalo en .vscode/mcp.json de tu proyecto

{
  "servers": {
    "codediag": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@sabahattink/codediag",
        "mcp"
      ]
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.

Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.

Esta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.

Qué puede hacer

Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.

Revisiones básicasi

Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 6 nov 2026

  • ✓ Superada

    El creador coincide con el repo

    El nombre en el registro se verificó con la cuenta de GitHub sabahattink, dueña del repo

  • … Aún sin revisar

    Sigue en mantenimiento

    Todavía no hemos leído este repo en GitHub

  • … Aún sin revisar

    Tiene licencia

    Todavía no hemos leído este repo en GitHub

  • – No aplica

    El endpoint responde

    Este se ejecuta en tu computadora; no hay endpoint en internet

  • – No aplica

    Inicio de sesión con OAuth

    Se ejecuta en tu computadora y usa ajustes locales en su lugar

  • … Aún sin revisar

    Sin instrucciones ocultas en las descripciones de herramientas

    Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet

Comparado con otros en Clínicas y saludi

  • Más estrellas que el 0% de los otros 858 servidores de esta categoría
  • Publicado en el registro más recientemente que el 85% de los otros 858 servidores de esta categoría
  • Revisiones básicas iguales o mejores que el 100% de los otros 858 servidores de esta categoría

Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.

Preguntas frecuentes

¿Es seguro CodeDiag?

Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.

¿Qué claves o códigos necesita?

El registro no indica ninguna clave obligatoria, aunque algunos servidores te piden iniciar sesión la primera vez que los usas.

¿Se ejecuta en mi computadora o en la nube?

Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).

¿Sigue en mantenimiento?

El repo de GitHub cambió por última vez –, y la última versión (0.13.0) llegó al registro hace 4 días.

¿Qué apps pueden usarlo?

Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Node.js en tu computadora.

¿Qué puedo usar en su lugar?

En la misma categoría: Mirobody, FHIR MCP Server, Google Health MCP

Alternativas

Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.

Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi

Mirobody

de thetahealth

Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.

Se ejecuta en tu computadora★ 1408Apache-2.0Actualizado hace 5 días
Instalar

MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications

Se ejecuta en tu computadora★ 137Apache-2.0Actualizado hace 8 días
Instalar

Google Health MCP

de davidmosiah

Privacy-first unofficial Google Health API v4 MCP server for health, sleep, activity, HR agents

Se ejecuta en tu computadora★ 79MITActualizado hace 4 meses
Instalar

README del creador

Abrir el README

Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.

codediag

Which of your API routes can anyone call?

Auth and validation coverage for Next.js, SvelteKit, React Router, Express, Fastify, Hono, Elysia, NestJS, and tRPC, plus security, dependency, test, and structure checks. One command, no account, runs offline.

Install

npx @sabahattink/codediag scan .

That's it. Configuration is optional, no account or server is required, and --no-audit keeps the scan fully offline.

Or install globally — this also puts the codediag command on your PATH, which every other example below assumes:

npm install -g @sabahattink/codediag

Package name note: published as @sabahattink/codediag while ownership

of the legacy codediag name on npm is transferred. The CLI binary is still

codediag after install. A migration announcement will follow if/when the

unscoped name becomes available again.

What it checks

codediag auto-detects your stack and runs 5 analyzers. Every finding has a stable rule ID (rule reference), a severity, a location when one exists, and a suggested fix.

API Health NestJS · Express · Fastify · Hono · Elysia · Next.js · SvelteKit · React Router · tRPC

AST analysis (ts-morph, not regex) of the routes your app actually exposes.

  • NestJS: auth guards, including global guards (useGlobalGuards, APP_GUARD), custom UseGuards-based decorators, and @Public()-style opt-outs; DTO classes for request bodies (not any, Record, or interfaces) and whether a ValidationPipe enforces them; Swagger docs and return types.
  • Express: routers resolved from express(), Router(), and typed parameters; auth and validation middleware on routes, earlier router.use() calls, and app.use(path, mw, router) mounts across files; centralized error handling and health endpoints.
  • Fastify: routes from fastify.get() and fastify.route(), followed through register()-ed plugins, fastify-plugin encapsulation, and @fastify/autoload directories (directory prefixes, autoPrefix, and autohooks, as fastify-cli projects use them); onRequest/preHandler auth hooks on the route or its context, body schemas on mutating routes, setErrorHandler, and health endpoints.
  • Hono: routes on new Hono() apps, basePath(), and sub-apps mounted with app.route() across files, replayed in registration order; auth middleware (jwt(), bearerAuth(), basicAuth(), or your own) on the route or an earlier matching app.use(); zValidator and other body validators; onError; and health endpoints.
  • Elysia: routes on new Elysia() instances, prefix, group(), and plugins mounted with use() across files, functional plugins included, replayed in registration order with Elysia's hook scope: a plugin's hooks reach the instance that uses it only when they are scoped or global ({ as: 'scoped' }, .as('scoped')). Auth from onBeforeHandle(), a derive() or resolve() that rejects with 401, guard(), auth macros such as better-auth's { auth: true }, onRequest(), or a check in the handler; when a route misses an auth hook that exists, the finding says whether the hook stayed local to its plugin or came after the route. Body schemas (TypeBox, Zod, or another Standard Schema) in the route options or a guard(); onError; and health endpoints.
  • Next.js: App Router and Pages Router API handlers, without penalizing frontend-only projects. Middleware (proxy.ts in Next.js 16) protects a route only if it turns an anonymous request to that path away: its matcher, pathname checks, next-auth, Clerk's protect(), Auth.js authorized callbacks, and helpers it returns, such as Supabase's updateSession(), are evaluated for each route.
  • SvelteKit: +server endpoints and form actions, with route ids from src/routes; auth in the handle hook (through sequence() and path or route id guards) or in the handler and the helpers it calls; a note when the only auth check sits in a layout load, which never runs for actions and endpoints; body validation; and CSRF origin checks turned off in svelte.config.js.
  • React Router and Remix: actions and loaders from app/routes.ts or Remix v2 flat-route files; auth in the action, its helpers, or route middleware; a separate rule when a parent's or the route's own loader holds the only auth check, since neither runs before an action; and schema validation of form and JSON bodies.
  • tRPC: procedures resolved from initTRPC through builder chains, exported builders such as protectedProcedure, and nested or merged routers across files (including ~/ path aliases); mutations without auth middleware (judged by what the middleware checks, not its name), .input() parsers that accept anything, and error formatters or isDev: true that expose stack traces. Auth in front of every procedure counts too: a createContext that rejects anonymous callers, auth middleware ahead of the Express or Hono mount, an auth hook over the Fastify plugin, or a Next.js middleware.ts (proxy.ts in Next.js 16), Auth.js included, that rejects anonymous requests to the tRPC route. The checks run inside whichever server hosts tRPC (T3/Next.js, Express, Fastify, Hono, Elysia, SvelteKit), and a standalone tRPC server is its own stack. An intentionally public mutation, such as sign-up, is accepted with a reasoned codediag-ignore-next-line directive.
Security

Hardcoded credentials, .env protection in .gitignore, Helmet, rate limiting, open CORS, weak password hashing, and direct password comparisons. Runtime sinks (eval, new Function, shell commands, raw SQL, disabled TLS verification) are found in the AST, and request data is traced through variables, destructuring, reassignments, and up to two calls into your own helper functions and services, so const cmd = req.query.cmd; exec(cmd) is critical, and so is run(req.query.cmd) when run calls exec in another file. Request data is also followed into fields a class stores it in, through constructors, into map/forEach callbacks and for...of loops, and to NestJS providers behind an interface or injection token. tRPC procedure input is request data too, even after .input(schema) validates it. Request data that reaches a file path, an outgoing request's host, a redirect, or an HTML response is reported as path traversal, SSRF, an open redirect, or reflected XSS; request data compiled as a template or used as an object path is template injection or prototype pollution. JWT options that accept none or ignore expiration, and session cookies without httpOnly/secure, are flagged too. Secrets are also looked for in JSON, YAML, Dockerfiles, .npmrc, and .env files that Git tracks, and no report ever contains the value. With --secret-history (or secretHistory in .codediag.yml), the lines recent commits added are also searched for credentials that were committed and later deleted, which every clone still contains (secret-in-git-history); it is off by default because results depend on clone depth. In Supabase projects, supabase/migrations is replayed in order and tables the API exposes without row level security are critical (supabase-table-without-rls), as are write policies whose using or with check is true (supabase-permissive-policy). See Security analysis.

Dependencies

Runs the matching npm, pnpm, Yarn Classic, or Yarn Berry audit (skipped with --no-audit; audit: production checks only the dependencies you ship), names the affected packages and their advisories in each vulnerability finding, checks the lock file and packageManager consistency, flags deprecated packages, and validates engine specs and essential scripts. Monorepo lock files are found up to three parent directories. A successful audit is kept for an hour in node_modules/.cache/codediag, keyed by the lock file and package.json, so repeated scans reuse it (the Dependencies summary says when); delete that directory to force a fresh audit. pnpm audits a whole workspace lock file from any package, so packages that share one run a single audit and each reports only the advisories its own dependencies reach.

Testing

Test files and frameworks (Jest, Vitest, Mocha, Ava, node:test), the test-to-source ratio, integration test directories, and coverage. A coverage-summary.json is measured against 80% lines/statements and 70% functions/branches; otherwise CodeDiag checks for a real coverage threshold in Jest, Vitest, node:test, c8, or nyc configuration.

Structure

README content, lint and format config (also inherited from a workspace root), resolved TypeScript strict mode, NestJS feature modules, and environment templates such as .env.example.

Scoring

Each analyzer scores 0-100. Weighted average determines the grade:

API Health: 25%  ·  Security: 30%  ·  Dependencies: 20%  ·  Testing: 15%  ·  Structure: 10%
A+AB+BCDF
95+90+85+80+70+60+<60

Analyzer scores use scoring version 2 by default: every analyzer starts at 100 and each finding subtracts a severity weight (critical 25, warning 8, info 2). Further findings of the same rule cost half the previous one, so a single rule costs at most twice its weight. A finding whose root cause is also reported (for example "no test directory" when there are no tests at all) is downgraded to info, linked with causedBy, and costs nothing. Findings that leave an analyzer with nothing to evaluate, such as a missing package.json, set that analyzer to 0.

Every lost point is listed in scoreBreakdown in JSON output, in the HTML and Markdown reports, and under each analyzer with --verbose. Set scoring: { version: 1 } to keep the previous checks-passed scores for one more release.

CLI

codediag scan .                    # Full report

codediag scan . --format json # JSON (for CI/CD) codediag scan . --format sarif # SARIF 2.1.0 (for code scanning) codediag scan . --format md # Markdown (for PRs) codediag scan . --format svg # SVG score badge codediag scan . --format html > codediag-report.html # Interactive dashboard codediag scan . --format fixes > codediag-fixes.md # Review checklist codediag scan . --format prompt > codediag-prompt.txt # Review-only AI handoff codediag scan . --ci # JSON output + exit code codediag scan . --threshold 80 # Exit 1 below 80 in any output mode codediag scan . --fail-on critical # Exit 1 on any active critical finding codediag scan . --quiet # Score only codediag scan . --verbose # All issues and the score breakdown codediag scan . --no-audit # Offline: skip the package manager audit codediag scan . --update-baseline .codediag-baseline.json # Record accepted findings coded

Solo se muestra el principio; lee el resto en el repo

Pregunta a PopNx