Skip to content
VS Code

warapp mcp for VS Code

io.github.chrischall/warapp-mcp

war.app (Warzone) game advisor — games, maps, bonuses, routes, live board, picks, turns and chat

client:VS Code transport:stdio runtime:npm

Install warapp mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "warapp-email",
      "description": "WARAPP_EMAIL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "warapp-api-token",
      "description": "WARAPP_API_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "warapp-ws-port",
      "description": "WARAPP_WS_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "warapp-env-file",
      "description": "WARAPP_ENV_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "warapp-transport",
      "description": "WARAPP_TRANSPORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "warapp-session-file",
      "description": "WARAPP_SESSION_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "warapp-player-record",
      "description": "WARAPP_PLAYER_RECORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "warapp-player-profile",
      "description": "WARAPP_PLAYER_PROFILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "warapp-chat-automation",
      "description": "WARAPP_CHAT_AUTOMATION",
      "password": true
    },
    {
      "type": "promptString",
      "id": "warapp-chat-blocks-turn",
      "description": "WARAPP_CHAT_BLOCKS_TURN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "warapp-decision-log",
      "description": "WARAPP_DECISION_LOG",
      "password": true
    }
  ],
  "servers": {
    "warapp-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@chrischall/warapp-mcp"
      ],
      "env": {
        "WARAPP_EMAIL": "${input:warapp-email}",
        "WARAPP_API_TOKEN": "${input:warapp-api-token}",
        "WARAPP_WS_PORT": "${input:warapp-ws-port}",
        "WARAPP_ENV_FILE": "${input:warapp-env-file}",
        "WARAPP_TRANSPORT": "${input:warapp-transport}",
        "WARAPP_SESSION_FILE": "${input:warapp-session-file}",
        "WARAPP_PLAYER_RECORD": "${input:warapp-player-record}",
        "WARAPP_PLAYER_PROFILE": "${input:warapp-player-profile}",
        "WARAPP_CHAT_AUTOMATION": "${input:warapp-chat-automation}",
        "WARAPP_CHAT_BLOCKS_TURN": "${input:warapp-chat-blocks-turn}",
        "WARAPP_DECISION_LOG": "${input:warapp-decision-log}"
      }
    }
  }
}

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

warapp mcp in other clients