hAIveMind MCP Server
Allows storing and managing Ansible playbooks for configuration management and deployment via the upload_playbook tool.
Provides tools to fetch documents from Confluence for knowledge import.
Provides tools for tracking Elasticsearch infrastructure state, creating configuration snapshots, and detecting drift.
Uses Firebase for agent authentication and identity management.
Provides tools to fetch issues from Jira for task tracking and management.
Supports discovering and installing skills related to Kubernetes deployment from the skills.sh directory.
Allows storing and managing Terraform configurations for infrastructure provisioning via the upload_playbook tool.
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., "@hAIveMind MCP ServerStore a memory about the server migration plan"
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.
hAIveMind MCP Server
A distributed multi-agent DevOps memory system implementing the Model Context Protocol (MCP). Enables Claude and other AI agents to share knowledge, coordinate tasks, and maintain persistent memory across distributed infrastructure.
Features
Persistent Memory Storage: ChromaDB-backed vector storage with Redis caching
Multi-Agent Coordination: Register agents, delegate tasks, and share discoveries across the collective
Teams & Vaults: Secure collaborative workspaces with encrypted secret management
Zero-Knowledge Vault Sharing: X25519 key exchange for secure vault key distribution
Skills.sh Integration: Discover and install reusable AI agent capabilities from skills.sh
Confidentiality Controls: PII/confidential data protection with sync/broadcast filtering
Token-Optimized Format: 60-80% token reduction with v2 format system
Remote Access: HTTP/SSE server for MCP clients with HTTPS/Tailscale Serve support
Agent Authentication: Firebase-backed identity with pre-auth keys and capabilities
130+ MCP Tools: Comprehensive DevOps tooling for infrastructure, deployment, and monitoring
Configuration Management: Drift detection, snapshots, and intelligent alerting
Disaster Recovery: Automated backups, failover, and chaos engineering support
Related MCP server: agentbay-mcp
Version
Current Release: v2.3.0
Recent Changes
v2.3.0: Secure admin bootstrap system with vault-based credentials, hardcoded password removal, complete API v1 endpoints for vault operations
v2.2.0: Skills.sh integration, zero-knowledge vault sharing, HTTPS/Tailscale Serve support, agent authentication system
v2.1.5: Fixed PII protection MCP tool exposure, comprehensive README update
v2.1.4: PII/Confidential memory protection system
v2.1.3: Agents directory support in vault system
v2.1.2: Full toolset enabled in remote server
v2.1.1: Vault sync tools restored
Installation
# Clone the repository
git clone <repository-url>
cd haivemind-mcp-server
# Create virtual environment
python -m venv venv
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Start the remote HTTP/SSE server (recommended)
python src/remote_mcp_server.py
# Or start the local MCP server (stdio)
python src/memory_server.pyConfiguration
Claude Code Integration
Add to ~/.claude/mcp.json:
{
"mcpServers": {
"haivemind": {
"command": "mcp-client-sse",
"args": ["http://localhost:8900/sse"],
"env": {"HTTP_TIMEOUT": "30000"}
}
}
}Server Configuration
Copy config/config.example.json to config/config.json:
{
"storage": {
"chromadb": {"path": "/data/chroma/"}
},
"server": {"port": 8900}
}MCP Tools (126 Total)
Core Memory Tools
Tool | Description |
| Store memories with confidentiality controls |
| Get specific memory by ID |
| Upgrade memory protection level (one-way) |
| Full-text and semantic search with filtering |
| Time-windowed retrieval |
| Statistics and counts |
| Project-scoped memories |
| Bulk import conversations |
Confidentiality Levels
Level | Sync | Broadcast | Search | Description |
| Yes | Yes | Full | Default - full visibility |
| No | Limited | Full | No external machine sync |
| No | No | Local | Local machine only |
| No | No | Local | Audit logged, blocked from all distribution |
Agent Coordination
Tool | Description |
| Register with the collective |
| List all active agents |
| Assign work to specialists |
| Query specific agent expertise |
| Share findings with all agents |
| Retrieve recent broadcasts |
Teams & Vaults
Tool | Description |
| Collaborative workspaces |
| Encrypted secret storage |
| Decrypt and retrieve secrets |
| Grant access to users/teams |
| Security audit trail |
Infrastructure Management
Tool | Description |
| Record infrastructure snapshots |
| Log incidents with correlation |
| Create reusable procedures |
| Distribute SSH configurations |
| Sync any infra config |
Configuration Management
Tool | Description |
| Capture configuration state |
| Intelligent drift detection |
| Configuration change history |
| Smart alerting rules |
| Predictive drift analysis |
| Compare configurations |
Backup & Recovery
Tool | Description |
| Full configuration backup |
| Agent state preservation |
| Project-level backups |
| Safe restoration |
| Backup integrity check |
| Automated backup scheduling |
Deployment Pipeline
Tool | Description |
| Define CI/CD pipelines |
| Run deployments |
| Automated rollback |
| Approval gates |
| Pre-deploy snapshots |
Service Discovery
Tool | Description |
| Automatic service discovery |
| Manual service registration |
| Dependency visualization |
| Comprehensive health checks |
Ticket Management
Tool | Description |
| Create work tickets |
| Retrieve tickets |
| Status updates |
| Search and filter |
| Personal ticket list |
| Add comments |
| Analytics |
Skills.sh Integration
Tool | Description |
| Search skills.sh directory for AI capabilities |
| Install skill with vault sync |
| List local and vault skills |
| Share skill with team via vault |
| Context-aware skill recommendations |
External Integrations
Tool | Description |
| Import Confluence docs |
| Import Jira issues |
| Sync all external sources |
| Store Ansible/Terraform |
Project Management
Tool | Description |
| Project CRUD |
| Context switching |
| Health analysis |
| Project backup/restore |
Usage Examples
Store Memory with PII Protection
# Normal memory (synced across network)
store_memory(content="API endpoint documented", category="infrastructure")
# PII memory (local only, never synced)
store_memory(
content="Customer SSN: xxx-xx-xxxx",
category="security",
confidentiality_level="pii"
)Upgrade Confidentiality (One-Way)
# Mark existing memory as confidential
update_memory_confidentiality(
memory_id="abc123",
confidentiality_level="confidential",
reason="Contains sensitive customer data"
)Agent Coordination
# Register as a specialist
register_agent(role="elasticsearch_ops", description="ES cluster management")
# Delegate work
delegate_task(
task_description="Optimize slow queries",
required_capabilities=["elasticsearch_ops"]
)
# Share discoveries
broadcast_discovery(
message="Found memory leak in scraper",
category="infrastructure",
severity="warning"
)Skills.sh Integration
# Search for skills
search_skills_sh(query="kubernetes deployment")
# Install a skill and sync to vault
install_skill_from_skills_sh(
skill_id="vercel/next-learn",
target_tool="claude",
sync_to_vault=True
)
# List all installed skills
list_installed_skills()
# Get context-aware recommendations
recommend_skills(context="Building a React app with authentication")Configuration Drift Detection
# Create snapshot
create_config_snapshot(
system_id="elastic1",
config_type="elasticsearch",
config_content="<yaml>",
file_path="/etc/elasticsearch/elasticsearch.yml"
)
# Detect drift
detect_config_drift(system_id="elastic1", threshold=0.8)
# Get trend analysis
get_drift_trend_analysis(system_id="elastic1", days_back=7)Architecture
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ Claude Code │────▶│ Remote Server │────▶│ ChromaDB │
│ (MCP Client) │ SSE │ (port 8900) │ │ (Vector Store) │
└─────────────────┘ └────────┬────────┘ └─────────────────┘
│
┌────────────┼────────────┐
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌──────────┐
│ Redis │ │ Sync │ │ Teams │
│ (Cache) │ │ Service │ │ & Vaults │
└──────────┘ └──────────┘ └──────────┘Services
Service | Port | Purpose |
Remote Server | 8900 | HTTP/SSE for MCP clients |
Sync Service | 8899 | Machine-to-machine sync |
Memory Server | stdio | Local MCP integration |
Systemd Installation
# Install all services
sudo bash services/install-services.sh
# Or individual services
sudo systemctl enable haivemind-remote-mcp
sudo systemctl start haivemind-remote-mcpRequirements
Python 3.10+
Redis server
ChromaDB
API Endpoints
Endpoint | Method | Description |
| GET | Service health check |
| GET | SSE stream for MCP |
| POST | Streamable HTTP for MCP |
| GET | List available tools |
Security
Confidentiality Levels: PII/confidential data never leaves local machine
Vault Encryption: XOR-based encryption (upgradeable to AES-GCM)
Audit Logging: All vault access logged with actor/reason
JWT Authentication: API endpoint protection
Tailscale Integration: Secure machine-to-machine communication
License
MIT License
Contributing
Contributions welcome. Please ensure:
No PII or internal infrastructure details in commits
Tests pass for confidentiality filtering
Documentation updated for new features
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lancejames221b/agent-hivemind'
If you have feedback or need assistance with the MCP directory API, please join our Discord server