jsonsafe-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Use jsonsafe-mcp to parse JSON and multi-line .jsonl streams losslessly without JSON.parse() IEEE-754 float64 rounding (> 2^53 - 1), decode 64-bit Twitter/Discord/Epoch Snowflake timestamps, recursively un-escape nested stringified JSON logs, compute lossless RFC 6902 JSON Patches catching 1-ULP int64 mutations, and infer TypeScript, Zod v3, Go struct, PostgreSQL DDL, and JSON Schema Draft 2020-12 definitions.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| inspect_lossless_bigint_jsonA | Parses raw JSON or multi-line .jsonl payloads offline without IEEE-754 float64 truncation (> 2^53 - 1), flagging unsafe int64/decimal paths, decoding Snowflake timestamps, detecting duplicate keys, and previewing JWT claims. |
| infer_multi_target_schemaA | Infers unified schemas across single JSON payloads or 1,000+ .jsonl rows (optional ?, | null, UUID, ISO timestamps, and string | bigint hazards) into TypeScript, Zod v3, Go struct, PostgreSQL DDL, and JSON Schema Draft 2020-12. |
| diff_lossless_rfc6902_patchA | Computes a lossless RFC 6902 JSON Patch (add, remove, replace) between two JSON snapshots, catching 1-ULP 64-bit Snowflake and high-precision decimal mutations that JSON.parse() silently misses. |
| unescape_nested_json_logsA | Recursively un-escapes nested stringified JSON fields inside gateway, Kafka, or OpenTelemetry .json/.jsonl logs while preserving exact 64-bit Snowflake IDs and redacting JWT signatures. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| audit-json-int64-precision-hazards | Inspect an API response or .jsonl log file for 64-bit Snowflake ID truncation (> 2^53 - 1), high-precision decimal loss, and nested escaped JSON. |
| generate-jsonl-5target-schema | Infer TypeScript, Zod v3, Go struct, PostgreSQL DDL, and JSON Schema Draft 2020-12 definitions from a .json or .jsonl payload. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| IEEE-754 Float64 vs Signed/Unsigned 64-Bit Integer Boundaries | Exact numeric boundaries where standard JavaScript JSON.parse() silently rounds 64-bit Snowflake IDs and financial decimals. |
| JsonSafe 5-Target Safe BigInt & Decimal Codegen Mapping | Deterministic mapping from unsafe JSON numeric literals to TypeScript, Zod v3, Go, PostgreSQL, and JSON Schema Draft 2020-12. |
TDQS
Scored across 4 tools
Each tool targets a distinct JSON-safety concern: inspection, schema inference, diffing/patching, and log unescaping. The main overlap is between inspect_lossless_bigint_json and unescape_nested_json_logs, since both parse JSON/.jsonl logs, but their descriptions clarify analysis versus transformation.
All tool names follow a consistent snake_case verb-first pattern with descriptive noun phrases. The convention is predictable across the set, even though the names are long and specialized.
Four tools is well-scoped for a focused JSON safety utility. Each tool covers a distinct workflow—inspection, schema inference, patch diffing, and log unescaping—without obvious filler.
The surface covers several important JSON-safety workflows, but there are notable gaps such as applying RFC 6902 patches, safe serialization/stringification, and explicit validation or repair operations. Agents may need external tools to complete patch-apply and encode-side workflows.