Google Chat MCP Server
Provides tools for interacting with Google Chat, including listing spaces, reading messages, sending messages, replying to threads, listing files, and creating DMs.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Google Chat MCP Serverlist my current spaces"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Google Chat MCP Server
MCP server for Google Chat using the internal Dynamite API — no Google Cloud Console required.
⚠️ Disclaimer: Uses an undocumented internal API reverse-engineered by EionRobb. It may break at any time if Google updates their protocol.
Setup
1. Export cookies from your browser
Open chat.google.com and make sure you're logged in
Click the Cookie-Editor icon → Export → Export as JSON
Save the file (anywhere you like)
Cookies expire when you log out or after a long period of inactivity. Re-export them if you get a 401 error.
Related MCP server: Google Chat MCP Sever (Extendable to Teams,Slack.)
Recommended install (uvx, no clone needed)
You don't need to clone the repo or install dependencies manually. uv runs the server straight from GitHub and resolves dependencies automatically.
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"googlechat": {
"command": "uvx",
"args": [
"--from", "git+https://github.com/RHMDHDYT/googlechat-mcp",
"googlechat-mcp"
],
"env": {
"GCHAT_COOKIES": "/absolute/path/to/cookies.json"
}
}
}
}Restart Claude Desktop after editing the config.
Claude Code
claude mcp add googlechat \
--env GCHAT_COOKIES=/absolute/path/to/cookies.json \
-- uvx --from git+https://github.com/RHMDHDYT/googlechat-mcp googlechat-mcpVerify:
claude mcp list
claude mcp get googlechatAlternative: install from a local clone
If you'd rather run from source:
git clone https://github.com/RHMDHDYT/googlechat-mcp
cd googlechat-mcp
pip install mcp protobuf requestsThen point the config at server.py directly:
{
"mcpServers": {
"googlechat": {
"command": "python",
"args": ["/absolute/path/to/googlechat-mcp/server.py"],
"env": {
"GCHAT_COOKIES": "/absolute/path/to/cookies.json"
}
}
}
}If you drop cookies.json directly into the googlechat-mcp/ folder, the server reads it automatically and you can omit the GCHAT_COOKIES env var.
Tools
Tool | Description |
| List all DMs and spaces you're a member of |
| Read messages + attachments/Drive/URLs from a DM or space |
| Send a new message to a DM or space |
| Reply to an existing thread |
| List all files, Drive items, and URLs ever shared |
| Open a DM with a user by email |
Troubleshooting
Error | Solution |
| Set the |
| Cookies expired — re-export them from your browser |
| Make sure you export from |
Proto decode error | Google may have updated the API — check EionRobb's repo for the latest schema |
Credits
Protobuf schema: EionRobb/purple-googlechat
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/RHMDHDYT/googlechat-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server