Skip to content
VS Code

Sensegrep for VS Code

io.github.stahldavid/sensegrep

Semantic + structural code search MCP server for AI-native development.

client:VS Code transport:stdio runtime:npm

Install Sensegrep in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "sensegrep-root",
      "description": "SENSEGREP_ROOT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sensegrep-provider",
      "description": "SENSEGREP_PROVIDER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gemini-api-key",
      "description": "GEMINI_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "sensegrep": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@sensegrep/mcp"
      ],
      "env": {
        "SENSEGREP_ROOT": "${input:sensegrep-root}",
        "SENSEGREP_PROVIDER": "${input:sensegrep-provider}",
        "GEMINI_API_KEY": "${input:gemini-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

Sensegrep in other clients