Skip to content
VS Code

Packwright MCP for VS Code

io.github.rithwikbabu/packwright-mcp

Packwright compiles, renders, validates, and captures paired Minecraft Java packs.

client:VS Code transport:stdio runtime:npm

Install Packwright MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "packwright-workspace",
      "description": "PACKWRIGHT_WORKSPACE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "packwright-java",
      "description": "PACKWRIGHT_JAVA",
      "password": true
    },
    {
      "type": "promptString",
      "id": "packwright-cache-dir",
      "description": "PACKWRIGHT_CACHE_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "packwright-read-only",
      "description": "PACKWRIGHT_READ_ONLY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "packwright-offline",
      "description": "PACKWRIGHT_OFFLINE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "packwright-spyglass-command",
      "description": "PACKWRIGHT_SPYGLASS_COMMAND",
      "password": true
    }
  ],
  "servers": {
    "packwright-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@rithwikbabu/packwright-mcp"
      ],
      "env": {
        "PACKWRIGHT_WORKSPACE": "${input:packwright-workspace}",
        "PACKWRIGHT_JAVA": "${input:packwright-java}",
        "PACKWRIGHT_CACHE_DIR": "${input:packwright-cache-dir}",
        "PACKWRIGHT_READ_ONLY": "${input:packwright-read-only}",
        "PACKWRIGHT_OFFLINE": "${input:packwright-offline}",
        "PACKWRIGHT_SPYGLASS_COMMAND": "${input:packwright-spyglass-command}"
      }
    }
  }
}

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

Packwright MCP in other clients