Setup Guides

Connect Memstate to your AI agent in 30 seconds. Pick your agent below for a step-by-step guide with exact config paths and copy-paste snippets.

One-liner setup (auto-detects your agents)

npx @memstate/mcp setup

Detects installed agents, writes the MCP config automatically, and opens your browser to create an API key. Or follow a manual guide below.

Universal MCP Config

Any MCP-compatible agent uses this same JSON snippet. Just add it to your agent's config file.

{
  "mcpServers": {
    "memstate": {
      "command": "npx",
      "args": ["-y", "@memstate/mcp"],
      "env": {
        "MEMSTATE_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

Get your API key from the dashboard. No local installation required — npx handles it automatically.