MetorialDocs

Set up Google Chat in Metorial for Claude, ChatGPT and Cursor

Share Google Chat with your team in Claude, ChatGPT and Cursor through Metorial: 27 tools (16 read-only).

To give your team Google Chat in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Google Chat integration in a Metorial portal. Agents can connect Google Chat for authenticated space, membership, message, reaction, attachment, space-event, read-state, notification-setting, sidebar-section, custom-emoji, and admin space search workflows. The integration has 27 tools, 16 read-only, 5 write and 6 destructive.

What you'll learn

  • How an admin shares Google Chat in a portal and how each person connects
  • How to keep the 16 read-only tools and reject the other 11

Before you start

Sign-in methods

Available: Google OAuth, Google Chat App Service Account.

The portal and metorial setup use Google OAuth unless someone picks another method.

Admin: share Google Chat in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Google Chat. Under Auth Method, keep Google OAuth or pick another.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Google Chat.

Choose who gets it

Add the access groups that should see Google Chat. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Google Chat integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search "google chat"

Employee: connect Google Chat

In the portal

Open Google Chat in the catalog

Sign in to your portal and open Google Chat. The status reads Available.

Authenticate

Under Quick setup, select Authenticate.

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search "google chat"
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses Google OAuth. To connect with Google Chat App Service Account instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.

Add it to your AI client

metorial install adds your Google Chat connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list "google chat"
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 16 read-only tools, such as list_members and list_messages, and lose the 5 write tools, such as send_message or move_section_item, and the 6 destructive tools, such as manage_space or manage_message.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list "google chat"
metorial tools <integration-id>

metorial tools lists the 27 tools, minus any you rejected.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (16)

  • list_space_events: List events from a Google Chat space, or provide eventId to retrieve one specific space event.
  • download_attachment: Download an uploaded Google Chat attachment as a downloadable file.
  • get_attachment: Get metadata for a Google Chat message attachment.
  • find_direct_message: Find the existing Google Chat direct-message space between the specified user and the authenticated user or calling Chat app.
  • search_conversations: List Google Chat conversations the caller can access, optionally filtering the API page by conversation type and matching display names or resource names case-insensitively.
  • list_messages: List messages from a Google Chat conversation with optional thread and time filters, reverse-chronological ordering, and page-token pagination.
  • search_messages: Search messages across Google Chat using the messages.search API, including keyword and provider-supported message filters.
  • list_sections: List the signed-in user's Google Chat sidebar sections, including custom sections and the default Direct messages, Spaces, and Apps sections.
  • search_spaces_admin: Search every named Google Chat space in the organization with Google Workspace administrator privileges, using the Chat admin space search syntax.
  • get_space_notification_setting: Get the signed-in user's notification and mute settings for a Google Chat space.
  • list_custom_emojis: List the custom emoji visible to the signed-in user in their Google Workspace organization's Google Chat.
  • get_space_read_state: Get the signed-in user's read position in a Google Chat space: the last time they read the space's top-level conversation.
  • get_thread_read_state: Get the signed-in user's read position in a Google Chat thread: the last time they read replies in that thread.
  • get_custom_emoji: Get one Google Chat custom emoji by resource name or :shortcode:, including a temporary image URL.
  • list_section_items: List the conversations (spaces) in one of the signed-in user's Google Chat sidebar sections, or find which section holds a given space.
  • list_members: List the members of a Google Chat space, with optional role and member-type filters, Google Group and invited memberships, and page-token pagination.

Write tools (5)

  • upload_attachment: Upload base64-encoded file bytes to a Google Chat space and return the attachment data reference needed to include it in a message.
  • send_message: Send a Markdown-formatted text message to a Google Chat conversation.
  • update_space_read_state: Mark a Google Chat space as read or unread for the signed-in user by moving their last-read time.
  • update_space_notification_setting: Change the signed-in user's notification level or mute state for a Google Chat space.
  • move_section_item: Move a conversation (section item) to a different section in the signed-in user's Google Chat sidebar.

Destructive tools (6)

  • manage_reaction: Create Unicode emoji reactions, or list and delete emoji reactions on Google Chat messages.
  • manage_space: Create, set up, get, update, or delete a Google Chat space.
  • manage_message: Get, update, or delete a Google Chat message.
  • manage_section: Create, rename, reorder, or delete custom sections in the signed-in user's Google Chat sidebar.
  • manage_custom_emoji: Create a Google Chat custom emoji from an image, or delete one, in the signed-in user's Google Workspace organization.
  • manage_membership: Get, add, update the role of, or remove a member of a Google Chat space.

Next steps