mcpField
T
toml-yaml-json-mcp

toml-yaml-json-mcp

Local
github.com/MukundaKattaDeveloper Tools0Updated 20w ago

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

  1. 01Parse TOML, YAML, and JSON
  2. 02Format values as configuration text
  3. 03Convert between the three formats

Use cases

  1. 01Convert a configuration file to another format
  2. 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.

mcp.json · Universal config
{
"mcpServers": {
"mukundakatta-toml-yaml-json": {
"command": "npx",
"args": [
"-y",
"@mukundakatta/toml-yaml-json-mcp"
]
}
}
}
Run commandnpx -y @mukundakatta/toml-yaml-json-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@mukundakatta/toml-yaml-json-mcp0.1.0

Tools

3

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
textstringYes
formatenumYestoml | 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 out
  • format(value, format) — JS value in, config string out
  • convert(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

Markdown supported

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.