io. github. lazymac2x/ api-contract-validator
by lazymac2x · remote · no sign-in to list tools · v1.0.0 · published by GitHub user lazymac2x
Cloudflare Workers MCP server: api-contract-validator
5 tools: 2 change things and 3 only read.
Scanned Oct 21, 2026
- Deletes or cancels0Claude Code: deny
- Can't be undone0Claude Code: ask
- Changes things2Claude Code: ask: see these tools
- Only reads3Claude Code: allow: see these tools
No check matched anything in the tool definitions. No finding is not a safety guarantee. How the checks work.
claude mcp add --transport http api-contract-validator https://api.lazy-mac.com/api-contract-validator/mcpTools
Open a tool for its reasons and full description. Descriptions are the publisher's own words, shown as they are.
5 tools
Changes things 2Claude Code: ask
generate_mock_from_specGenerate mock response data from an OpenAPI spec.No findings
Why it is in this group
- The name "generate_mock_from_spec" says "generate": a word for a change.
Description, as the server wrote it Generate mock response data from an OpenAPI spec. Uses examples, defaults, formats, and type heuristics.
lint_api_schemaLint an API spec for quality and best practice compliance.No findings
Why it is in this group
- Nothing in its name or description says what it does, so it is counted as a write.
Description, as the server wrote it Lint an API spec for quality and best practice compliance. Rules: operation-id-kebab-case, response-success-required, tags-defined, no-empty-description, security-defined.
Only reads 3Claude Code: allow
check_breaking_changesCompare two OpenAPI spec versions to detect breaking changes: removed paths/operations, new required parameters, removed response codes, operationId renames.No findings
Why it is in this group
- The description's first verb is "compare": a word for reading.
Description, as the server wrote it Compare two OpenAPI spec versions to detect breaking changes: removed paths/operations, new required parameters, removed response codes, operationId renames.
diff_request_responseCompare a real HTTP request/response against an OpenAPI spec contract.No findings
Why it is in this group
- The name "diff_request_response" says "diff": a word for reading.
Description, as the server wrote it Compare a real HTTP request/response against an OpenAPI spec contract. Returns per-field violations.
validate_openapi_specValidate an OpenAPI 3.x or AsyncAPI spec JSON.No findings
Why it is in this group
- The name "validate_openapi_spec" says "validate": a word for reading.
Description, as the server wrote it Validate an OpenAPI 3.x or AsyncAPI spec JSON. Returns structural errors, missing required fields, and warnings.
This is not a safety rating, and no finding is not a safety guarantee. The groups and findings come from fixed checks of the tool definitions the server returned on the date shown, not from its code or what it does when called. How the checks work.
Install
Pinned to version 1.0.0. Values in angle brackets are yours to fill in.
claude mcp add --transport http api-contract-validator https://api.lazy-mac.com/api-contract-validator/mcpRun in a terminal.
Claude Code permissions
Allow the reads, ask before a change, deny the deletes. Paste into .claude/settings.json.
{
"permissions": {
"allow": [
"mcp__api-contract-validator__validate_openapi_spec",
"mcp__api-contract-validator__diff_request_response",
"mcp__api-contract-validator__check_breaking_changes"
],
"ask": [
"mcp__api-contract-validator__lint_api_schema",
"mcp__api-contract-validator__generate_mock_from_spec"
],
"deny": []
}
}Tools that only read are allowed, tools that change things ask first, tools that delete or cancel are denied. It assumes the server is installed as api-contract-validator. Review it before you use it.
