KosmoKrator

communication

Google Chat MCP Gateway for AI Agents

Expose Google Chat tools to Claude Code, Cursor, Codex, and other MCP clients through the local KosmoKrator MCP gateway.

7 functions 6 read 1 write Manual OAuth token auth

Google Chat MCP Gateway

Expose Google Chat to MCP clients with `kosmokrator mcp:serve --integration=google-chat`.

If the client has never used KosmoKrator before, install it first, then register this integration as a stdio MCP server. The gateway exposes only the selected integration in the example below.

curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
kosmokrator mcp:gateway:install --integration=google-chat --write=deny --json
{
  "mcpServers": {
    "kosmokrator-google-chat": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=google-chat",
        "--write=deny"
      ]
    }
  }
}

Serve Manually

kosmokrator mcp:serve --integration=google-chat --write=deny

MCP Tool Names

KosmoKrator exposes integration tools through the gateway with stable names:

MCP toolSource functionType
integration__google_chat__google_chat_list_spaces google-chat.google_chat_list_spaces Read read
integration__google_chat__google_chat_get_space google-chat.google_chat_get_space Read read
integration__google_chat__google_chat_list_messages google-chat.google_chat_list_messages Read read
integration__google_chat__google_chat_get_message google-chat.google_chat_get_message Read read
integration__google_chat__google_chat_create_message google-chat.google_chat_create_message Write write
integration__google_chat__google_chat_list_memberships google-chat.google_chat_list_memberships Read read
integration__google_chat__google_chat_get_current_user google-chat.google_chat_get_current_user Read read

Write Access

Start with --write=deny for read-only MCP clients. Use --write=ask or --write=allow only when the client and workspace are trusted.