apishield-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Use apishield-mcp to audit OpenAPI 3.0/3.1 and Swagger 2.0 contracts for contravariant request and covariant response breaking changes, infer schemas from raw Before/After JSON payload samples, generate customer-facing Markdown changelogs with RFC 8594 Sunset headers and BFF shims, and enforce mobile/mini-program backward-compatibility CI gates.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| diff_openapi_breaking_changesB | Audits OpenAPI 3.0/3.1 and Swagger 2.0 specs (JSON or YAML) using contravariant request and covariant response variance rules (nullable, enum, required, status/auth changes) and recommends SemVer bumps. |
| diff_json_payload_samplesA | Infers normalized JSON schemas from raw Before/After API response or request/response JSON payload samples and detects breaking field removals, nullability shifts, and type mutations. |
| generate_api_release_changelogB | Produces customer-facing Markdown API release changelogs alongside RFC 8594 Deprecation/Sunset HTTP header snippets and BFF adapter migration checklists. |
| validate_contract_backward_compatB | Evaluates a boolean CI gate checking candidate OpenAPI specs or JSON payload samples against mobile/mini-program backward-compatibility thresholds. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| audit-openapi-pull-request | Compare baseline and candidate OpenAPI/Swagger specs to identify breaking request/response variance hazards and recommend a SemVer bump. |
| generate-sunset-bff-migration-plan | Generate a customer-facing API release changelog, RFC 8594 Sunset headers, and a zero-downtime BFF compatibility shim plan. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Contravariant Request & Covariant Response Breaking Rules Catalog | Structured JSON catalog of all 7 API contract breaking-change categories, severities, and variance directions. |
| RFC 8594 Sunset Headers & Zero-Downtime BFF Adapter Guide | Reference playbook for shipping API contract evolutions safely to mobile apps, mini-programs, and webhook consumers. |
TDQS
Scored across 4 tools
The two diff tools are clearly separated by input type (OpenAPI/Swagger specs vs raw JSON payload samples), and the changelog tool is a distinct output-generation operation. The main overlap is between diff_openapi_breaking_changes and validate_contract_backward_compat, which both assess compatibility of OpenAPI specs; descriptions distinguish a detailed variance report from a boolean threshold gate, but an agent could still pick the wrong one for a quick check.
All four names follow a consistent snake_case verb_object pattern (diff_*, generate_*, validate_*) with the domain object embedded. Prefixes map predictably to operation type, making the set easy to scan and reason about.
Four tools is a tight, purposeful surface for a narrow API-contract-compatibility domain, and each tool covers a distinct stage (spec diff, payload diff, changelog, CI gate). It is on the lean side with no tooling for baseline/version management, but nothing feels redundant.
The set covers the core lifecycle: detect breaking changes in specs and payloads, gate CI, and communicate via changelog with deprecation headers and migration checklists. Minor gaps exist around baseline/snapshot storage and retrieval of specs to diff against, which agents must supply themselves.