Skip to content
VS Code

shellward for VS Code

io.github.jnmetacode/shellward

AI agent security: 7 MCP tools for injection detection, PII scanning, command safety, DLP.

client:VS Code transport:stdio runtime:npm

Install shellward in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "shellward-mode",
      "description": "SHELLWARD_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "shellward-locale",
      "description": "SHELLWARD_LOCALE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "shellward-threshold",
      "description": "SHELLWARD_THRESHOLD",
      "password": true
    }
  ],
  "servers": {
    "shellward": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "shellward"
      ],
      "env": {
        "SHELLWARD_MODE": "${input:shellward-mode}",
        "SHELLWARD_LOCALE": "${input:shellward-locale}",
        "SHELLWARD_THRESHOLD": "${input:shellward-threshold}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

shellward in other clients