Labsco
siva010928 logo

Multi Chat MCP Server (Google Chat)

โ˜… 24

from siva010928

Connect AI assistants like Cursor to Google Chat and beyond โ€” enabling smart, extensible collaboration across chat platforms.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeAdvanced setup

Multi-Chat MCP Server (Google Chat Included)

<div align="center"> <p style="background-color: #f8f9fa; padding: 15px; border-radius: 5px; border-left: 5px solid #4285f4; max-width: 800px; margin: 0 auto;"> <strong>๐Ÿ”ฅ UNIQUE FEATURE:</strong> Run <strong>multiple chat providers simultaneously</strong> with a single AI assistant!<br> Your AI can interact with Google Chat, Slack, Teams, and moreโ€”all at once. <br> Ask once: <em>"Share this update with both Slack and Google Chat teams"</em><br> <a href="#running-multiple-chat-providers-simultaneously">โžก๏ธ Learn more about multi-provider capabilities</a> </p> </div> <div align="center"> <h3>Multi-Chat MCP Server is an open-source Python framework to build AI-powered chat integrations. Ships with full Google Chat support.</h3> <p> <strong>Keywords:</strong> Google Chat MCP โ€ข MCP Server Implementation โ€ข AI Chat Integration โ€ข Google Workspace Automation โ€ข Team Collaboration AI </p> </div>

๐ŸŽฏ What is Google Chat MCP Server?

Google Chat MCP Server is an open-source, production-ready Model Control Protocol (MCP) server designed for Google Chat integration with AI assistants. Built with an extensible multi-provider architecture, this project provides a robust foundation for integrating AI assistants with team chat platforms.

๐Ÿข Built for Organizational Security & Privacy

Important Security Note: This tool is designed for local, organizational use only. We strongly recommend using this with organization-provided on-premises LLM instances or your local installed LLM Agent Model rather than cloud-based LLM model's to maintain complete control over your team's chat data and communications.

Why Local/On-Premises Deployment:

  • Data Privacy: Keep sensitive team conversations within your organization
  • Security Compliance: Meet enterprise security and compliance requirements
  • Full Control: Maintain complete oversight of data flow and access
  • Custom Policies: Implement organization-specific security measures

While anyone can adapt this tool for their particular use cases, it's designed with enterprise security as a priority.

Current Implementation Status

  • โœ… Google Chat Provider - Production Ready with comprehensive API coverage
  • ๐Ÿ”„ Slack Provider - Planned (contributions welcome)
  • ๐Ÿ“ Microsoft Teams Provider - Planned (contributions welcome)

Key Capability: All providers can run simultaneously with a unified interface, allowing your AI assistant to seamlessly work across multiple chat platforms at once. Learn more about this powerful feature.

๐Ÿงญ The Story Behind This Project

We even see open-source MCP servers for Google Chat โ€” but not sure about Microsoft Teams or Slack, officially or in open source. However, even the ones that do exist fall short in real-world applicability. They offer limited functionalities that cannot handle full-context workflows like this project demonstrates.

This multi-provider MCP framework was born from a real frustration experienced by development teams trying to leverage AI assistants in their daily workflows.


The Original Problem

Picture this scenario: You're debugging a complex issue, your AI assistant suggests a solution, but you need to check if your teammates have encountered something similar. You switch to Google Chat, scroll through hundreds of messages, copy-paste error logs, wait for responses, then manually relay the solution back to your AI assistant.

This constant context-switching was breaking the flow of productive AI-assisted development.


The Breaking Point

During a critical production incident, a developer spent 30 minutes manually shuttling information between Claude (via Cursor) and the team's Google Chat space. The AI had the technical knowledge to help. The team had the contextual experience. But there was no bridge connecting these two knowledge sources.

That's when we realized:

AI assistants need to be participants in team collaboration โ€” not isolated tools.

Our Solution:

  • Seamless Integration: AI assistants become active participants in team chat
  • Contextual Awareness: AI can search team history for similar issues and solutions
  • Collaborative Problem-Solving: AI can share problems with the team and implement their suggestions
  • Knowledge Bridging: Connect AI technical knowledge with team experiential knowledge

๐ŸŽฏ Built for Developer Extensibility

๐Ÿ—๏ธ Modular Provider Architecture

Each chat platform is implemented as an independent module:

src/providers/
โ”œโ”€โ”€ google_chat/     # โœ… Complete implementation
โ”œโ”€โ”€ slack/           # ๐Ÿ“‹ Framework ready for implementation  
โ””โ”€โ”€ teams/           # ๐Ÿ“‹ Framework ready for implementation

๐Ÿ‘ฅ Who's This For?

This project is designed for two primary audiences:

๐Ÿ› ๏ธ 1. Developers inside organizations

If you're a developer working in a team that uses Google Chat, and you're looking to integrate your AI IDEs (like Cursor, CodeWhisperer, or Copilot Chat) with team conversations โ€” this MCP client will save you hours. No more manually copying logs, checking for context, or waiting for someone to see your question. Your AI agent can now directly:

  • Search your chat history for relevant past discussions
  • Share code snippets or error logs automatically
  • Receive responses and convert them into actionable fixes
  • Summarize ongoing team activities
  • Fetch missing config/scripts from shared spaces

๐Ÿ’ก 2. Open source contributors & AI platform builders

If you're building AI-powered tools, IDE integrations, or internal assistants โ€” this is your starting point for a multi-provider MCP architecture. You can fork this project to:

  • Extend support for Slack, Microsoft Teams, or custom messaging platforms
  • Build your own custom AI workflows on top of MCP

Google Chat Tools Supported (will be extended)

Interact with Google Chat using the tools below. Each tool includes its source file and parameters.

๐Ÿงญ Space Management

  • get_chat_spaces_tool โ€“ List spaces
  • manage_space_members_tool โ€“ Add/remove members
  • get_conversation_participants_tool โ€“ Get space participants
  • summarize_conversation_tool โ€“ Summarize conversation

๐Ÿ’ฌ Messaging

  • send_message_tool โ€“ Send a message
  • reply_to_message_thread_tool โ€“ Reply in thread
  • update_chat_message_tool โ€“ Update message
  • delete_chat_message_tool โ€“ Delete message

๐Ÿ˜€ Interactions

  • add_emoji_reaction_tool โ€“ React to message
  • get_chat_message_tool โ€“ Get message details

๐Ÿ” Search & Filters

  • search_messages_tool โ€“ Search messages
  • get_my_mentions_tool โ€“ Find mentions

๐Ÿ‘ค User Info

  • get_my_user_info_tool โ€“ Your profile
  • get_user_info_by_id_tool โ€“ User by ID
  • get_message_with_sender_info_tool โ€“ Message with sender info
  • list_messages_with_sender_info_tool โ€“ List messages with sender info

๐Ÿ“Ž File Handling

  • upload_attachment_tool โ€“ Upload attachment
  • send_file_message_tool โ€“ Send file content
  • send_file_content_tool โ€“ Send formatted file content

๐Ÿ“ฆ Batch Operations

  • batch_send_messages_tool โ€“ Send multiple messages

๐Ÿ“ Source files located under src/providers/google_chat/tools/

๐Ÿ”ฅ Real-World Workflows Enabled

The demo walkthrough above demonstrates these practical team collaboration workflows:

Collaborative Problem Solving

  • Error Sharing & Resolution: AI shares developer errors with team, receives expert guidance, and implements solutions
  • Knowledge Transfer: Team expertise is captured and applied through AI assistance
  • Proactive Issue Detection: AI monitors team chat for emerging concerns and offers assistance

Intelligent Resource Management

  • Script Exchange: Request and receive team scripts with automatic comparison to local versions
  • Requirements Synchronization: Pull and merge requirements files from team discussions
  • Context-Aware Sharing: AI determines optimal file sharing based on team needs

Enhanced Team Communication

  • Mention Tracking: Comprehensive monitoring and response to team mentions
  • Activity Summaries: AI-generated updates on team progress and blockers
  • Semantic Search: Find conceptually related discussions across team spaces

๐Ÿ“ Project Architecture

multi-chat-mcp-server/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ providers/
โ”‚   โ”‚   โ”œโ”€โ”€ google_chat/           # โœ…Production-Ready Google Chat MCP
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ api/               # Google Chat API implementation
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ tools/             # MCP tools for Google Chat
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ utils/             # Utilities and helpers
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ README.md          # Setup guide
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ CURSOR_INTEGRATION.md  # Cursor integration
โ”‚   โ”‚   โ”œโ”€โ”€ slack/                 # ๐Ÿ“‹ Ready for implementation
โ”‚   โ”‚   โ””โ”€โ”€ teams/                 # ๐Ÿ“‹ Ready for implementation
โ”‚   โ”œโ”€โ”€ mcp_core/                  # Core MCP functionality
โ”‚   โ””โ”€โ”€ server.py                  # Multi-provider MCP server
โ”œโ”€โ”€ provider-config.yaml           # Provider configurations
โ””โ”€โ”€ google_chat_mcp_client_demo_images/  # Demo screenshots

Provider Configuration

providers:
  google_chat:
    name: "Google Chat MCP Server"
    description: "Production-ready Google Chat MCP integration"
    token_path: "src/providers/google_chat/token.json"
    credentials_path: "src/providers/google_chat/credentials.json"
    callback_url: "http://localhost:8000/auth/callback"

๐Ÿ”ฎ Roadmap & Contributing

Current Implementation Status

  • โœ… Google Chat Provider - Production ready with comprehensive features
  • ๐Ÿ“‹ Slack Provider - Framework ready, implementation needed
  • ๐Ÿ“‹ Teams Provider - Framework ready, implementation needed

How to Contribute

We welcome contributions to extend this framework with additional providers:

  1. Choose a Provider: Slack, Teams, or any other chat platform
  2. Follow the Architecture: Use src/providers/google_chat/ as a reference
  3. Implement Core Features: Messages, search, user management
  4. Add Provider-Specific Tools: Leverage unique platform capabilities
  5. Submit Pull Request: We'll help review and integrate

Getting Started with Contributions:

๐Ÿ“š Documentation

Essential Resources

๐Ÿ† Why Choose This MCP Server?

โœ… Battle-Tested Google Chat Integration

  • Comprehensive API coverage beyond basic messaging
  • Real-world workflows tested in development environments
  • Production-ready with proper error handling and authentication

โœ… Developer-Friendly Architecture

  • Created by developers for actual development workflows
  • Modular design makes it easy to understand and extend
  • Well-documented with practical examples

โœ… Community-Extensible Framework

  • Open source with transparent development
  • Contributor-friendly architecture and documentation
  • Multi-provider ready for diverse business needs

๐Ÿ“ž Support & Community

Get Help

  • ๐Ÿ› Bug Reports: GitHub Issues
  • ๐Ÿ’ก Feature Requests: GitHub Discussions
  • ๐Ÿ› ๏ธ Development Questions: Open an issue with technical details

Contributing

We welcome contributions to expand this multi-provider framework:

  1. Fork the repository
  2. Create a feature branch for your provider or enhancement
  3. Follow the existing architecture patterns
  4. Submit a pull request
  5. Sign our Contributor License Agreement

๐Ÿ“„ License & Copyright

Open Source License

This project is licensed under the MIT License - see the LICENSE file for details.

Copyright Notice

Copyright (c) 2025 Sivaprakash Kumar. All rights reserved.

While this is an open-source project welcoming contributions, all copyright and ownership rights remain with Sivaprakash Kumar. See COPYRIGHT for details.


<div align="center"> <h3>๐Ÿš€ Start Building with Google Chat MCP Server Today!</h3> <p> <strong>Production-ready Google Chat integration with extensible multi-provider architecture</strong><br> Perfect for developers building AI-powered team collaboration tools </p> <p> <strong>โญ Star this repository if it helps your development workflow!</strong><br> <strong>๐Ÿค Contribute to expand support for Slack, Teams, and other platforms!</strong> </p> </div>