Google Chat MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Google Chat MCP or direct API to send space messages, list conversations, read thread updates, and manage members through natural language.

Google Chat logoGoogle Chat
Oauth2

Google Chat is Google Workspace's messaging and collaboration service for teams. It keeps conversations, spaces, files, and work updates in one shared place.

46 Tools

Try Google Chat now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Google Chat
Try asking
TOOLS

Supported Tools

Every Google Chat action and event your agent gets out of the box.

Complete Space Import

Completes the import process for an import-mode Google Chat space and makes it visible to users.

Create Custom Emoji

Creates a custom emoji in Google Chat for use within a Google Workspace organization.

Create Space Member

Creates a membership for a user, Chat app, or Google Group in a space.

Create Message

Creates a message with text or cards in an existing Google Chat space, up to 32,000 bytes, or replies to a thread.

Create Reaction

Creates an emoji reaction on a Google Chat message.

Create section

Creates a custom section in Google Chat for organizing conversations in the navigation panel.

Create Space

Creates a named space in Google Chat.

Delete Custom Emoji

Deletes a custom emoji from Google Chat.

Delete Member from Space

Removes a user, Google Group, or app membership from a Google Chat space using its membership resource name.

Delete Message

Deletes a message from a Google Chat space; with user authentication, the force option can also delete its threaded replies.

Delete Reaction

Deletes a reaction to a message.

Delete section

Deletes a custom section from Google Chat by its ID.

Delete space

Deletes a named space from Google Chat.

Download Media

Downloads the bytes of a Google Chat message attachment via the media API.

Find Direct Message

Returns the existing direct message space with the specified user.

Find Group Chats

Finds group chat spaces whose human memberships contain exactly the calling user and the specified users.

Get Attachment

Gets the metadata of a Google Chat message attachment.

Get Custom Emoji

Returns details about a custom emoji in Google Chat.

Get Chat Space Member

Returns details about a membership in a space.

Get Message

Returns details about a specific message in a Google Chat space.

Get Space

Retrieves details of a specific Google Chat space, including its display name, description, membership count, threading state, and available configuration.

Get Space Event

Returns an event from a Google Chat space.

Get Space Notification Setting

Gets the notification settings for a user in a specific space.

Get space read state

Returns details about a user's read state within a space.

Get thread read state

Returns details about a user's read state within a thread.

List custom emojis

Lists custom emojis visible to the authenticated user in Google Chat.

List Space Members

Lists a page of memberships in a Google Chat space, with optional role or member-type filters and options to include Google Groups or invited members.

List Messages

Lists non-system messages from one Google Chat space, with creation-time or thread filtering and a next-page token.

List reactions on a message

Lists a page of emoji reactions on a specific Google Chat message.

List Section Items

Lists all items (such as spaces) within a specified section of a user's Google Chat.

List Sections

Lists all sections available to the authenticated user in Google Chat.

List Space Events

Lists events from a Google Chat space.

List Spaces

Lists a page of Google Chat spaces the authenticated user belongs to, using the chat.spaces or chat.spaces.readonly OAuth scope.

Move Section Item

Moves a space from one section to another in Google Chat.

Position Section in Sidebar

Changes the sort order of a section in the Google Chat sidebar.

Replace Message (Full)

Updates a Google Chat message using a field mask, with support for text, cards, attachments, and other supplied properties.

Search Messages

Searches for messages across Google Chat spaces the caller has access to.

Search Spaces

Searches Google Chat spaces using filters such as display name, customer, creation time, activity, history state, and space type.

Setup Space

Creates a Google Chat named space, group chat, human DM, or calling-app DM and can add initial members.

Update Member

Updates a user's membership role in a Google Chat space, such as changing between member and manager.

Update Message

Updates a Google Chat message's text, cards, or other supported properties using an update mask.

Update section

Updates a section's display name in Google Chat.

Update Space

Updates an existing Google Chat space's display name, description, guidelines, history state, or predefined permission settings using an update mask.

Update Space Notification Setting

Updates the notification settings for a user in a space.

Update Space Read State

Updates a user's read state within a space, used to mark messages as read or unread.

Upload Media Attachment

Uploads a file of up to 200 MB as an attachment to a Google Chat space using the multipart media upload endpoint; the returned attachment upload token can be used in a subsequent message.

SETUP GUIDE

Connect Google Chat MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["google_chat"],
  mcp: true,
});
Create a session scoped to Google Chat and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "List all Google Chat spaces I can access and summarize their display names.",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Google Chat request
SETUP GUIDE

Connect Google Chat API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["google_chat"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Google Chat
3

Run Google Chat tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "List all Google Chat spaces I can access and summarize their display names." }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Google Chat tool calls through the session, and print the final answer

Why Use Composio?

AI Native Google Chat Integration

  • Supports both Google Chat MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable message, space, and thread actions
  • Rich coverage for reading conversations, posting updates, and querying Google Chat spaces

Managed Auth

  • Built-in OAuth handling with automatic token refresh and lifecycle management
  • Central place to manage, scope, and revoke Google Chat access
  • Per user and per environment credentials instead of hard-coded tokens in your agent code

Agent Optimized Design

  • Tools are tuned using real error and success rates, so Google Chat actions get more reliable over time
  • Comprehensive execution logs show which space, message, or thread your agent touched

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Google Chat
  • Scoped, least privilege access to spaces, messages, and memberships
  • Full audit trail of agent actions to support review, debugging, and compliance
FRAMEWORKS

Use Google Chat with any AI Agent Framework

Choose a Framework you want to connect Google Chat with

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with Google Chat.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Google Chat tool your agent needs.Free to start.

Start building