How to integrate Google Chat MCP with Hermes

Hermes is a 24/7 autonomous agent that lives on your computer or server — it remembers what it learns and evolves as your usage grows. This guide explains the easiest and most robust way to connect your Google Chat account to Hermes. You can do this through either Composio Connect CLI or Composio Connect MCP. For personal use we recommend the CLI, but you won't go wrong with MCP either.

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.

45 Tools

Introduction

Hermes is a 24/7 autonomous agent that lives on your computer or server — it remembers what it learns and evolves as your usage grows.

This guide explains the easiest and most robust way to connect your Google Chat account to Hermes. You can do this through either Composio Connect CLI or Composio Connect MCP. For personal use we recommend the CLI, but you won't go wrong with MCP either.

Also integrate Google Chat with

What is Composio Connect?

Composio Connect is a consumer offering that lets anyone plug 1,000+ applications directly into their agent harness — including Hermes. It can:

  • Search and load tools from relevant toolkits on-demand, reducing context usage.
  • Chain multiple tools to accomplish complex workflows via a remote workbench, without excessive back-and-forth with the LLM.
  • Manage app authentication end-to-end with zero manual overhead.

Integrating Google Chat with Hermes

Using Composio Connect CLI

1. Install the Composio CLI

Run the install script directly, or paste https://composio.dev/hermes into your Hermes chat box to have it installed for you.

bash
curl -fsSL https://composio.dev/install | bash
Hermes authenticating with Composio

2. Authenticate

Once the CLI is installed, ask Hermes to authenticate with Composio.

3. Connect to Google Chat

Ask your agent to connect to Google Chat, or simply request any Google Chat-related task. Hermes will prompt you to authenticate and authorize access.

4. Done. You're all set with a new Google Chat connection.


Using Composio Connect MCP

1. Get your MCP URL and API Key

Go to dashboard.composio.dev and copy your Connect MCP URL and API key.

Copy MCP URL and API key from Composio dashboard

2. Open the Hermes config file

bash
nano ~/.hermes/config.yaml

3. Add the Composio Connect MCP server

bash
mcp_servers:
  composio:
    url: "https://connect.composio.dev/mcp"
    headers:
      x-consumer-api-key: "YOUR_COMPOSIO_API_KEY"
    connect_timeout: 60
    timeout: 180

Save with Ctrl + O, Enter, then exit with Ctrl + X.

4. Restart your Hermes agent

Once restarted, ask your agent to connect to Google Chat or request any Google Chat-related task. It will prompt you to authenticate and authorize access.

5. Done!

What is the Google Chat MCP server, and what's possible with it?

The Google Chat MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Google Chat account. It provides structured and secure access so your agent can perform Google Chat operations on your behalf.

Way Forward

With Google Chat connected, Hermes can now act on your behalf whenever it detects a relevant task or you ask it to.

From here, you can extend Hermes further:

  • Connect more apps: Calendar, Slack, Notion, Linear, and hundreds of others are available through the same Composio Connect setup. Each new integration compounds what Hermes can do for you.
  • Build workflows across tools: Once multiple apps are connected, Hermes can chain actions together — turn an email into a calendar invite, a Slack message into a Linear ticket, or a meeting note into a follow-up draft.
  • Let it learn your patterns: The more you use Hermes, the better it gets at anticipating how you'd handle recurring tasks. Give it feedback on drafts and decisions, and it will adapt.

If you run into trouble or want to share what you've built, join the community or check out the Docs for deeper configuration options.

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 an organization.

Create Space Member

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

Create Message

Creates a message in a Google Chat space.

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 or group chat in Google Chat.

Delete Custom Emoji

Deletes a custom emoji from Google Chat.

Delete Member from Space

Removes a user, Google Group, or app from a space.

Delete Message

Deletes a message from a Google Chat space.

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 all group chat spaces that 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

Returns details about a specific Google Chat space including configuration, membership count, and access settings.

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 memberships in a space.

List Messages

Lists messages in a space that the authenticated user is a member of.

List reactions on a message

Lists all reactions on a specific message in a Google Chat space.

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 spaces the authenticated user is a member of in Google Chat.

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)

Replaces an existing message in a Google Chat space using full replacement.

Search Spaces

Searches for spaces across a Google Workspace organization using administrator privileges.

Setup Space

Creates a space and adds specified users and groups to it.

Update Member

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

Update Message

Updates a message in a Google Chat space, modifying its text, cards, or other properties.

Update section

Updates a section's display name in Google Chat.

Update Space

Updates a Google Chat space's configuration including display name, description, guidelines, history settings, access settings, and permission settings.

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 as an attachment to a Google Chat space using the multipart media upload endpoint.

FAQ

Frequently asked questions

With a standalone Google Chat MCP server, the agents and LLMs can only access a fixed set of Google Chat tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Google Chat and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Hermes fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Google Chat tools.

Yes, absolutely. You can configure which Google Chat scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Google Chat data and credentials are handled as safely as possible.

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