json-mender-mcp
v0.2.1Local MCP server: JSON repair, regex testing, JSON-Schema validation for AI agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
repair_json
Repair malformed JSON (trailing commas, unescaped quotes, missing brackets) and return the parsed result.
| Parameter | Type | Description |
|---|---|---|
text * | string | Malformed JSON text to repair. |
validate_regex
Test a regex pattern against one or more strings deterministically and return match details.
| Parameter | Type | Description |
|---|---|---|
pattern * | string | |
testStrings * | array | |
flags | string | Optional regex flags, e.g. "gi". |
validate_against_schema
Validate data against a real JSON-Schema (draft 2020-12) and report all errors.
| Parameter | Type | Description |
|---|---|---|
data * | The data to validate (any JSON value). | |
schema * | object | A JSON-Schema object. |