Skip to content
VS Code

Google Chat MCP for VS Code

io.github.a1-x-tech/mcp-google-chat

MCP server for the Google Chat API: spaces, messages, threads, reactions and memberships.

client:VS Code transport:stdio runtime:npm

Install Google Chat MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "google-chat-client-id",
      "description": "GOOGLE_CHAT_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-chat-client-secret",
      "description": "GOOGLE_CHAT_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-chat-refresh-token",
      "description": "GOOGLE_CHAT_REFRESH_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-chat-access-token",
      "description": "GOOGLE_CHAT_ACCESS_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-chat-oauth-port",
      "description": "GOOGLE_CHAT_OAUTH_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-chat-api-base",
      "description": "GOOGLE_CHAT_API_BASE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-chat-timeout-ms",
      "description": "GOOGLE_CHAT_TIMEOUT_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-chat-max-retries",
      "description": "GOOGLE_CHAT_MAX_RETRIES",
      "password": true
    }
  ],
  "servers": {
    "mcp-google-chat": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-google-chat"
      ],
      "env": {
        "GOOGLE_CHAT_CLIENT_ID": "${input:google-chat-client-id}",
        "GOOGLE_CHAT_CLIENT_SECRET": "${input:google-chat-client-secret}",
        "GOOGLE_CHAT_REFRESH_TOKEN": "${input:google-chat-refresh-token}",
        "GOOGLE_CHAT_ACCESS_TOKEN": "${input:google-chat-access-token}",
        "GOOGLE_CHAT_OAUTH_PORT": "${input:google-chat-oauth-port}",
        "GOOGLE_CHAT_API_BASE": "${input:google-chat-api-base}",
        "GOOGLE_CHAT_TIMEOUT_MS": "${input:google-chat-timeout-ms}",
        "GOOGLE_CHAT_MAX_RETRIES": "${input:google-chat-max-retries}"
      }
    }
  }
}

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

Google Chat MCP in other clients