Notify-MCP
Provides an MCP adapter path for using Gemini with notify-mcp for team notifications and collaboration, with native Gemini MCP integration noted as future.
Supports use with ChatGPT via an MCP-to-HTTP bridge and Custom GPT actions for sharing team notifications, alerts, status updates, and subscriptions.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Notify-MCP
A Pub-Sub MCP server for seamless team collaboration across AI platforms ๐ค
Overview
Notify-MCP enables teams to share notifications, decisions, and status updates across different AI assistants (Claude, ChatGPT, Gemini). It implements a flexible pub-sub architecture where team members can:
๐ข Broadcast architecture decisions to all stakeholders
๐จ Alert teams about critical incidents
๐ Share project status and updates
๐ Subscribe to relevant channels with smart filters
๐ค Coordinate work across different AI platforms
Use Cases
Development Teams: Share technical decisions, code reviews, deployment status
Consulting Teams: Coordinate client updates, project milestones, recommendations
Business Teams: Broadcast strategic decisions, requirement changes, priorities
Cross-functional: Maintain shared context across teams and AI assistants
Related MCP server: Agent Communication MCP Server
Features
Core Capabilities
๐ข Multi-Channel System: Create dedicated channels for teams, projects, or topics
๐ฏ Smart Filtering: Subscribe with filters (priority, tags, themes, sender roles)
๐ Pub-Sub Architecture: Decoupled notification delivery via channels
๐ Notification History: Retrieve recent notifications (last 50 per channel)
๐พ Persistent Storage: SQLite database for team collaboration (v1.1.0+)
๐ Type-Safe: Full Pydantic validation with JSON Schema
๐งช Well-Tested: 62 unit tests with 70% code coverage
MCP Protocol Support
6 Tools: publish, subscribe, unsubscribe, list channels, create channel, get subscriptions
3 Resources: notification history, channel info, notification schema
2 Prompts: Architecture decision and alert templates
Transport: stdio (default), HTTP (v1.2.0+) for remote collaboration
Notification Schema
Rich notification model with:
Sender info: User ID, name, role, AI tool
Context: Theme, priority (low/medium/high/critical), tags
Information: Title, body (text/markdown/json), format
Metadata: ID, timestamp, channel, sequence, threading
Actions: Optional action buttons
Visibility: Expiry, allowed users, read receipts
Installation
Prerequisites
Python 3.11+
uv (fast Python package manager)
Install uv
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows (PowerShell)
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"Install Notify-MCP
# Clone the repository
git clone <repository-url>
cd notify-mcp
# Install dependencies
uv sync
# Verify installation
uv run python -m notify_mcp --helpConfiguration
Claude Desktop / Claude Code
File: ~/.config/Claude/claude_desktop_config.json (macOS/Linux) or %APPDATA%/Claude/claude_desktop_config.json (Windows)
{
"mcpServers": {
"notify-mcp": {
"command": "uv",
"args": ["run", "python", "-m", "notify_mcp"],
"cwd": "/absolute/path/to/notify-mcp",
"env": {
"NOTIFY_MCP_LOG_LEVEL": "INFO"
}
}
}
}Alternative (with activated venv):
{
"mcpServers": {
"notify-mcp": {
"command": "/absolute/path/to/notify-mcp/.venv/bin/python",
"args": ["-m", "notify_mcp"]
}
}
}Restart Claude after updating the config file.
Storage Configuration
New in v1.1.0: Persistent storage enables team collaboration through shared databases.
Configure storage via environment variables in the MCP server configuration:
{
"mcpServers": {
"notify-mcp": {
"command": "uv",
"args": ["run", "python", "-m", "notify_mcp"],
"cwd": "/absolute/path/to/notify-mcp",
"env": {
"NOTIFY_MCP_STORAGE_TYPE": "sqlite",
"NOTIFY_MCP_SQLITE_PATH": "~/.notify-mcp/storage.db",
"NOTIFY_MCP_MAX_HISTORY": "1000"
}
}
}
}Storage Options:
Variable | Options | Default | Description |
|
|
| Storage backend type |
| file path |
| SQLite database path |
| integer |
| Max notifications per channel (LRU cache) |
Storage Types:
memory(default): In-memory storage, fast but not persistent across restartssqlite: File-based SQLite database, persistent and shareable across team members
Team Collaboration Setup:
To share notifications across team members, use a shared SQLite database:
# Store database in shared network location
NOTIFY_MCP_STORAGE_TYPE=sqlite
NOTIFY_MCP_SQLITE_PATH=/shared/team/notify-mcp.dbAll team members pointing to the same database file will share channels, subscriptions, and notification history! ๐
HTTP Transport Configuration
New in v1.2.0: Run notify-mcp as an HTTP server for remote collaboration!
Configure HTTP transport via environment variables:
{
"mcpServers": {
"notify-mcp-http": {
"command": "uv",
"args": ["run", "python", "-m", "notify_mcp"],
"cwd": "/absolute/path/to/notify-mcp",
"env": {
"NOTIFY_MCP_TRANSPORT_TYPE": "http",
"NOTIFY_MCP_HTTP_HOST": "0.0.0.0",
"NOTIFY_MCP_HTTP_PORT": "8000",
"NOTIFY_MCP_STORAGE_TYPE": "sqlite",
"NOTIFY_MCP_SQLITE_PATH": "/shared/notify-mcp.db"
}
}
}
}Transport Options:
Variable | Options | Default | Description |
|
|
| Transport protocol |
| IP address |
| HTTP server host (binds to all interfaces) |
| port number |
| HTTP server port |
HTTP Server Endpoint: http://<host>:<port>/mcp
Running Standalone HTTP Server:
# Using environment variables
export NOTIFY_MCP_TRANSPORT_TYPE=http
export NOTIFY_MCP_HTTP_PORT=8000
uv run python -m notify_mcp
# Or use the example script
uv run python examples/run_http_server.pyBenefits of HTTP Transport:
๐ Remote Access: Connect from anywhere on the network
๐ฅ Multi-Client: Multiple AI assistants connecting simultaneously
โ๏ธ Cloud Deployment: Deploy to Railway, Render, Fly.io, AWS, etc.
๐ Real-Time Collaboration: All clients see updates instantly
Security Note: Community Edition HTTP transport has no authentication. For production use with auth, JWT, and monitoring, see Enterprise Edition.
Using Slash Commands in Claude Code
Six convenient slash commands are available in .claude/commands/:
/notify-decision- Create architecture decision notification/notify-alert- Create critical alert/notify-status- Share status update/notify-channels- List all channels/notify-subscribe- Subscribe to a channel/notify-recent- View recent notifications
ChatGPT (via MCP)
ChatGPT supports MCP through custom integrations. Two options:
Option 1: Using MCP Bridge (Recommended)
Use an MCP-to-HTTP bridge to connect ChatGPT:
Run notify-mcp server (stdio):
uv run python -m notify_mcpUse MCP bridge (e.g., mcp-bridge):
mcp-bridge --stdio "uv run python -m notify_mcp" --http localhost:8080Configure ChatGPT Custom GPT:
Create a Custom GPT
Add "notify-mcp" action
Point to bridge endpoint:
http://localhost:8080Import OpenAPI spec from bridge
Option 2: Direct Integration (Future)
When OpenAI adds native MCP support, configuration will be similar to Claude:
{
"mcpServers": {
"notify-mcp": {
"command": "uv",
"args": ["run", "python", "-m", "notify_mcp"],
"cwd": "/absolute/path/to/notify-mcp"
}
}
}Note: As of January 2025, ChatGPT doesn't have native MCP support yet. Monitor OpenAI announcements.
Google Gemini (via MCP)
Gemini MCP integration is in development. Two approaches:
Option 1: Via Google AI Studio (Future)
When Gemini adds MCP support:
Open Google AI Studio
Go to Extensions โ MCP Servers
Add Server:
{ "name": "notify-mcp", "command": "uv", "args": ["run", "python", "-m", "notify_mcp"], "workingDirectory": "/absolute/path/to/notify-mcp" }
Option 2: Using Gemini API with MCP Adapter
Use Gemini API with an MCP adapter (Python):
# example_gemini_client.py
from google.generativeai import GenerativeModel
from mcp import ClientSession, StdioServerParameters
from mcp.client.stdio import stdio_client
async def main():
# Connect to notify-mcp
server_params = StdioServerParameters(
command="uv",
args=["run", "python", "-m", "notify_mcp"]
)
async with stdio_client(server_params) as (read, write):
async with ClientSession(read, write) as session:
await session.initialize()
# Use Gemini with MCP tools
model = GenerativeModel('gemini-pro')
# ... integrate MCP tools with Gemini callsNote: Full Gemini MCP integration expected in 2025. Check Gemini documentation for updates.
Quick Start
1. Create a Channel
# Using MCP tool in Claude/ChatGPT/Gemini
"Create a channel called 'engineering' for technical updates"Or programmatically:
await session.call_tool(
"create_channel",
arguments={
"channel_id": "engineering",
"name": "Engineering Team",
"description": "Technical updates and decisions"
}
)2. Subscribe to Channel
# Subscribe with priority filter
await session.call_tool(
"subscribe_to_channel",
arguments={
"channel": "engineering",
"priority_filter": ["high", "critical"]
}
)3. Publish Notification
await session.call_tool(
"publish_notification",
arguments={
"channel": "engineering",
"title": "API v2.0 Released",
"body": "New API version deployed to production",
"priority": "high",
"theme": "state-update",
"tags": ["api", "release"]
}
)4. Retrieve Notifications
notifications = await session.read_resource(
uri="notification://engineering/recent"
)Usage Examples
Example 1: Architecture Decision
# In Claude Code
/notify-decision
# Claude will ask for:
# - Decision title: "Migration to Microservices"
# - Context: "Monolith becoming hard to scale..."
# - Decision: "Move to microservices architecture using Docker/K8s"
# Notification published to 'engineering' channel with theme='architecture-decision'Example 2: Critical Alert
# In any AI assistant with notify-mcp
"Send a critical alert about database connection pool exhaustion"
# Uses publish_notification tool:
# - channel: "alerts"
# - priority: "critical"
# - theme: "alert"Example 3: Cross-Team Coordination
Developer in Claude:
Subscribe to architecture channel with high priority filterArchitect in ChatGPT:
Publish architecture decision about new caching strategy to engineering channelDeveloper in Claude:
Show me recent notifications from architecture channelResult: Developer sees architect's decision even though they're using different AI platforms! ๐
MCP Tools Reference
publish_notification
Publish a notification to a channel.
Arguments:
channel(string, required): Channel nametitle(string, required): Notification titlebody(string, required): Notification bodypriority(string): "low" | "medium" | "high" | "critical" (default: "medium")theme(string): "info" | "state-update" | "alert" | "architecture-decision" | "question" | "decision" | "memory-sync" | "discussion" (default: "info")tags(array): List of tags (default: [])
Returns: Confirmation with notification ID and delivery stats
subscribe_to_channel
Subscribe to a channel with optional filters.
Arguments:
channel(string, required): Channel namepriority_filter(array): Only receive notifications with these prioritiestag_filter(array): Only receive notifications with these tags
Returns: Subscription ID and filter details
unsubscribe_from_channel
Unsubscribe from a channel.
Arguments:
channel(string, required): Channel name
Returns: Success/failure status
list_channels
List all available channels.
Returns: List of channels with subscriber/notification counts
create_channel
Create a new notification channel.
Arguments:
channel_id(string, required): Unique channel IDname(string, required): Channel namedescription(string): Channel description
Returns: Confirmation with channel details
get_my_subscriptions
Get current subscriptions.
Returns: List of subscriptions with filters and timestamps
MCP Resources Reference
notification:///recent
Retrieve last 50 notifications from a channel.
Example: notification://engineering/recent
Returns: JSON array of notifications
channel:///info
Get channel information and statistics.
Example: channel://engineering/info
Returns: Channel details with subscriber/notification counts
schema://notification
Get the notification JSON schema.
Example: schema://notification
Returns: Complete JSON Schema for notifications
Architecture
notify-mcp/
โโโ src/notify_mcp/
โ โโโ server.py # Main MCP server
โ โโโ models/ # Pydantic models (Notification, Channel, Subscription)
โ โโโ config/ # Configuration
โ โ โโโ storage_config.py # Storage settings
โ โโโ core/ # Business logic
โ โ โโโ channel_manager.py # Channel CRUD
โ โ โโโ subscription_manager.py # Subscription management
โ โ โโโ notification_router.py # Routing & filtering
โ โ โโโ notification_validator.py # JSON Schema validation
โ โโโ storage/ # Storage implementations
โ โ โโโ memory.py # In-memory storage
โ โ โโโ sqlite_storage.py # SQLite persistent storage (v1.1.0+)
โ โ โโโ models.py # SQLAlchemy ORM models
โ โ โโโ factory.py # Storage factory
โ โโโ utils/ # Filter matching, helpers
โโโ schemas/ # JSON Schemas
โโโ tests/ # Unit tests (62 tests, 70% coverage)
โโโ examples/ # Example clients
โโโ docs/ # DocumentationStorage
In-Memory Storage (default):
โก Fast (no I/O overhead)
๐ No persistence across restarts
โ Suitable for individual use
๐ LRU cache (configurable, default: 1000 notifications per channel)
SQLite Storage (v1.1.0+):
๐พ Persistent across restarts
๐ค Enables team collaboration (shared database file)
๐ฆ File-based, no server setup required
๐ Foreign key constraints with cascade deletes
๐ Suitable for ~100K notifications
๐๏ธ LRU cache enforced at database level
Future (Enterprise Edition):
PostgreSQL for production scale
Redis Pub/Sub for real-time updates
Multi-server support
Advanced replication and backup
Development
Running Tests
# Run all tests
uv run pytest
# Run with coverage
uv run pytest --cov=src/notify_mcp --cov-report=html
# Run specific test file
uv run pytest tests/test_storage.py -vType Checking
uv run mypy src/notify_mcpLinting
uv run ruff check src/
uv run ruff format src/Running Examples
# Basic client example
python examples/basic_client.py
# Team workflow example
python examples/team_workflow.pySee examples/README.md for detailed usage.
Testing
62 unit tests covering core functionality
70% code coverage (85-100% for business logic)
Test categories:
Model validation (Pydantic schemas)
Storage operations (in-memory & SQLite)
Filter matching (priority, tags, themes)
Subscription management
Notification routing
Channel management
SQLite persistence and LRU cache
Database cascade operations
Roadmap
Phase 1: MVP โ (v1.0.0 - Complete)
โ stdio transport
โ In-memory storage
โ 6 MCP tools
โ 3 MCP resources
โ Smart filtering
โ 48 unit tests
Phase 2A: Persistent Storage โ (v1.1.0 - Complete)
โ SQLite storage adapter
โ Storage factory pattern
โ Configuration via environment variables
โ LRU cache enforcement
โ Team collaboration via shared database
โ 62 unit tests with 70% coverage
Phase 2B: HTTP Transport โ (v1.2.0 - Complete)
โ HTTP transport (Streamable HTTP via MCP SDK)
โ Multi-client session management
โ Configuration-based transport selection
โ Remote collaboration support
โ Cloud deployment ready
Phase 2C: Advanced Real-Time (Planned)
Redis Pub/Sub integration
WebSocket support for push notifications
Server-sent events
Multi-server horizontal scaling
Phase 2D: Security & Permissions (Planned)
Authentication (API keys, JWT)
Permission enforcement
Rate limiting
Audit logging
Phase 3: Advanced Features (Future)
Notification threading (replyTo)
Read receipts
Notification expiry
Webhook delivery
Integration with Slack/Discord
Web dashboard
Troubleshooting
Server Not Starting
Problem: Server fails to start or Claude can't find it.
Solution:
# Test server manually
uv run python -m notify_mcp
# Check if uv is in PATH
which uv
# Use absolute paths in config
"command": "/full/path/to/uv"Notifications Not Appearing
Problem: Published notifications don't show up.
Reason: In stdio mode, notifications are stored but not pushed. You must retrieve them.
Solution:
# Retrieve notifications via resource
"Show me recent notifications from engineering channel"Filter Not Working
Problem: Subscribed with filter but still see unwanted notifications.
Solution: Filters apply when retrieving notifications, not at storage time. When you read notification://<channel>/recent, only matching notifications are shown based on your subscription filters.
Import Errors
Problem: ModuleNotFoundError: No module named 'mcp'
Solution:
# Install MCP SDK
pip install mcp
# Or use uv
uv pip install mcpDocumentation
API Documentation: Complete MCP API reference
Notification Schema: Schema specification
Architecture: System design
Usage Guide: Detailed usage scenarios
Examples: Code examples
Contributing
Contributions welcome! Please:
Fork the repository
Create a feature branch
Add tests for new functionality
Ensure all tests pass:
uv run pytestRun linting:
uv run ruff check src/Submit a pull request
License
MIT License - see LICENSE file for details.
Support
Issues: GitHub Issues
Documentation: docs/
Examples: examples/
Acknowledgments
Built with MCP (Model Context Protocol) by Anthropic
Uses Pydantic for data validation
Package management by uv
Made with โค๏ธ for seamless AI collaboration
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
This server cannot be deployed
Maintenance
Related MCP Connectors
The communications layer for AI agents: posts, DMs, team rooms, and file exchange.
Shared Rooms, skills and team memory for your people and AI agents, with human approvals.
Team hub for people working in different AIs: shared chat, calls, board, decisions and glossary.
Message your AI Teammates and read their replies from ChatGPT, Claude, Perplexity and more.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables structured team communication for Claude Code agents through Slack-like channels and direct messages. Supports project isolation, subscription management, and agent notes for sophisticated multi-agent collaboration workflows.33 npm8MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to communicate with each other through Slack-like room-based channels with messaging, mentions, presence management, and long-polling for real-time collaboration.245 npm5MIT
- AlicenseNot gradedqualityBmaintenanceA message bus that enables AI assistants (Claude, ChatGPT, Gemini, Perplexity) to communicate via shared channels using MCP or REST APIs.21MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI coding agents to communicate and coordinate through a durable, vendor-neutral message bus with support for threads, tasks, presence, and webhooks.283 npm-