Home / Servers / Data Formats / dotenv_from_json
Dotenv from json
An MCP tool from the Data Formats server, hosted on mcp.hjlabs.in.
Write a flat JSON object as .env lines, quoting values that need it. Nested values are flattened with underscores and keys upper-cased.
Name on the gateway: data__dotenv_from_json · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
json required | string | A JSON object. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "data__dotenv_from_json",
"arguments": {
"json": "…"
}
}Or connect the Data Formats server directly, which lists 26 tools including this one:
claude mcp add --transport http hj-data https://mcp.hjlabs.in/mcp/data \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the dotenv from json tool with json set to ….