MCP 服务器

validate

io.github.machinegrade/validate
开发者工具 公开且可连接 MCP 2025-11-25

此 MCP 可以做什么

Validates JSON, OpenAPI responses, and SQL against specified contracts.

validate
Validate an artifact against a contract (json_schema | openapi_response | sql) via the machinegrade validate API.
输入模式
{'type': 'object', 'required': ['type', 'artifact'], 'properties': {'type': {'enum': ['json_schema', 'openapi_response', 'sql'], 'type': 'string', 'description': 'Which validator to run.'}, 'artifact': {'type': ['object', 'array', 'string', 'number', 'boolean', 'null'], 'description': 'The artifact to validate, as a JSON value — not a JSON-encoded string. json_schema/openapi_response: the object/array/value itself. sql: the SQL statement as a string.'}, 'contract': {'type': 'object', 'description': 'Validator-specific contract. json_schema: { schema }. openapi_response: { spec, path, method, status }. sql: { dialect }.'}}}
已添加
validate
2026年9月17日 12:43