@mukundakatta/yaml-mcp
v0.1.0
Published
MCP server: convert between YAML and JSON. Preserves keys, arrays, nested structures.
Maintainers
Readme
yaml-mcp
MCP server: convert between YAML and JSON. Two tools — to_json and
to_yaml. Multi-document YAML streams are supported.
Tools
to_json
{ "text": "name: Mukunda\nage: 30\ntags:\n - rust\n - python" }→ { "value": { "name": "Mukunda", "age": 30, "tags": ["rust", "python"] } }
Set all_documents: true for multi-doc streams (a:1\n---\nb:2) — returns an array of values.
to_yaml
{ "value": { "name": "x", "tags": ["a", "b"] } }→ multi-line YAML output. indent (default 2) controls indent width.
Configure
{ "mcpServers": { "yaml": { "command": "npx", "args": ["-y", "@mukundakatta/yaml-mcp"] } } }License
MIT.
