Api Contract Validator
by lazy-mac.com in Onchain & crypto
Cloudflare Workers MCP server: api-contract-validator
https://api.lazy-mac.com/api-contract-validator/mcp
Last 30 days
- Uptime
- 100%
- Response time
- 67 ms typical, 67 ms slowest 5%
- Last check
- 4 h ago
- Next check
- in 3 h
How to call it
Add it to any MCP client that supports remote servers.
{
"mcpServers": {
"api-contract-validator": {
"type": "http",
"url": "https://api.lazy-mac.com/api-contract-validator/mcp"
}
}
}5 tools
- validate_openapi_spec
Validate an OpenAPI 3.x or AsyncAPI spec JSON. Returns structural errors, missing required fields, and warnings.
- diff_request_response
Compare a real HTTP request/response against an OpenAPI spec contract. Returns per-field violations.
- lint_api_schema
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.
- generate_mock_from_spec
Generate mock response data from an OpenAPI spec. Uses examples, defaults, formats, and type heuristics.
- check_breaking_changes
Compare two OpenAPI spec versions to detect breaking changes: removed paths/operations, new required parameters, removed response codes, operationId renames.
Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time |
|---|---|---|---|
| 4 h ago | Passed | 200 | 67 ms |