json5-mcp
MukundaKatta/json5-mcp
MCP server: parse and stringify JSON5 — relaxed JSON with comments and trailing commas.
Instalação
npx convez-ai MukundaKatta/json5-mcp1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.
Métricas
README
A tradução para o português deste README ainda está na fila.
json5-mcp
MCP server: parse and stringify JSON5. Use this when you've got a config file with comments, trailing commas, or unquoted keys that plain JSON would choke on.
Tools
parse
{ "text": "{ /* settings */ retries: 3, hosts: ['a', 'b'], }" }
→ { "value": { "retries": 3, "hosts": ["a", "b"] } }
Accepts the full JSON5 grammar: block + line comments, unquoted keys,
single-quoted strings, trailing commas, hex numbers, leading/trailing
decimal points, +Infinity, NaN.
stringify
{ "value": { "a": 1, "b": [2, 3] }, "indent": 2 }
→ JSON5 output (still valid JSON when indent=0).
Configure
{ "mcpServers": { "json5": { "command": "npx", "args": ["-y", "@mukundakatta/json5-mcp"] } } }
License
MIT.