toml-mcp
v1.0.1Read, 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.
| Parameter | Type | Description |
|---|---|---|
toml * | string | TOML document text |
to_toml
Convert a JSON object into TOML text, using [tables] for nested objects.
| Parameter | Type | Description |
|---|---|---|
json * | string | JSON object text |
get_path
Read one value from TOML by dotted path, e.g. project.name or servers[0].host.
| Parameter | Type | Description |
|---|---|---|
path * | string | Dotted path, e.g. "server.port" or "servers[0].host" |
toml * | string | TOML document text |