costwright — agent budget analysis for VS Code
io.github.hernaninverso/costwright-mcp
Static worst-case token-budget analysis for LLM-agent workflows + signed budget certificates.
client:VS Code
transport:stdio
runtime:npm
Install costwright — agent budget analysis in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "costwright-api-key",
"description": "COSTWRIGHT_API_KEY",
"password": true
}
],
"servers": {
"costwright-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"costwright-mcp"
],
"env": {
"COSTWRIGHT_API_KEY": "${input:costwright-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