SUBSTRATE MCP Server

Persistent AI entity framework with causal memory, emotional state, and identity.

Local serverstdio

What is the SUBSTRATE MCP server?

SUBSTRATE MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Persistent AI entity framework with causal memory, emotional state, and identity.

What you get

SUBSTRATE gives AI entities real cognitive infrastructure — not just a prompt, but a living architecture with 94 cognitive layers including episodic memory, value systems, emotional affect, theory of mind, and narrative identity.

What the assistant can call

Once SUBSTRATE is connected, these are the calls the assistant has available:

  • Category — Tools
  • Core — respond, reflect
  • Memory — memory_stats, memory_search, knowledge_graph_query, hybrid_search
  • Cognition — get_values, get_narrative, get_personality, theory_of_mind, metacognition, get_uncertainty
  • Emotion — get_emotion_state, emotion_trace
  • Identity — verify_identity, get_trust_state, get_provenance
  • Planning — goap_plan, get_prospective_memory, bootstrap_domain
  • Analysis — get_state_key, get_coherence, list_layers, causal_reason, get_observability, evaluate
  • Reasoning — detect_fallacies, detect_isomorphisms, summarize

Configuration and credentials

You will need one environment variable: YOUR_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Setting it up

Installation goes through your MCP client rather than a global install: point it at @garmolabs/substrate-mcp on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Choosing this one

This sits in the knowledge and memory group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. SUBSTRATE's toolset — Category, Core, Memory and 6 more — is a fair guide to whether it matches your workflow. It is maintained by PKaldone; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against SUBSTRATE's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 9 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch SUBSTRATE.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the substrate mcp server does with a few real requests.

Available tools

ToolWhat it does
CategoryTools
Corerespond, reflect
Memorymemory_stats, memory_search, knowledge_graph_query, hybrid_search
Cognitionget_values, get_narrative, get_personality, theory_of_mind, metacognition, get_uncertainty
Emotionget_emotion_state, emotion_trace
Identityverify_identity, get_trust_state, get_provenance
Planninggoap_plan, get_prospective_memory, bootstrap_domain
Analysisget_state_key, get_coherence, list_layers, causal_reason, get_observability, evaluate
Reasoningdetect_fallacies, detect_isomorphisms, summarize

How to install the SUBSTRATE MCP server

{
  "mcpServers": {
    "substrate": {
      "command": "npx",
      "args": ["-y", "@garmolabs/substrate-mcp"],
      "env": {
        "YOUR_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
YOUR_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use SUBSTRATE to Category.
  • Use SUBSTRATE to Core.
  • Use SUBSTRATE to Memory.

Frequently asked questions

It connects SUBSTRATE to MCP-compatible AI assistants such as Claude and Cursor, exposing 9 tools (Category, Core, Memory, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with SUBSTRATE directly.