convez.ai
MCP Server
MukundaKatta

json5-mcp

MukundaKatta/json5-mcp

Ver no GitHub
InicialPluginScore · de 0 a 100

MCP server: parse and stringify JSON5 — relaxed JSON with comments and trailing commas.

Instalação

$npx convez-ai MukundaKatta/json5-mcp

1 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

Estrelas
0
Forks
0
Acompanhando
0
Saúde
42%
Último commit
há 2 meses
Versão
—
Issues abertas
4
Contribuidores
1

README

A tradução para o português deste README ainda está na fila.

json5-mcp

npm mcp license

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.

Ver o original no GitHub

Relacionados