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

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

Comunidad
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.

Editorsiva010928
Repositoriomulti-chat-mcp-server
IdiomaPython
Forks
13
Estrellas
26
Herramientas disponibles
0
Tipo de transportestdio
Categorías
LicenciaMIT
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    多聊天 MCP 服务器(包括 Google Chat) ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 0 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés de la comunidad en el repositorio

    26 estrellas y 13 forks en el repositorio enlazado.

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.


Instalación

TypingMind
Requisitos:

Node.js 18+

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

Usa el MCP de 多聊天 MCP 服务器(包括 Google Chat) con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado 多聊天 MCP 服务器(包括 Google Chat), puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Esta integración MCP se ejecuta localmente en tu dispositivo a través del conector MCP de TypingMind.

Guía de configuración para usar el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade 多聊天 MCP 服务器(包括 Google Chat) como servidor

Cuando el estado del conector sea «Listo», haz clic en «Editar servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en «Editar servidores».
  3. Pega la configuración del servidor MCP de 多聊天 MCP 服务器(包括 Google Chat).
  4. Guarda la lista de servidores.
  5. Actualiza si quieres comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Editar servidores»
{
  "mcpServers": {
    "siva010928-multi-chat-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "multi-chat-mcp-server"
      ]
    }
  }
}
4

Usa la conexión con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de 多聊天 MCP 服务器(包括 Google Chat) y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de 多聊天 MCP 服务器(包括 Google Chat).
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar 多聊天 MCP 服务器(包括 Google Chat) para ayudarme con esta tarea?
多聊天 MCP 服务器(包括 Google Chat)
Claro. Lo he leído.
Esto es lo que he encontrado con 多聊天 MCP 服务器(包括 Google Chat).

Preguntas frecuentes

¿Para qué sirve el servidor MCP 多聊天 MCP 服务器(包括 Google Chat)?

多聊天 MCP 服务器(包括 Google Chat) es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas externas y acceder a información de contexto de fuentes externas. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP 多聊天 MCP 服务器(包括 Google Chat) con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar 多聊天 MCP 服务器(包括 Google Chat) con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el servidor MCP 多聊天 MCP 服务器(包括 Google Chat) con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves API y herramientas MCP en un solo espacio de trabajo. Con 多聊天 MCP 服务器(包括 Google Chat) conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu trabajo con los chats en TypingMind.

¿Cómo conecto el servidor MCP 多聊天 MCP 服务器(包括 Google Chat) a TypingMind?

多聊天 MCP 服务器(包括 Google Chat) funciona a través del conector MCP local de TypingMind. Es la mejor opción cuando el servidor MCP necesita acceder a archivos locales, aplicaciones de escritorio, herramientas de línea de comandos o recursos privados de tu ordenador.

¿Qué herramientas ofrece el servidor MCP 多聊天 MCP 服务器(包括 Google Chat) en TypingMind?

多聊天 MCP 服务器(包括 Google Chat) ofrece funciones MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves API con TypingMind para usar el servidor MCP 多聊天 MCP 服务器(包括 Google Chat)?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves API, prompts y configuración MCP. Si 多聊天 MCP 服务器(包括 Google Chat) requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇