Skip to main content

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-project → my_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

Metadata

Release files for mind-mcp 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mind-mcp 0.2.0
File Size Uploaded Provenance
mind_mcp-0.2.0.tar.gz 4.0 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mind-mcp 0.2.0
File Interpreter ABI Platform
mind_mcp-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.2 MB

Release files / mind_mcp-0.2.0.tar.gz

Download URL mind_mcp-0.2.0.tar.gz
Size 4.0 MB
Tags Source
SHA-256 checksum
How to use checksums
39519325944e92eb2817beb380f9c5810f2fcb317839f074cdde92bffb1a4cb0
BLAKE2b-256 checksum
How to use checksums
86aa69559fca24cff2348b653235247011f6e86e3208744d9ab5508c28c1b17d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / mind_mcp-0.2.0-py3-none-any.whl

Download URL mind_mcp-0.2.0-py3-none-any.whl
Size 3.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e432c44a309a4127bf55a23fef1cf0593642675e87d02079a5b97f97b8d83254
BLAKE2b-256 checksum
How to use checksums
2ed0dad3b954dd7e05b711bf0cc56d8f4efa3cd6681616a44f02dd55c2edb436
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Security for mind-mcp 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page