SuperAPIAI Directory

specshield-mcp-server

github.com · AI coding

OpenAPI breaking-change detection and migration guides to check whether an API change is safe to ship.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

SpecShield MCP Server is an API change deployment gate tool (MCP server) for AI coding agents. Its core goal is to answer a key question: can this API change be safely released to my consumers? It can be used directly within MCP clients such as Claude and Cursor, helping to intercept breaking changes before they affect consumers.

Purpose The tool focuses on the release decision for API changes, rather than merely listing differences. Many tools (including free tools) can list breaking changes, but SpecShield's responsibility is to provide a decision—"Can I deploy this change?"—and the deployment gate is its core tool. It performs read-only analysis based on OpenAPI/Pact specifications and does not modify code.

Main capabilities

  • Tools 1–5 support passing specifications inline (baseSpecContent / targetSpecContent) or by path (baseSpecPath / targetSpecPath).
  • run_governance_review is used to review a single specification (specContent / specPath).
  • Supports breaking change detection, can-i-deploy checks, and analysis based on OpenAPI/Pact.
  • As a lightweight adapter for the SpecShield backend, all tools are read-only/analysis-only.

Usage

  • Configure in an MCP client: you can use claude_desktop_config.json, or ~/.cursor/mcp.json (or the project's .cursor/mcp.json).
  • Requires Node.js ≥ 20 and a SpecShield API key (obtained from specshield.io/account).
  • Example prompts: "Here are my old and new openapi.yaml — is it safe to ship this API change to my consumers?"; "Compare v1.yaml and v2.yaml and tell me if I can deploy, and why not."; "Explain the breaking changes between these two specs and how consumers should migrate."; "Generate customer-facing release notes for this API change."
  • If you need to use it in CI/CD rather than through an agent, the specshield CLI can perform the same breaking change and can-i-deploy checks in pipelines (GitHub Action, exit codes). There are two entry points for the same task: this server is for AI agents, and the CLI is for CI/CD.

Applicable scenarios

  • Quickly assess the release safety of API changes within AI coding agents.
  • Explain breaking changes and provide migration guidance.
  • Generate customer-facing release notes for API changes.
  • Serve as a supplementary decision entry point outside CI/CD pipelines.

Limitations

  • run_governance_review is a paid feature—a free API key will return a payment_required error, and the upgrade address is specshield.io/pricing.
  • Requires an API key, which is sent only as an X-Api-Key header to the configured backend.
  • Read-only/analysis-only: no mutation tools, no shell execution, no arbitrary file access (specification files are read only when a path is explicitly passed in).
  • Does not log keys or specification contents: the server never logs specification contents, API keys, or request bodies; error messages are redacted and machine-readable.
  • Specifications are sent to the configured SpecShield backend for analysis.
  • For complete setup, verification, and troubleshooting, see docs/mcp-server-setup.md.
  • Licensed under MIT, © SpecShield Software Private Limited.

Other information In terms of category, this tool belongs to AI programming tools and is related to API change review and deployment decisions for AI agents. The official description also mentions "The API-change deploy gate for AI coding agents (MCP server): is it safe to ship this API change to my consumers? Read-only, over OpenAPI/Pact."

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools