Skip to main content

Google Chat MCP Server

An MCP server for managing Google Chat spaces and messages, integrating seamlessly with AI assistants using the Model Context Protocol.

Features

  • List Spaces: List Google Chat spaces the user is a member of.
  • Get Space: Retrieve details about a specific space.
  • Create Message: Send messages to spaces (supports threading).
  • List Messages: Retrieve message history from a space.
  • Get Message: Get details about a specific message.
  • Update Message: Edit existing messages.
  • Delete Message: Remove messages.
  • List Memberships: List members of a space.

Installation

Prerequisites

  • Python 3.9 or higher.
  • A Google Cloud Project with the Google Chat API enabled.
  • OAuth2 credentials (Client ID and Client Secret).

Local Setup

  1. Install dependencies:

    pip install -e .
    
  2. Run the server:

    python main.py --access-token <TOKEN> --refresh-token <REFRESH_TOKEN> --client-id <CLIENT_ID> --client-secret <CLIENT_SECRET>
    

Configuration

Add the following to your MCP host configuration (e.g., mcp-config.json):

{
  "mcpServers": {
    "barie-google-chat-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "/path/to/google_chat",
        "barie-google-chat-mcp",
        "--access-token",
        "YOUR_ACCESS_TOKEN",
        "--refresh-token",
        "YOUR_REFRESH_TOKEN",
        "--client-id",
        "YOUR_CLIENT_ID",
        "--client-secret",
        "YOUR_CLIENT_SECRET"
      ]
    }
  }
}

Tools

  • list_spaces: List spaces.
  • get_space: Get space details.
  • create_message: Send a message.
  • list_messages: List messages in a space.
  • get_message: Get message details.
  • update_message: Update a message.
  • delete_message: Delete a message.
  • list_memberships: List space members.

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

barie_google_chat_mcp-0.1.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

barie_google_chat_mcp-0.1.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file barie_google_chat_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: barie_google_chat_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for barie_google_chat_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4433bf0ddb006127034fcf0cabc91e52b1909749cee3496f3c8c7ac9549fef23
MD5 2c76435ed9ee48f472395f4682728428
BLAKE2b-256 50b0444b770925dd4dfd469045f6937cefacaed74b4fe7b9a7061cd23ea8b226

See more details on using hashes here.

File details

Details for the file barie_google_chat_mcp-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for barie_google_chat_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 01fa1026ed320245874455ef18b45245da246bc60900bb4758f4b753b7c62834
MD5 986e1f515c471306c9400fdc9f5f25ee
BLAKE2b-256 ce84944a1194791729cc43c3b37bc7483a3c53f419f0e7a9cb0ada196a69d0cd

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page