Google Chat MCP Server
by a1-x-techio.github.A1-x-Tech/mcp-google-chatv1.0.0
MCP server for the Google Chat API: spaces, messages, threads, reactions and memberships.
context tax
queued
security
queued
cold start
queued
freshness
Active5d ago
Install Google Chat MCP server
Install in Claude Code
claude mcp add google-chat -e GOOGLE_CHAT_CLIENT_SECRET='<google-chat-client-secret>' -e GOOGLE_CHAT_REFRESH_TOKEN='<google-chat-refresh-token>' -e GOOGLE_CHAT_ACCESS_TOKEN='<google-chat-access-token>' -- npx -y mcp-google-chatInstall in Cursor
{
"mcpServers": {
"google-chat": {
"command": "npx",
"args": [
"-y",
"mcp-google-chat"
],
"env": {
"GOOGLE_CHAT_CLIENT_SECRET": "<google-chat-client-secret>",
"GOOGLE_CHAT_REFRESH_TOKEN": "<google-chat-refresh-token>",
"GOOGLE_CHAT_ACCESS_TOKEN": "<google-chat-access-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"google-chat": {
"command": "npx",
"args": [
"-y",
"mcp-google-chat"
],
"env": {
"GOOGLE_CHAT_CLIENT_SECRET": "<google-chat-client-secret>",
"GOOGLE_CHAT_REFRESH_TOKEN": "<google-chat-refresh-token>",
"GOOGLE_CHAT_ACCESS_TOKEN": "<google-chat-access-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"google-chat": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-google-chat"
],
"env": {
"GOOGLE_CHAT_CLIENT_SECRET": "<google-chat-client-secret>",
"GOOGLE_CHAT_REFRESH_TOKEN": "<google-chat-refresh-token>",
"GOOGLE_CHAT_ACCESS_TOKEN": "<google-chat-access-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"google-chat": {
"command": "npx",
"args": [
"-y",
"mcp-google-chat"
],
"env": {
"GOOGLE_CHAT_CLIENT_SECRET": "<google-chat-client-secret>",
"GOOGLE_CHAT_REFRESH_TOKEN": "<google-chat-refresh-token>",
"GOOGLE_CHAT_ACCESS_TOKEN": "<google-chat-access-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| GOOGLE_CHAT_CLIENT_ID | — | — | Google OAuth2 client id (refresh-token flow). |
| GOOGLE_CHAT_CLIENT_SECRET | — | yes | Google OAuth2 client secret (refresh-token flow). Treat it as a secret. |
| GOOGLE_CHAT_REFRESH_TOKEN | — | yes | Google OAuth2 refresh token, exchanged for access tokens automatically. Treat it as a secret. |
| GOOGLE_CHAT_ACCESS_TOKEN | — | yes | Static OAuth2 access token (~1h lifetime) — alternative to the refresh-token trio, e.g. a service-account (Chat app) token or for testing. |
| GOOGLE_CHAT_OAUTH_PORT | — | — | Fixed port for the loopback listener of the in-chat login (127.0.0.1 + PKCE). Set it when the client runs over SSH port forwarding; otherwise a free port is picked per login. |
| GOOGLE_CHAT_API_BASE | — | — | API root override. |
| GOOGLE_CHAT_TIMEOUT_MS | — | — | Per-request timeout in milliseconds. |
| GOOGLE_CHAT_MAX_RETRIES | — | — | Retries on transient errors (429 always; 5xx/network for reads). |
Freshness
Active — last maintenance signal 5d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-04 · 5d ago · GitHub
Latest release
2026-09-23 · 16d ago · GitHub · v1.0.0
Package published
no data · npm/PyPI
Registry entry updated
2026-09-23 · 16d ago · official registry · v1.0.0
FAQ
›How do I install the Google Chat MCP server in Claude Code?
Run: claude mcp add google-chat -e GOOGLE_CHAT_CLIENT_SECRET='<google-chat-client-secret>' -e GOOGLE_CHAT_REFRESH_TOKEN='<google-chat-refresh-token>' -e GOOGLE_CHAT_ACCESS_TOKEN='<google-chat-access-token>' -- npx -y mcp-google-chat. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Google Chat require an API key?
Yes. It expects GOOGLE_CHAT_CLIENT_SECRET, GOOGLE_CHAT_REFRESH_TOKEN, GOOGLE_CHAT_ACCESS_TOKEN, of which 3 are secrets.
›Can I use Google Chat as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Google Chat in the official MCP registry?
Yes, as io.github.A1-x-Tech/mcp-google-chat.