Skip to content
VS Code

hostaway for VS Code

io.github.mattlong-plux/hostaway

Hostaway PMS: reservations, listings, calendars, financials, and guest messaging.

client:VS Code transport:stdio runtime:npm

Install hostaway in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "hostaway-account-id",
      "description": "HOSTAWAY_ACCOUNT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "hostaway-client-secret",
      "description": "HOSTAWAY_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "hostaway-read-only",
      "description": "HOSTAWAY_READ_ONLY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "hostaway-cache-ttl",
      "description": "HOSTAWAY_CACHE_TTL",
      "password": true
    }
  ],
  "servers": {
    "hostaway": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@matt-long-plux/hostaway-mcp"
      ],
      "env": {
        "HOSTAWAY_ACCOUNT_ID": "${input:hostaway-account-id}",
        "HOSTAWAY_CLIENT_SECRET": "${input:hostaway-client-secret}",
        "HOSTAWAY_READ_ONLY": "${input:hostaway-read-only}",
        "HOSTAWAY_CACHE_TTL": "${input:hostaway-cache-ttl}"
      }
    }
  }
}

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

hostaway in other clients