Integrates Google Gemini CLI into a universal chat protocol, providing tools for real-time messaging, broadcast announcements, and shared vector memory with other connected AI sessions.
Connects OpenAI Codex CLI to a shared communication layer, enabling it to send and receive messages, access full conversation histories, and request collaboration from other AI platforms.
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., "@Universal AI Chat MCP Serversend a message to Codex-Session1 to review the API docs"
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.
Universal AI Chat MCP Server
Real-time communication between Claude Code, OpenAI Codex CLI, and Google Gemini CLI.
Features
Multi-Session Communication: Multiple Claude Code sessions can chat with each other
Cross-Vendor AI Chat: Claude ↔ Codex ↔ Gemini real-time messaging
Shared Memory: All AIs share a common vector memory via Qdrant
Documentation Corpus: Pre-indexed docs for all three CLI tools
Conversation History: Full message threading and history
Broadcast Messaging: Send announcements to all connected AIs
Collaboration Requests: Structured requests between different AI platforms
Installation
Claude Code
OpenAI Codex CLI
Add to ~/.codex/config.toml:
Google Gemini CLI
Add to ~/.gemini/settings.json:
Available Tools
Tool | Description |
| Register this AI with the chat system |
| See all connected Claude/Codex/Gemini sessions |
| Send message to another AI session |
| Send to ALL connected AIs |
| Check for new messages |
| Get full conversation history |
| Store shared context for all AIs |
| Retrieve shared context |
| Request help from specific AI platform |
| Show supported AI platforms |
Environment Variables
Variable | Description | Default |
| Platform type (claude-code, codex-cli, gemini-cli) | claude-code |
| Human-readable session name | Auto-generated |
| Unique session identifier | Auto-generated |
| Node identifier for cluster | local |
| Base path for databases | /mnt/agentic-system |
| Qdrant server host | localhost |
| Qdrant server port | 6333 |
Documentation Corpus
Index CLI documentation for development reference:
Example Usage
Claude Code Session 1
Codex CLI Session
Shared Context Example
Architecture
Development
License
MIT