# Substrate MCP server

> Provides a shared, editable memory layer that allows AI agents to recall decisions, preferences, and project context across different platforms.

- Repository: https://github.com/Substrate-memory/Substrate-memory-plugins
- Page: https://hostedmcp.org/servers/substrate-memory/substrate-memory-plugins
- Transport: remote
- Stars: 0
- License: MIT
- Latest version: 0.11.4

## Install

### Claude Code

```sh
claude mcp add --transport http substrate-memory-plugins https://app.trysubstrate.co/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "substrate-memory-plugins": {
      "url": "https://app.trysubstrate.co/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "substrate-memory-plugins": {
      "type": "http",
      "url": "https://app.trysubstrate.co/mcp"
    }
  }
}
```

### Codex (`~/.codex/config.toml`)

```toml
[mcp_servers.substrate-memory-plugins]
url = "https://app.trysubstrate.co/mcp"
```

### Gemini CLI (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "substrate-memory-plugins": {
      "httpUrl": "https://app.trysubstrate.co/mcp"
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `UV_PROJECT_ENVIRONMENT` | no | no |  |

## FAQ

### Do I need an API key?

No, you simply sign in through your browser and approve the connection without needing to copy or paste any keys.

### How do I know if the server is successfully connected?

The agent performs an authenticated memory smoke test; it is only considered connected once a memory search succeeds.

### What information is sent to Substrate?

The server receives redacted completed turns, including user messages, assistant answers, and bounded tool calls and results.

### Can I import my previous chat history?

Yes, after connecting, the agent can offer to import past conversations from your computer with your explicit confirmation.
