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

MCP API Guardian

de petrovicistefanversión 0.1.2i★ –iSe ejecuta en tu computadora
Nombre en el registroio.github.petrovicistefan/mcp-api-guardian

Instalar

Resumen

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

Local OpenAPI contract and breaking-change checks for AI agents.

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: Herramientas para desarrolladores

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": {
    "api-guardian": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-api-guardian"
      ]
    }
  }
}

Ejecuta esto en tu terminal

claude mcp add api-guardian -- npx -y mcp-api-guardian

Abrir en Cursor

O copia la configuración tú

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

{
  "mcpServers": {
    "api-guardian": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-api-guardian"
      ]
    }
  }
}

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": {
    "api-guardian": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-api-guardian"
      ]
    }
  }
}

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 7 nov 2026

  • ✓ Superada

    El creador coincide con el repo

    El nombre en el registro se verificó con la cuenta de GitHub petrovicistefan, 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 Herramientas para desarrolladoresi

  • Más estrellas que el 0% de los otros 4898 servidores de esta categoría
  • Publicado en el registro más recientemente que el 67% de los otros 4898 servidores de esta categoría
  • Revisiones básicas iguales o mejores que el 100% de los otros 4898 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 MCP API Guardian?

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.1.2) llegó al registro hace 19 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: GitHub, Desktop Commander, Cloudflare 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

GitHub

de github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

Computadora o nube★ 34.245MITActualizado hace 4 días
Instalar

Desktop Commander

de wonderwhy-er

MCP server for terminal commands, file operations, and process management

Se ejecuta en tu computadora★ 10.225MITActualizado hace 16 días
Instalar

Cloudflare MCP

de cloudflare

Cloudflare MCP servers

Se ejecuta en la nube★ 4446Apache-2.0Actualizado hace 14 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.

MCP API Guardian

Stop your AI agent from breaking your API: OpenAPI contract checks and breaking-change diffs over MCP, fully local.

Local-first guardrails for AI coding agents working with OpenAPI specs: catch contract errors (missing operation IDs, unresolved references, public auth), detect breaking changes (removed operations, new required parameters, changed authentication), and keep API consumers working before you ship.

Zero configuration. No API keys. No network. Runs entirely on your machine via the Model Context Protocol.


Table of Contents

  • Quick Install
  • Why API Guardian
  • Tools
  • Use Cases
  • Comparison with Alternatives
  • Limitations
  • Run from Source
  • Roadmap
  • Hosted Path (Control Plane)
  • Contributing
  • License
  • More MCP Servers by the Author

Quick Install

One-Click Install

Cursor:

Or use the direct protocol link: cursor://anysphere.cursor-deeplink/mcp/install?name=api-guardian&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIm1jcC1hcGktZ3VhcmRpYW4iXX0=

Claude Code:

claude mcp add api-guardian -- npx -y mcp-api-guardian

Or if installed in the petrovicistefan/mcp-marketplace:

/plugin marketplace add petrovicistefan/mcp-marketplace
Manual Install

Claude Desktop:

Add to claude_desktop_config.json:

{

"mcpServers": { "api-guardian": { "command": "npx", "args": ["-y", "mcp-api-guardian"] } } }

Cursor:

Add to ~/.cursor/mcp.json:

{

"mcpServers": { "api-guardian": { "command": "npx", "args": ["-y", "mcp-api-guardian"] } } }

VS Code / GitHub Copilot:

Or manually create/edit .vscode/mcp.json:

{

"servers": { "api-guardian": { "type": "stdio", "command": "npx", "args": ["-y", "mcp-api-guardian"] } } }

Windsurf:

Add to ~/.codeium/windsurf/mcp_config.json:

{

"mcpServers": { "api-guardian": { "command": "npx", "args": ["-y", "mcp-api-guardian"] } } }

Zed:

Add to your Zed settings.json:

{

"context_servers": { "api-guardian": { "command": "npx", "args": ["-y", "mcp-api-guardian"] } } }

Direct npx (one-line test):

npx -y mcp-api-guardian

⭐ Star This Repo If It Helps

Found this MCP useful? [Star this repository](https://github.com/petrovicistefan/mcp-api-guardian)!

A GitHub star helps other developers discover the project and lets you save it for later. Thanks for supporting open source!


Why API Guardian

AI coding agents increasingly modify OpenAPI specs as they work on API features, documentation, and integrations. A single agent iteration can:

  • Remove an operation a client depends on
  • Add a required request parameter without a default
  • Change an operationId that generated SDKs rely on
  • Accidentally publish a public endpoint with no authentication
  • Break external references or introduce duplicate IDs

API Guardian catches these before they break production. It provides two MCP tools your AI agent can call:

  1. `audit_openapi` — lints a single OpenAPI spec for contract errors, missing metadata, auth risks
  2. `compare_openapi` — diffs two spec versions and detects breaking changes

Fully local, read-only, zero dependencies. No telemetry, no API keys, no network calls.


Tools

API Guardian provides 2 MCP tools for validating OpenAPI 3.0.x and 3.1.x documents:

ToolDescriptionInputs
`audit_openapi`Static OpenAPI 3.0/3.1 lint and authentication declaration review. Does not call endpoints.spec (object): OpenAPI document as JSON

| `compare_openapi` | Find selected breaking changes between two OpenAPI documents; not exhaustive schema compatibility. | before (object): Original OpenAPI document after (object): Updated OpenAPI document |

audit_openapi({spec})

Static contract checks on a single OpenAPI spec:

  • Contract errors: Unresolved $ref references, missing info.title/info.version, invalid paths
  • Operation metadata: Missing or duplicate operationId, missing response definitions
  • Path parameters: All {param} placeholders must be declared as required path parameters
  • Security warnings: Public operations (no auth required), basic auth over HTTP, API keys in query strings
  • External references: Flags unchecked external $ref URLs (not fetched)

Reports errors and warnings with severity, location, and actionable messages. Explicitly states coverage limits.

compare_openapi({before, after})

Breaking-change detection between two OpenAPI spec versions:

  • Removed operations: Previously available endpoints deleted
  • Changed operation IDs: Generated clients and agents may depend on stable IDs
  • New required parameters: Added inline required parameters (clients can't provide them)
  • Request body requirement: Optional body became required
  • Removed response codes: Status codes clients may handle are gone
  • Security changes: Authentication requirements modified (warning-level)

Reports definite breaks (error) and potential compatibility issues (warning). Schema variance and composed schemas are not yet analyzed (see Limitations).


Use Cases

For Individual Developers

Prompt: "Audit the OpenAPI spec at api/openapi.json before I commit"

Your AI agent calls audit_openapi, catches a missing operation ID, and suggests a fix — before the PR.


For CI / PR Checks

Prompt: "Compare the OpenAPI spec on this branch to main and fail if there are breaking changes"

Your agent runs compare_openapi, detects a removed endpoint, and blocks the merge with an actionable report.


For Teams and Enterprises

Prompt: "Check all OpenAPI specs in api/ for public endpoints without authentication"

Your agent audits each spec, flags public operations, and generates a security review checklist.


Comparison with Alternatives

FeatureMCP API Guardianoasdiffpb33f/openapi-changesoptic (archived)
MCP integration✅ Native MCP server❌ CLI only❌ CLI only❌ CLI only
AI agent friendly✅ JSON-RPC stdio, designed for agents⚠️ CLI output parsing⚠️ CLI output parsing⚠️ Archived
Fully local (no network)✅ Zero network calls✅ Offline✅ Offline⚠️ Cloud offering existed
Breaking-change detection✅ Core feature✅ Comprehensive (773 checks)✅ Comprehensive✅ (legacy)
Static contract linting✅ Core feature⚠️ Validation only⚠️ Change-focused⚠️ Traffic-focused
Git revision comparison❌ Planned✅ Built-in✅ Built-in✅ (legacy)
Schema compatibility❌ Planned✅ Full✅ Full✅ (legacy)
HTML/Markdown reports❌ JSON only✅ Multiple formats✅ Multiple formats✅ (legacy)
LicenseMITApache 2.0GPL-3.0 / CommercialMIT (archived)

When to use API Guardian:

  • ✅ You want your AI agent (Claude, Cursor, etc.) to natively check OpenAPI contracts without CLI wrappers
  • ✅ You need local-first, zero-network validation (no external dependencies)
  • ✅ You want targeted linting + breaking-change detection in one MCP server

When to use alternatives:

  • Use oasdiff if you need the most comprehensive breaking-change ruleset (773 checks) and CI-native workflows
  • Use pb33f/openapi-changes if you need beautiful HTML/Markdown diff reports for human review
  • Both oasdiff and openapi-changes support full schema compatibility checks and git-native comparison, which API Guardian will add in future releases

Limitations

API Guardian is a targeted linter, not a complete OpenAPI validator. Current limitations:

  • ❌ YAML specs not supported: Only JSON OpenAPI documents are accepted. Pass parsed JSON objects to the MCP tools. YAML support is on the roadmap (see below).
  • ❌ External `$ref` not fetched: External HTTP/HTTPS references are flagged as warnings but not resolved or validated
  • ❌ Schema compatibility not checked: Request vs response variance, oneOf/anyOf/allOf composed schemas, and property-level breaking changes require a later release
  • ❌ Referenced parameters not compared: Only inline parameters are checked in compare_openapi
  • ❌ No live HTTP probes: Does not test actual API behavior or validate runtime responses
  • ❌ No filesystem access: You must pass the spec as a parsed JSON object (no file paths)

Public endpoints may be intentional; warnings are not proof of a vulnerability. Reports explicitly state coverage limits.


Run from Source

git clone https://github.com/petrovicistefan/mcp-api-guardian.git

cd mcp-api-guardian npm test npm start

Add to an MCP client's configuration, replacing the absolute path:

{

"mcpServers": { "api-guardian": { "command": "node", "args": ["/absolute/path/mcp-api-guardian/src/server.js"] } } }

Requirements: Node.js 22+


Roadmap

Future releases will add:

  1. YAML support: Parse and validate YAML OpenAPI specs (currently JSON only)
  2. Full schema compatibility: Detect property-level breaking changes, composed schemas (oneOf/anyOf/allOf), request vs response variance
  3. Local reference resolution: Fetch and validate external $ref references with configurable allowlists
  4. Git-native comparison: Compare specs across branches/commits without manual file extraction
  5. Live response validation: Opt-in HTTP probes with target allowlists, size limits, and secret redaction

Hosted Path (Control Plane)

The local stdio MCP server above stays fully useful without an account or network. Quotas are enforced only by a separate hosted HTTP process that reserves units on mcp-control-plane before running the same analysis core.

# Terminal 1 — control plane (see its README for ADMIN_TOKEN)

node --env-file=.env src/server.js # in mcp-control-plane

Terminal 2 — hosted api-guardian

cp .env.example .env # set CONTROL_PLANE_URL npm run start:hosted

Bootstrap a customer key with the control-plane admin API (POST /v1/admin/accounts, POST /v1/admin/keys). Then:

MethodPathBody
GET/healthLiveness
POST

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

Pregunta a PopNx