Connect VS Code

Add the SentraSec MCP server to VS Code's agent mode (GitHub Copilot Chat / MCP).

1

Add the MCP config

Create .vscode/mcp.json in your workspace (or add to user settings) with:

{
  "servers": {
    "sentrasec": {
      "command": "sentrasec",
      "args": ["mcp", "serve"],
      "env": {
        "SENTRASEC_API_KEY": "sk_live_..."
      }
    }
  }
}

Note VS Code uses a top-level servers key (Cursor/Claude use mcpServers). Replace the key — see Authentication.

2

Start the server

Open the Command Palette → MCP: List Servers → start sentrasec. In agent mode, ask it to run a scan. See the tools reference.