Skip to content
VS Code

Gramps Web MCP for VS Code

io.github.scormave/gramps-web-mcp

MCP server for structured access to Gramps Web genealogy data

client:VS Code transport:stdio runtime:oci

Install Gramps Web MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mcp-transport",
      "description": "MCP_TRANSPORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gramps-api-url",
      "description": "GRAMPS_API_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gramps-username",
      "description": "GRAMPS_USERNAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gramps-password",
      "description": "GRAMPS_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gramps-tree-id",
      "description": "GRAMPS_TREE_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gramps-read-only",
      "description": "GRAMPS_READ_ONLY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gramps-mutation-serialize",
      "description": "GRAMPS_MUTATION_SERIALIZE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gramps-mutation-min-interval-ms",
      "description": "GRAMPS_MUTATION_MIN_INTERVAL_MS",
      "password": true
    }
  ],
  "servers": {
    "gramps-web-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/scormave/gramps-web-mcp:1.0.8"
      ],
      "env": {
        "MCP_TRANSPORT": "${input:mcp-transport}",
        "GRAMPS_API_URL": "${input:gramps-api-url}",
        "GRAMPS_USERNAME": "${input:gramps-username}",
        "GRAMPS_PASSWORD": "${input:gramps-password}",
        "GRAMPS_TREE_ID": "${input:gramps-tree-id}",
        "GRAMPS_READ_ONLY": "${input:gramps-read-only}",
        "GRAMPS_MUTATION_SERIALIZE": "${input:gramps-mutation-serialize}",
        "GRAMPS_MUTATION_MIN_INTERVAL_MS": "${input:gramps-mutation-min-interval-ms}"
      }
    }
  }
}

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

Gramps Web MCP in other clients