docs/integrations/vscode

How to connect the Prompt Firewall API Proxy MCP Tool to VS Code

Sanitizes outbound prompts locally before they reach third-party LLMs using deterministic PII filters. This guide provides the exact configuration required to load the prompt_firewall tool inside VS Code.

Step 1: Open the configuration file

Locate and open your VS Code configuration file at the following path:

macOS / Linux.vscode/mcp.json (workspace) or settings.json
Windows.vscode\mcp.json (workspace) or settings.json

Step 2: Add the server config

Copy and paste the following JSON snippet into the file. Save the file and restart VS Code.

mcp.json
{
  "mcpServers": {
    "agenticstore": {
      "command": "uvx",
      "args": ["agentic-store-mcp", "--tools", "prompt_firewall"]
    }
  }
}

Step 3: Try it out

Once restarted, ask VS Code something like this to trigger the tool:

"N/A - This tool runs as an HTTP proxy."

Explore more