set_environment_from_file
Reads a user-authorized local .env file, parses literal values, and sets them on a project's frontend or server environment, returning only variable names without redeploying.
Instructions
Read the user-authorized local .env file on the computer running this MCP, parse literal dotenv values and securely set them on this project. Only variable names are returned. No shell expansion. Does not redeploy.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"kind": "<kind>",
"project_id": "<project_id>",
"env_file": "<env_file>"
},
"name": "set_environment_from_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| env_file | Yes | ||
| project_id | Yes |