Lovec for VS Code
io.github.lovec-tech/lovec-mcp
Prompt-injection detector for untrusted text before it reaches an LLM (RU/EN). BYO lovec.tech key.
client:VS Code
transport:stdio
runtime:pypi
Install Lovec in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "lovec-key",
"description": "LOVEC_KEY",
"password": true
},
{
"type": "promptString",
"id": "lovec-base",
"description": "LOVEC_BASE",
"password": true
},
{
"type": "promptString",
"id": "lovec-timeout",
"description": "LOVEC_TIMEOUT",
"password": true
}
],
"servers": {
"lovec-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"lovec-mcp"
],
"env": {
"LOVEC_KEY": "${input:lovec-key}",
"LOVEC_BASE": "${input:lovec-base}",
"LOVEC_TIMEOUT": "${input:lovec-timeout}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs