Skip to main content

MIND Engine — Graph physics, traversal, client

Project description

mind-mcp

Mind Protocol MCP server and runtime for AI agents. Graph physics, traversal, structured dialogues.

Quick Start

# Clone and install
git clone https://github.com/mind-protocol/mind-mcp.git
cd mind-mcp
pip install -e .

# Initialize a project (defaults to FalkorDB)
mind init

This creates .runtime/ with:

  • Protocol docs (PRINCIPLES.md, FRAMEWORK.md)
  • Agent definitions, skills, procedures
  • Python runtime for physics, graph, traversal
  • Database config (graph name defaults to repo name)

Local Runtime

After mind init, projects can run mind locally without pip install:

PYTHONPATH=".mind:$PYTHONPATH" python3 my_script.py
# my_script.py
from mind.physics.constants import DECAY_RATE
from mind.connectome import ConnectomeRunner
from mind.infrastructure.database.factory import get_database_adapter

adapter = get_database_adapter()

CLI Commands

mind init [--database falkordb|neo4j]  # Initialize .runtime/ with runtime
mind status                             # Show status and modules
mind upgrade                            # Check for updates

Database Backends

Graph name defaults to repo name (e.g., my-projectmy_project).

FalkorDB (default, local)

mind init

# Start FalkorDB
docker run -p 6379:6379 falkordb/falkordb

Override graph name in .env:

FALKORDB_GRAPH=custom_name

Neo4j (cloud or local)

mind init --database neo4j

Configure in .env:

DATABASE_BACKEND=neo4j
NEO4J_URI=neo4j+s://xxx.databases.neo4j.io
NEO4J_USER=neo4j
NEO4J_PASSWORD=your_password
NEO4J_DATABASE=neo4j

See .env.mind.example for all options.

MCP Server

Claude Code

Add to .mcp.json in your project:

{
  "mcpServers": {
    "mind": {
      "command": "python3",
      "args": ["-m", "mcp.server"],
      "cwd": "/path/to/mind-mcp"
    }
  }
}

Available Tools

Tool Description
graph_query Semantic search across the graph
procedure_start Start a structured dialogue
procedure_continue Continue dialogue with answer
procedure_list List available dialogues
doctor_check Run health checks
agent_list List work agents
agent_spawn Spawn a work agent
task_list List pending tasks

Project Structure

.runtime/
├── PRINCIPLES.md          # How to work
├── FRAMEWORK.md           # Navigation guide
├── config.yaml            # Mind config
├── database_config.yaml   # Database settings
├── agents/                # Agent postures
├── skills/                # Executable capabilities
├── procedures/            # Structured dialogues
├── state/                 # SYNC files
└── runtime/                  # Python runtime
    ├── physics/           # Graph physics
    ├── graph/             # Graph operations
    ├── connectome/        # Dialogue runner
    ├── infrastructure/    # DB adapters
    └── traversal/         # Traversal logic

Requirements

  • Python 3.10+
  • Neo4j or FalkorDB
  • Optional: OpenAI API key (for embeddings)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mind_mcp-0.2.0.tar.gz (4.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mind_mcp-0.2.0-py3-none-any.whl (3.2 MB view details)

Uploaded Python 3

File details

Details for the file mind_mcp-0.2.0.tar.gz.

File metadata

  • Download URL: mind_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 4.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for mind_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 39519325944e92eb2817beb380f9c5810f2fcb317839f074cdde92bffb1a4cb0
MD5 e958994bf9d6d67faab73bb750bf6810
BLAKE2b-256 86aa69559fca24cff2348b653235247011f6e86e3208744d9ab5508c28c1b17d

See more details on using hashes here.

File details

Details for the file mind_mcp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: mind_mcp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for mind_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e432c44a309a4127bf55a23fef1cf0593642675e87d02079a5b97f97b8d83254
MD5 0ce0813cb2cdb04ecd4eec204983a505
BLAKE2b-256 2ed0dad3b954dd7e05b711bf0cc56d8f4efa3cd6681616a44f02dd55c2edb436

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page