toml-mcp

v1.0.1
io.github.mrfentmen/toml-mcp Checked 1 day ago Published 24 days ago

Read, write and query TOML config files: parse TOML to JSON, emit TOML, read one path.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

parse_toml

Parse TOML text into JSON, with line and column on any syntax error.

ParameterTypeDescription
toml *stringTOML document text

to_toml

Convert a JSON object into TOML text, using [tables] for nested objects.

ParameterTypeDescription
json *stringJSON object text

get_path

Read one value from TOML by dotted path, e.g. project.name or servers[0].host.

ParameterTypeDescription
path *stringDotted path, e.g. "server.port" or "servers[0].host"
toml *stringTOML document text