
Json5 Mcp
Convert human-friendly JSON5 configs (comments and trailing commas) into strict JSON your tools and APIs accept.
Overview
io.github.MukundaKatta/json5-mcp is a Build-phase MCP server that parses JSON5 and outputs strict JSON for agents fixing config compatibility issues.
What is this MCP server?
- Parses JSON5: comments, trailing commas, and unquoted keys
- Emits strict RFC-style JSON for downstream validators and APIs
- Stdio MCP server from @mukundakatta/json5-mcp on npm (v0.1.0)
- No native dependencies—fits quick local agent setups
- Part of MukundaKatta mcp-stack utility family
What problem does it solve?
Agents and humans write JSON5-style config with comments and trailing commas, then strict JSON parsers reject the file at the worst moment.
Who is it for?
Builders who want commented config in-repo but need one-click strict JSON inside MCP chats.
Skip if: Projects that need JSON Schema validation, formatting policy enforcement, or large-file streaming transforms.
What do I get? / Deliverables
You get valid strict JSON strings ready for APIs, CI validators, and copy-paste into hosted dashboards.
- Strict JSON output safe for validators and HTTP bodies
- Agent-side conversion step without shell one-liners
- Registered json5-mcp stdio entry in MCP config
Recommended MCP Servers
Journey fit
Build is when you merge agent-edited configs with strict JSON-only deploy pipelines and third-party SDKs. Integrations covers config bridges—TSConfig snippets, MCP manifests, and API schemas that authors write as JSON5 but runtimes require JSON.
How it compares
JSON5-to-JSON parser MCP, not a linter skill or a secrets scanner.
Common Questions / FAQ
Who is json5-mcp for?
Solo developers and agent users who edit JSON5-like config but must hand off strict JSON to tools and hosting providers.
When should I use json5-mcp?
Use it right before validating, deploying, or submitting config when the source file allows comments, unquoted keys, or trailing commas.
How do I add json5-mcp to my agent?
npm install @mukundakatta/json5-mcp, configure it as a stdio MCP server in your host settings, and call the parse tool on your JSON5 text.