BoaviztAPI for VS Code
io.github.malikmalikayesha/boaviztapi-mcp
Environmental footprint of cloud instances, servers, GPUs and devices, via BoaviztAPI.
client:VS Code
transport:stdio
runtime:pypi
Install BoaviztAPI in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "boaviztapi-url",
"description": "BOAVIZTAPI_URL",
"password": true
},
{
"type": "promptString",
"id": "boaviztapi-timeout",
"description": "BOAVIZTAPI_TIMEOUT",
"password": true
},
{
"type": "promptString",
"id": "boaviztapi-default-criteria",
"description": "BOAVIZTAPI_DEFAULT_CRITERIA",
"password": true
},
{
"type": "promptString",
"id": "boaviztapi-cache-ttl",
"description": "BOAVIZTAPI_CACHE_TTL",
"password": true
}
],
"servers": {
"boaviztapi-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"boaviztapi-mcp"
],
"env": {
"BOAVIZTAPI_URL": "${input:boaviztapi-url}",
"BOAVIZTAPI_TIMEOUT": "${input:boaviztapi-timeout}",
"BOAVIZTAPI_DEFAULT_CRITERIA": "${input:boaviztapi-default-criteria}",
"BOAVIZTAPI_CACHE_TTL": "${input:boaviztapi-cache-ttl}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs