Skip to content
VS Code

cfgit for VS Code

io.github.ausafmo/cfgit

Git-style history, diffs, drift checks and rollback for live MongoDB and Postgres config records.

client:VS Code transport:stdio runtime:pypi

Install cfgit in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "cfg-config",
      "description": "CFG_CONFIG",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cfg-author",
      "description": "CFG_AUTHOR",
      "password": true
    }
  ],
  "servers": {
    "cfgit": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "cfgit"
      ],
      "env": {
        "CFG_CONFIG": "${input:cfg-config}",
        "CFG_AUTHOR": "${input:cfg-author}"
      }
    }
  }
}

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

cfgit in other clients