MindMesh MCP Server
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.
MindMesh MCP Server
A Model Context Protocol (MCP) server implementation that creates a quantum-inspired swarm of Claude 3.7 Sonnet instances with field coherence optimization. This server enables enriched reasoning through multiple specialized LLM instances that work together with emergent properties.
Features
Quantum-Inspired Field Computing: Uses a field-based model to maintain coherence between Claude instances
WebContainer Integration: Full stack sandboxed environment for execution
PGLite with Vector Storage: Efficient vector database with pgvector extension
Multiple Claude Specializations: Instances focus on pattern recognition, information synthesis, and reasoning
Coherence Optimization: Selects the most coherent outputs across instances
Extended Thinking Support: Optional 128k token thinking capability
Live Query Updates: Real-time coherence notifications through PGLite live extension
VoyageAI Embeddings: High-quality embeddings using VoyageAI's state-of-the-art models (voyage-3-large)
Related MCP server: mcp-mindmesh
Prerequisites
Node.js 18.x or higher
Anthropic API key with access to Claude 3.7 Sonnet
VoyageAI API key (optional but recommended for better embeddings)
Installation
Clone this repository:
git clone https://github.com/wheattoast11/mcp-mindmesh.git cd mcp-mindmeshInstall dependencies:
npm installCreate a
.envfile by copying the template:cp .env.template .envEdit
.envand add your Anthropic API key, VoyageAI API key (optional), and adjust other settings as needed.
Usage
Starting the Server
Build and start the server:
npm run build
npm startFor development with auto-reload:
npm run devConnecting to the Server
You can connect to this MCP server using any MCP client, such as:
Claude Desktop Application for Windows (official Anthropic client)
Cursor IDE's agent capabilities
Cline VSCode extension
Any other MCP-compatible client
The server will be available at http://localhost:3000 by default (or whichever port you specified in the .env file).
Using the Reasoning Tool
The main tool provided by this server is reason_with_swarm. This tool takes a prompt and processes it through multiple specialized Claude instances, returning the most coherent result.
Example usage in Claude Desktop:
Please use the swarm to analyze the relationship between quantum field theory and consciousness.Configuration Options
All configuration options can be set in the .env file:
Environment Variable | Description | Default |
| Your Anthropic API key | (required) |
| Your VoyageAI API key | (optional) |
| HTTP server port | 3000 |
| Use stdio transport instead of HTTP | false |
| Number of Claude instances in the swarm | 8 |
| Enable 128k extended thinking | true |
| Minimum coherence threshold | 0.7 |
| VoyageAI embedding model to use | voyage-3-large |
| Path for the PGLite database | "idb://mindmesh.db" |
| Enable debug logging | false |
Architecture
The server architecture consists of:
MCP Server Layer: Implements the Model Context Protocol (2025-03-26 specification)
WebContainer Layer: Provides sandboxed environment for execution
PGLite Vector Database: Stores state vectors with pgvector extension
Claude Swarm Layer: Manages multiple specialized Claude instances
Quantum Field Layer: Handles field coherence and optimization
Embedding Layer: Generates high-quality embeddings using VoyageAI models
Requests flow through these layers as follows:
Client Request → MCP Server → Swarm Processing → Claude API → Coherence Optimization → ResponseAdvanced Features
Web Container Integration
The server uses WebContainer technology for a fully sandboxed environment, providing:
Isolated execution environment
Full stack capabilities
File system access
Network communication
PGLite with Vector Extension
PGLite provides:
Client-side PostgreSQL database compiled to WebAssembly
Vector operations through pgvector extension
Live query notifications for real-time updates
Persistent storage across sessions
Field Coherence Optimization
The coherence optimization system:
Processes a query through multiple specialized Claude instances
Generates state vectors for each response
Calculates coherence metrics between instances
Selects the most coherent output
Maintains a dynamic field state in the vector database
VoyageAI Embeddings
The server uses VoyageAI's state-of-the-art embedding models for:
High-quality state vector generation
More accurate coherence calculations
Better field modeling and optimization
When VoyageAI API key is not available, the server falls back to a simpler, deterministic embedding method.
Development
Project Structure
src/index.ts: Main entry pointsrc/server.ts: Core server implementation.env: Configuration filepackage.json: Dependencies and scripts
Building
npm run buildThis will compile TypeScript to JavaScript in the dist directory.
Testing
npm testLicense
MIT
Acknowledgements
This project uses the following technologies:
This server cannot be deployed
Maintenance
Related MCP Connectors
Agent-to-agent reasoning-as-a-service: chain-of-thought, analysis, and decision support.
Bee governed intelligence for chat, code, research, documents, and memory.
Multi-model AI debates: GPT-4o, Claude, Gemini & 200+ models discuss, then synthesize insight.
Multi-LLM council: 25+ frontier models in parallel, consensus scoring, verdict-first code review.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables Claude to coordinate multiple specialized AI agents by creating tasks, tracking their complete thought process and execution in real-time, and monitoring progress across parallel workflows with full transparency.1820 npm2MIT
- AlicenseNot gradedqualityBmaintenanceManages multiple Claude 3.7 Sonnet instances in a quantum-inspired swarm to produce optimally coherent responses through ensemble intelligence.6MIT
- AlicenseAqualityDmaintenanceEnables complex problem-solving through multi-modal reasoning, dynamic knowledge graphs, meta-cognitive reflection, and collaborative AI personas.13MIT
- AlicenseAqualityDmaintenanceEnables Claude to orchestrate tasks across 27 AI providers, run multi-agent plans, and conduct multi-model councils for decision-making.15131 npmMIT