多聊天 MCP 服务器(包括 Google Chat) 标志

多聊天 MCP 服务器(包括 Google Chat)

社区
siva010928

Google Chat MCP server that lets AI assistants like Claude and Cursor participate directly in team conversations - search messages, help teammates, share files, and coordinate across chat platforms.

发布者siva010928
代码仓库multi-chat-mcp-server
语言Python
复刻数
13
星标数
26
可用工具
0
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    多聊天 MCP 服务器(包括 Google Chat) 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 26 个星标和 13 个复刻。

Multi-Chat MCP Server (Google Chat Included)


🎯 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 MCP Server – Real-world Usage Showcase

These walkthroughs show how an AI assistant, powered by this MCP server, evolves from a passive tool into an active collaborator — debugging issues, coordinating teams, syncing scripts, and proactively unblocking developers.


🛠️ Tool Setup & Initialization

The Scenario: Connecting MCP client to Google Chat.

What's Happening: The AI assistant is granted access to all Google Chat tools (e.g., send, search, summarize, attach, reply).

Why it Matters: The assistant can now act inside Google Chat, not just observe.


🧯 Debugging & Resolution (Docker Example)

What's Happening: A developer asks the AI to share Docker error logs in chat, prompting real-time team help.

Next Step: A teammate replies with a Dockerfile fix (COPY requirements.txt .).

Automation Moment: The AI assistant edits the Dockerfile per the advice — no manual effort.

Wrap-up: It verifies the change, confirms requirements.txt exists — and the error should be resolved.


📦 Dependency & Script Sync

Scenario: I have requested my team requests to share a working requirements.txt.

Response: One of my teammate shared their working requirements.txt.

Developer POV: The AI reviewed the thread and based on my instruction, it updated my local requirements.txt with the one that was shared


Scenario: You ask your team for a shared aws-setup.sh script.

Developer POV: The AI reviewed the thread and based on my instruction, it compares the team's script with your local version — ensuring you're in sync.


👀 Team Coordination & Catch-Up

Context: You've been away. What's new?

AI Response: The assistant summarizes key activity in your space: questions, PRs, shared files, blockers.

Missed a ping? The AI scans for all mentions and surfaces conversations you were tagged in.


🔍 AI-Powered Problem Solving from Team Chat Context

The Scenario: A developer explicitly asks the AI assistant to help resolve open concerns mentioned by the team in the chat space.

What's Happening: The AI scans recent chat messages, identifies technical questions, missing files, and potential blockers related to the project, and prepares to assist.

Developer Perspective: The agent isn't just reactive — it understands team context and can search for unresolved issues when prompted.

Example Use Case: A teammate mentioned they couldn't find ReviewForm.js.

AI Response: The agent searches the local repo, finds the correct path, and replies directly in the chat thread.

Why it Matters: Instead of waiting for someone to respond, the AI assistant unblocks teammates in real-time with accurate, repo-aware answers — making onboarding and collaboration faster and smoother.

🚀 Quick Start: Google Chat MCP Server Setup

Prerequisites

  • Python 3.9+
  • UV Package Manager (recommended)
  • Google Cloud Project with Google Chat API enabled
  • MCP Client (Claude Desktop, Cursor, or other MCP-compatible AI assistant)

Step 1: Installation

bash
# Clone the repository
git clone https://github.com/siva010928/multi-chat-mcp-server.git
cd multi-chat-mcp-server

# Install dependencies
uv venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate
uv pip install -r requirements.txt

Step 2: Google Chat Authentication Setup

bash
# Set up Google Chat API credentials
# 1. Create Google Cloud project
# 2. Enable Google Chat API
# 3. In the Google Chat API dashboard, open the **Configuration** tab and complete the application setup (app name, logo, etc.). *The API will refuse requests until this step is finished.*
# 4. Download credentials.json to src/providers/google_chat/

# Run authentication
python -m src.server --provider google_chat -local-auth

Step 3: Connect to Your AI Assistant

For Cursor + Claude integration, see our detailed Google Chat MCP Cursor Integration Guide.

For other MCP clients, add this configuration:

json
{
  "mcpServers": {
    "google_chat_mcp": {
      "command": "uv",
      "args": [
        "--directory", "/path/to/multi-chat-mcp-server",
        "run", "-m", "src.server",
        "--provider", "google_chat"
      ]
    }
  }
}

📖 Detailed Setup Documentation

For comprehensive setup instructions including Google Cloud configuration, OAuth setup, and troubleshooting, see our Complete Google Chat MCP Setup Guide - This detailed implementation guide covers:

  • Google Cloud Project setup and API enablement
  • OAuth 2.0 configuration and security best practices
  • Step-by-step authentication flow
  • Common setup issues and their solutions

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/

Running Multiple Chat Providers Simultaneously

One of the key advantages of Multi Chat MCP Server is the ability to run multiple chat providers simultaneously. Each provider runs in its own server instance, allowing your AI assistant to interact with multiple platforms at once.

For example, you can configure both Google Chat and Slack MCP servers to run simultaneously:

json
{
  "mcpServers": {
    "google_chat": {
      "command": "uv",
      "args": [
        "--directory", "/path/to/multi-chat-mcp-server",
        "run", "-m", "src.server",
        "--provider", "google_chat"
      ]
    },
    "slack": {
      "command": "uv",
      "args": [
        "--directory", "/path/to/multi-chat-mcp-server",
        "run", "-m", "src.server",
        "--provider", "slack"
      ]
    }
  }
}

With this setup, your AI assistant can:

  • Access tools from all configured providers simultaneously
  • Execute cross-platform actions with a single command
  • Perform platform-specific operations through named providers

Real-World Multi-Platform Scenarios

ScenarioExample Command to AIWhat Happens
Incident Response"Share this error log with both our Slack #on-call channel and Google Chat #tech-huddle team"AI posts the error in both platforms simultaneously, with appropriate formatting for each
Knowledge Consolidation"Find all discussions about the authentication issue across Slack #LLMSpace and Google Chat #LLMTools in the last week"AI searches both platforms and presents a unified summary of all relevant conversations
Cross-Team Coordination"Let the frontend team on Slack and backend team on Google Chat know we're delaying the release by 2 days"AI composes appropriate messages for each team on their preferred platform
Multi-Team Standups"Collect status updates from all teams across Slack and Google Chat from standup space and summarize them for last 3 days."AI retrieves and consolidates information from both platforms into a single summary

Business Value of Multi-Provider Integration

  • Reduce Tool Switching: No need for developers to constantly switch between chat platforms for smaller use-cases like sharing error logs or instructions or reply
  • Unified Context: Your AI assistant maintains awareness across all your organization's communication channels

Each provider is defined separately in provider-config.yaml, allowing you to extend support for any chat platform while maintaining a unified interface for your AI assistant.

🔥 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

yaml
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

🔍 Troubleshooting

Common Google Chat Issues

Authentication Problems

bash
# Re-authenticate Google Chat
python -m src.server --provider google_chat -local-auth

Tool Registration Issues

  • Verify tools appear in your AI assistant
  • Check provider configuration in provider-config.yaml
  • Ensure all Google Chat API scopes are granted

Connection Problems

  • Confirm Google Chat API is enabled in Google Cloud Console
  • Verify credentials.json file placement
  • Check network connectivity and firewall settings

🏆 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

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.


安装

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "siva010928-multi-chat-mcp-server": {
      "command": "",
      "args": []
    }
  }
}

将 多聊天 MCP 服务器(包括 Google Chat) MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 多聊天 MCP 服务器(包括 Google Chat) 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 多聊天 MCP 服务器(包括 Google Chat) 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 多聊天 MCP 服务器(包括 Google Chat) MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "siva010928-multi-chat-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "multi-chat-mcp-server"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 多聊天 MCP 服务器(包括 Google Chat) MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 多聊天 MCP 服务器(包括 Google Chat) MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 多聊天 MCP 服务器(包括 Google Chat) 帮我完成这项任务吗?
多聊天 MCP 服务器(包括 Google Chat)
当然,我看过了。
以下是我使用 多聊天 MCP 服务器(包括 Google Chat) 得到的结果。

常见问题

多聊天 MCP 服务器(包括 Google Chat) MCP 服务器有什么用途?

多聊天 MCP 服务器(包括 Google Chat) 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 多聊天 MCP 服务器(包括 Google Chat) MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 多聊天 MCP 服务器(包括 Google Chat)。

为什么在 TypingMind 中使用 多聊天 MCP 服务器(包括 Google Chat) MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 多聊天 MCP 服务器(包括 Google Chat) 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 多聊天 MCP 服务器(包括 Google Chat) MCP 连接到 TypingMind?

多聊天 MCP 服务器(包括 Google Chat) 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

多聊天 MCP 服务器(包括 Google Chat) MCP 在 TypingMind 中提供哪些工具?

多聊天 MCP 服务器(包括 Google Chat) 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 多聊天 MCP 服务器(包括 Google Chat) MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 多聊天 MCP 服务器(包括 Google Chat) 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇