About toml-yaml-json-mcp
toml-yaml-json-mcp is an MCP server for parsing, formatting, and converting TOML, YAML, and JSON configuration data. It uses format-specific parsers to handle these formats as structured values.
Key features
- 01Parse TOML, YAML, and JSON
- 02Format values as configuration text
- 03Convert between the three formats
Use cases
- 01Convert a configuration file to another format
- 02Parse or format configuration data
MCP support
Exposes parsing, formatting, and conversion tools for TOML, YAML, and JSON to MCP clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
3Saved tool list · updated 3w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| text | string | Yes | |
| format | enum | Yes | toml | yaml | json |
Details
From the project README@mukundakatta/toml-yaml-json-mcp
MCP server for round-tripping config formats. Parse, format, or convert between TOML, YAML, and JSON.
Tools
parse(text, format)— config string in, JS value outformat(value, format)— JS value in, config string outconvert(text, from, to)— TOML ↔ YAML ↔ JSON round trip
Why this exists
LLMs reliably mishandle:
- TOML datetime literals
- TOML array-of-tables (
[[server]]) - TOML inline arrays vs nested keys
- YAML indentation traps
- YAML implicit type coercion (
yes→true, etc.)
Routing through proper parsers (@iarna/toml, js-yaml, the built-in JSON) avoids guessing.
Install — Claude Desktop
{
"mcpServers": {
"toml-yaml-json": { "command": "npx", "args": ["-y", "@mukundakatta/toml-yaml-json-mcp"] }
}
}
Same shape for Cursor / Cline / Windsurf / Zed.
License
MIT OR Apache-2.0.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.