lens mcp for VS Code
io.github.mrhpython/lens-mcp
Outside-in validation gate for AI-generated text; a separate model checks LLM output, fail-closed.
client:VS Code
transport:stdio
runtime:npm
Install lens mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "soulfield-api-base",
"description": "SOULFIELD_API_BASE",
"password": true
},
{
"type": "promptString",
"id": "soulfield-api-key",
"description": "SOULFIELD_API_KEY",
"password": true
}
],
"servers": {
"lens-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@soulfield/lens-mcp"
],
"env": {
"SOULFIELD_API_BASE": "${input:soulfield-api-base}",
"SOULFIELD_API_KEY": "${input:soulfield-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