OpenAPI Contract Guard MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OASDIFF_BIN | No | oasdiff 可执行文件路径 | oasdiff |
| OPENAPI_GUARD_ALLOWED_ROOTS | No | 允许读取的本地根目录列表(多个用:分隔,Windows用;分隔) | current working directory |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| validate_specA | Validate a local OpenAPI 3.x file without resolving external references. |
| compare_specsC | Compare two OpenAPI documents and return the complete structural diff. |
| list_breaking_changesC | List changes in the revision that may break existing API clients. |
| generate_changelogC | Generate a categorized changelog between two OpenAPI documents. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool has a distinct purpose: validation, comparison, breaking changes, and changelog generation. No overlapping functionality.
All tool names follow the verb_noun pattern (validate_spec, compare_specs, list_breaking_changes, generate_changelog) with consistent snake_case.
Four tools is appropriate for the focused domain of OpenAPI specification analysis, covering key workflows without unnecessary clutter.
The set covers validation, comparison, breaking changes, and changelog generation, but missing features like linting or reference resolution validation.