Tidegap for VS Code
io.github.tidegap/tidegap
Runs non-urgent LLM tasks at the cleanest grid hour before a deadline, via Batch APIs when allowed.
client:VS Code
transport:stdio
runtime:npm
Install Tidegap in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "tidegap-default-region",
"description": "TIDEGAP_DEFAULT_REGION",
"password": true
},
{
"type": "promptString",
"id": "tidegap-db-path",
"description": "TIDEGAP_DB_PATH",
"password": true
},
{
"type": "promptString",
"id": "anthropic-api-key",
"description": "ANTHROPIC_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "openai-api-key",
"description": "OPENAI_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "tidegap-eia-api-key",
"description": "TIDEGAP_EIA_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "tidegap-entsoe-security-token",
"description": "TIDEGAP_ENTSOE_SECURITY_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "watttime-username",
"description": "WATTTIME_USERNAME",
"password": true
},
{
"type": "promptString",
"id": "watttime-password",
"description": "WATTTIME_PASSWORD",
"password": true
},
{
"type": "promptString",
"id": "tidegap-electricity-maps-api-key",
"description": "TIDEGAP_ELECTRICITY_MAPS_API_KEY",
"password": true
}
],
"servers": {
"tidegap": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@tidegap/mcp"
],
"env": {
"TIDEGAP_DEFAULT_REGION": "${input:tidegap-default-region}",
"TIDEGAP_DB_PATH": "${input:tidegap-db-path}",
"ANTHROPIC_API_KEY": "${input:anthropic-api-key}",
"OPENAI_API_KEY": "${input:openai-api-key}",
"TIDEGAP_EIA_API_KEY": "${input:tidegap-eia-api-key}",
"TIDEGAP_ENTSOE_SECURITY_TOKEN": "${input:tidegap-entsoe-security-token}",
"WATTTIME_USERNAME": "${input:watttime-username}",
"WATTTIME_PASSWORD": "${input:watttime-password}",
"TIDEGAP_ELECTRICITY_MAPS_API_KEY": "${input:tidegap-electricity-maps-api-key}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs