communication
Google Chat MCP, CLI, and Lua Integration for AI Agents
Google Chat integration docs for AI agents: MCP gateway setup, Google Chat CLI commands, Lua API reference, credentials, and function schemas.
7 functions 6 read 1 write Manual OAuth token auth
Google Chat for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
google-chat- route_slug
google-chat- package
google-chat- auth_strategy
oauth2_manual_tokenManual OAuth token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Google Chat CLIHeadless setup and direct function calls. Google Chat MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Google Chat MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Google Chat.
Claude Code Google Chat MCP setup for Claude Code. Cursor Google Chat MCP setup for Cursor. Codex Google Chat MCP setup for Codex. OpenAI Agents Google Chat MCP setup for OpenAI Agents SDK. Claude Agent SDK Google Chat MCP setup for Claude Agent SDK. Vercel AI SDK Google Chat MCP setup for Vercel AI SDK. LangChain Google Chat MCP setup for LangChain. LangGraph Google Chat MCP setup for LangGraph. CrewAI Google Chat MCP setup for CrewAI. MCP clients Google Chat MCP setup for Generic MCP Clients.
Google Chat CLI Matrix
Use these pages for direct Google Chat CLI workflows in scripts, CI, cron, and agent wrappers.
CI Google Chat CLI for CI. Cron Jobs Google Chat CLI for cron jobs. Shell Scripts Google Chat CLI for shell scripts. Headless Automation Google Chat CLI for headless automation. Coding Agents Google Chat CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
google-chat.google_chat_list_spaces | Read read | 2 | List Google Chat spaces the authenticated user belongs to. Returns space names, display names, and types. Supports pagination with pageSize and pageToken. |
google-chat.google_chat_get_space | Read read | 1 | Get details about a specific Google Chat space. Returns the space name, display name, type, and other metadata. |
google-chat.google_chat_list_messages | Read read | 3 | List messages in a Google Chat space. Returns message text, sender info, and creation timestamps. Supports pagination with pageSize and pageToken. |
google-chat.google_chat_get_message | Read read | 2 | Get a specific message from a Google Chat space. Returns the full message including text, cards, sender, and annotations. |
google-chat.google_chat_create_message | Write write | 3 | Send a message to a Google Chat space. Supports plain text and card-based rich messages (cardsV2). Either text or cardsV2 must be provided. |
google-chat.google_chat_list_memberships | Read read | 3 | List members (human users and bots) in a Google Chat space. Returns member names, display names, and roles. Supports pagination with pageSize and pageToken. |
google-chat.google_chat_get_current_user | Read read | 1 | Get the authenticated user's membership details in a Google Chat space. Returns the user's display name, role, and membership state. |