OpenAPI Validator Engine

OpenAPI Validator Engine MCP Connector for Claude

A+

Validate any OpenAPI or Swagger spec (2.0, 3.0, 3.1, 3.2) local before generating code from it. Returns version, validity, and every schema error with exact paths. Your spec quality gate.

1 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Your agent is about to generate an SDK from an OpenAPI spec. But the spec has a missing $ref, an invalid schema type, and a path parameter that doesn't match the URL template. The generated code compiles but crashes at runtime. Nobody finds it until production.

This MCP validates OpenAPI/Swagger specifications against the official JSON Schema before any code generation happens. It catches every structural error with the exact path where it occurred.

The Superpowers

  • 4 Versions: OpenAPI 2.0 (Swagger), 3.0, 3.1, and 3.2 — auto-detected.
  • Exact Error Paths: Each error includes the JSON pointer (e.g. paths./users.get.responses.200.content) for surgical fixes.
  • Local: No external API calls. The validation schema is embedded.
  • Quality Gate: Use as a CI/CD gate — reject code generation from invalid specs.
api-specificationswaggerschema-validationcode-generationquality-assurancejson-schema

1 tools expose this connector's capabilities to your AI agent.

validate_openapi

Pass the spec as a JSON string. The engine validates against the official OpenAPI JSON Schemas and returns all errors with paths. Supports Swagger 2.0, OpenAPI 3.0, 3.1, and 3.2. Validates OpenAPI/Swagger specifications (2.0, 3.0.x, 3.1.x, 3.2.x) offline. Returns version, validity, and detailed error list

See how to talk to your AI agent using OpenAPI Validator Engine.

Before I generate the TypeScript SDK, validate this OpenAPI 3.1 spec for any schema errors.

Version: 3.1.0 | Valid: false | 2 errors: missing $ref at paths./users, invalid type at components.schemas.Order.status.

Our partner sent us their API spec. Check if it's valid before we start integration.

Version: 3.0.3 | Valid: true | 0 errors. Spec is clean — safe to proceed.

Validate our internal Swagger 2.0 spec — it was auto-generated and might have issues.

Version: 2.0 | Valid: false | 5 errors in definitions and path parameters.

Swagger 2.0, OpenAPI 3.0.x, OpenAPI 3.1.x, and OpenAPI 3.2.x. The version is auto-detected from the spec.

Related Connectors