Angular token saver for VS Code
io.github.alex88ryabov/ng-token-saver
Compiler-backed Angular template answers, component contracts and version facts for AI agents
client:VS Code
transport:stdio
runtime:npm
Install Angular token saver in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "ng-token-saver-idle-ms",
"description": "NG_TOKEN_SAVER_IDLE_MS",
"password": true
},
{
"type": "promptString",
"id": "ng-token-saver-prewarm",
"description": "NG_TOKEN_SAVER_PREWARM",
"password": true
},
{
"type": "promptString",
"id": "ng-token-saver-trace",
"description": "NG_TOKEN_SAVER_TRACE",
"password": true
}
],
"servers": {
"ng-token-saver": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@alex-apps/ng-token-saver"
],
"env": {
"NG_TOKEN_SAVER_IDLE_MS": "${input:ng-token-saver-idle-ms}",
"NG_TOKEN_SAVER_PREWARM": "${input:ng-token-saver-prewarm}",
"NG_TOKEN_SAVER_TRACE": "${input:ng-token-saver-trace}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs