token lens for VS Code
io.github.mdfifty50-boop/token-lens
Context window token analysis and budget management
client:VS Code
transport:stdio
runtime:npm
Install token lens in VS Code
.vscode/mcp.json
{
"servers": {
"token-lens": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"token-lens-mcp"
]
}
}
}
Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs