Skip to content
VS Code

FormulaGuard for VS Code

io.github.tomyin1314/formulaguard-mcp

Check an AI agent's Excel edits: overwritten formulas, shrunk SUM ranges, new #REF! errors.

client:VS Code transport:stdio runtime:npm

Install FormulaGuard in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "formulaguard-mcp-roots",
      "description": "FORMULAGUARD_MCP_ROOTS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "formulaguard-license-key",
      "description": "FORMULAGUARD_LICENSE_KEY",
      "password": true
    }
  ],
  "servers": {
    "formulaguard-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "formulaguard-mcp"
      ],
      "env": {
        "FORMULAGUARD_MCP_ROOTS": "${input:formulaguard-mcp-roots}",
        "FORMULAGUARD_LICENSE_KEY": "${input:formulaguard-license-key}"
      }
    }
  }
}

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

FormulaGuard in other clients