convexity mcp for VS Code
io.github.bayesian-energy/convexity-mcp
Build, edit, solve and analyse Convexity energy-system models from any MCP client; drives the app.
client:VS Code
transport:stdio
runtime:npm
Install convexity mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "convexity-api-key",
"description": "CONVEXITY_API_KEY",
"password": true
}
],
"servers": {
"convexity-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"convexity-mcp"
],
"env": {
"CONVEXITY_API_KEY": "${input:convexity-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