Google Chat MCP Server
Enables posting text messages to Google Chat spaces using webhook-based integration, allowing automated communication without OAuth setup.
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 Serverpost 'Meeting starts in 5 minutes' to the team space"
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
A Model Context Protocol (MCP) server implementation for interacting with the Google Chat API via webhooks. This server provides a simple tool for posting text messages to Google Chat spaces.
Features
Post text messages to Google Chat spaces using webhooks
Simple and secure webhook-based integration
No OAuth setup required
Easy to use with MCP-compatible tools
Related MCP server: Google Chat Webhook MCP Server
Installation
Installing via Smithery
To install gchat-mcp for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @rishipradeep-think41/gchat-mcp --client claudeUsing Smithery (Recommended)
Install the server using Smithery's CLI:
npx spinai-mcp install @KaranThink41/gchat_post_text_message --provider smitheryLocal Development
Clone the repository:
git clone https://github.com/KaranThink41/google_chat_mcp_server.git
cd google_chat_mcp_serverInstall dependencies:
npm installBuild the project:
npm run buildRun the server:
node build/index.jsDocker Setup
You can run the server using Docker. Here's how to set it up:
Build the Docker image:
docker build -t google-chat-mcp-server .Run the Docker container with the necessary environment variables:
docker run -e GOOGLE_CHAT_SPACE_ID=your_space_id \
-e GOOGLE_CHAT_API_KEY=your_api_key \
-e GOOGLE_CHAT_TOKEN=your_token \
google-chat-mcp-serverUsage Example
To post a message to Google Chat, send the following JSON request:
{
"method": "tools/call",
"params": {
"name": "post_text_message",
"arguments": {
"space_id": "your_space_id",
"key": "your_api_key",
"token": "your_token",
"text": "Hello, this is a test message!"
}
}
}Configuration
The server requires the following environment variables to function:
GOOGLE_CHAT_SPACE_ID: The Space ID of your Google Chat spaceGOOGLE_CHAT_API_KEY: The API key for your Google Cloud projectGOOGLE_CHAT_TOKEN: The authentication token for Google Chat
These variables can be set in your environment or via Docker (as shown in the Docker Setup section).
To run locally without Docker, create a .env file with the following content:
GOOGLE_CHAT_SPACE_ID=your_space_id
GOOGLE_CHAT_API_KEY=your_api_key
GOOGLE_CHAT_TOKEN=your_tokenSecurity
Webhook URLs are passed directly in the request payload
No sensitive credentials are stored in the code
All requests are validated before execution
Contributing
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add some amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables posting text messages to Google Chat spaces through webhook-based integration, providing simple and secure message delivery without OAuth setup requirements.Last updatedMIT
- AlicenseAqualityDmaintenanceSends messages to Google Chat via webhooks with automatic Markdown to Cards V2 conversion, supporting headers, lists, code blocks, tables, and images with validation and fallback handling.Last updated3471MIT
- AlicenseAqualityAmaintenanceEnables interaction with Google Chat via MCP using the internal Dynamite API, allowing listing spaces, reading and sending messages, and managing DMs. No Google Cloud Console setup required.Last updated13MIT
- Alicense-qualityCmaintenanceEnables interaction with Google Chat through MCP, allowing listing spaces and messages, searching messages, and sending messages. Supports local and remote transports.Last updated95Apache 2.0
Related MCP Connectors
Manage Gmail messages, threads, labels, drafts, and settings from your workflows. Send and organiz…
Publish Markdown or HTML to a shareable link from your AI assistant. OAuth, no API keys.
Schedule and manage Google Calendar events directly from your workspace. Check availability, view…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/rishipradeep-think41/gchat-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server