accueil / serveurs / Dev & Code / dev.workers.mike-tusa.jsonmend/jsonmend
dev.workers.mike-tusa.jsonmend/jsonmend
serveur MCP (Model Context Protocol) · jsonmend 0.1.3
Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur.
Est-ce que dev.workers.mike-tusa.jsonmend/jsonmend est sûr ?
Au dernier audit MCP Hub, le serveur MCP « dev.workers.mike-tusa.jsonmend/jsonmend » est classé « Non encore testé ». Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur. Le verdict est réévalué en continu ; consultez la fiche pour l'état à jour.
Méthode : MCP Hub analyse la description de chaque outil (couche 1) et, pour le verdict fort, exécute le serveur dans une micro-VM isolée avec leurres et réseau bloqué (couche 2). On publie des noms et des compteurs, jamais le contenu brut renvoyé par un outil.
Les 2 outils
- repair_json≈ 1182 tokens
Turn broken or messy JSON text into valid JSON. Strips Markdown code fences and prose before/after the JSON, removes comments and trailing commas, converts single/curly quotes, quotes unquoted keys, maps Python None/True/False, inserts missing commas, closes truncated strings/arrays/objects, and wraps NDJSON / several concatenated objects into one array. Returns the parsed value (json), the repaired text, and the list of fixes applied; valid input passes through unchanged with no fixes. Optional schema (+ coerce) also validates the result. Fails with isError (code unrepairable / no_json_found) when nothing JSON-like can be recovered. Pure computation: read-only, no network access, inputs not stored. Same engine and limits as POST /api/v1/repair.
Paramètres, retour & exemple (5)
Paramètresdraft· string · optionnel · 2020-12 | 2019-09 | 7 | 4
JSON Schema draft. Default: from the schema's $schema, else 2020-12.input· string · requis
The raw (possibly broken) JSON text, e.g. an LLM reply with code fences and prose around the JSON. Max 102,400 bytes (UTF-8).coerce· boolean · optionnel
Convert values toward the schema's declared types before validating: "42" → 42, "true" → true, "null" → null, 5 → "5", x → [x]. Each change is listed in coercions.format· string · optionnel · compact | pretty | preserve
Layout of the returned text: compact (default), pretty (2-space indent), or preserve (jsonrepair's output, keeps original spacing and long-number digits).schema· object · optionnel
A JSON Schema (draft 2020-12 by default; 2019-09, 7 and 4 also supported). Only local $refs (#/...) resolve; remote $refs are an error. Max 32 KB.
Exemple d'appel{"name": "repair_json", "arguments": {"input": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"ok": true, "json": "texte", "plan": "anonymous", "fixes": [], "format": "compact", "schema": {}, "values": 1, "changed": true, "version": "texte", "warnings": [], "inputBytes": 1, "outputBytes": 1}} - validate_json≈ 1004 tokens
Check JSON against a JSON Schema and get every error with its JSON Pointer path. Send the JSON either as text ("input"; broken text is repaired first, and the fixes are listed) or as an already-parsed value ("data"). Optional coerce converts "42" → 42, "true" → true, etc. toward the schema's types before validating and lists each change. A schema mismatch is a normal result (valid: false), not an error. Drafts 2020-12 (default), 2019-09, 7, 4; only local $refs. Pure computation: read-only, no network access, inputs not stored. Same engine and limits as POST /api/v1/validate.
Paramètres, retour & exemple (5)
Paramètresdata· ? · optionnel
An already-parsed JSON value to validate. Send this or "input", not both.draft· string · optionnel · 2020-12 | 2019-09 | 7 | 4
JSON Schema draft. Default: from the schema's $schema, else 2020-12.input· string · optionnel
JSON text to validate (repaired first if broken). Send this or "data", not both. Max 102,400 bytes.coerce· boolean · optionnel
Convert values toward the schema's declared types before validating: "42" → 42, "true" → true, "null" → null, 5 → "5", x → [x]. Each change is listed in coercions.schema· object · requis
A JSON Schema (draft 2020-12 by default; 2019-09, 7 and 4 also supported). Only local $refs (#/...) resolve; remote $refs are an error. Max 32 KB.
Exemple d'appel{"name": "validate_json", "arguments": {"schema": {}}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"ok": true, "json": "texte", "plan": "anonymous", "draft": "2020-12", "fixes": [], "valid": true, "errors": [], "coerced": true, "version": "texte", "repaired": true, "warnings": [], "coercions": []}}
C'est votre serveur ?
Revendiquez-le sur l'espace créateur (preuve GitHub, domaine ou npm) pour afficher le badge « propriétaire vérifié » et lancer un pentest comportemental à la demande afin d'obtenir le badge « Vérifié ».