Google Chat MCP Server for managing spaces and messages via the Model Context Protocol
Project description
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
-
Install dependencies:
pip install -e .
-
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file barie_google_chat_mcp-0.1.0.tar.gz.
File metadata
- Download URL: barie_google_chat_mcp-0.1.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d87208ddf88b0359a2b27135c4f3d9f66c89934b0a295df2974e92aec83845a0
|
|
| MD5 |
80863f7abcb0cb3025eae6b4412740f7
|
|
| BLAKE2b-256 |
350cc461bd7169c0bbe9eeaf0985b73d86e3396ad7ae14dedb701d7acc158512
|
File details
Details for the file barie_google_chat_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: barie_google_chat_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a15fbf490b32ec2ac6f0a0ab3806cf34b3e222e56d257e163b5920e3a0c6542
|
|
| MD5 |
84591352e1106bc0ecfcd2a74bce23f9
|
|
| BLAKE2b-256 |
67a1a36bec7e67610dfd9088a23a0ace5a712ded05921951869cd6dae96874fc
|