Deterministic validation for AI-generated artifacts: JSON Schema, OpenAPI response, SQL syntax.
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Validate an artifact against a contract (json_schema | openapi_response | sql) via the machinegrade validate API.
Which validator to run.
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.
Validator-specific contract. json_schema: { schema }. openapi_response: { spec, path, method, status }. sql: { dialect }.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Validate an artifact against a contract (json_schema | openapi_response | sql) via the machinegrade validate API.
| Argument | Type | Description |
|---|---|---|
| type* | string | Which validator to run. |
| artifact* | object | array | string | number | boolean | null | 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 | object | Validator-specific contract. json_schema: { schema }. openapi_response: { spec, path, method, status }. sql: { dialect }. |
{
"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 }."
}
}
}