Skip to content
VS Code

The Game Crafter for VS Code

io.github.alex-gon/thegamecrafter

Design, manage, and price tabletop games on The Game Crafter via MCP.

client:VS Code transport:stdio runtime:npm

Install The Game Crafter in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "tgc-api-key-id",
      "description": "TGC_API_KEY_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tgc-username",
      "description": "TGC_USERNAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tgc-password",
      "description": "TGC_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tgc-api-base",
      "description": "TGC_API_BASE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tgc-upload-base-dir",
      "description": "TGC_UPLOAD_BASE_DIR",
      "password": true
    }
  ],
  "servers": {
    "thegamecrafter": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@alex-gon/tgc-mcp-server"
      ],
      "env": {
        "TGC_API_KEY_ID": "${input:tgc-api-key-id}",
        "TGC_USERNAME": "${input:tgc-username}",
        "TGC_PASSWORD": "${input:tgc-password}",
        "TGC_API_BASE": "${input:tgc-api-base}",
        "TGC_UPLOAD_BASE_DIR": "${input:tgc-upload-base-dir}"
      }
    }
  }
}

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

The Game Crafter in other clients