Back to Integrations

Claude Desktop

Persistent memory for the Claude app

Add GrantAi to Claude Desktop by editing the configuration file. Choose the setup method that matches your platform.

Config File Location

macOS~/Library/Application Support/Claude/claude_desktop_config.json
Windows%APPDATA%\Claude\claude_desktop_config.json

macOS Setup

After installing GrantAi, add this to your config file. Replace YOUR_USERNAME with your macOS username.

{
  "mcpServers": {
    "grantai": {
      "command": "/Users/YOUR_USERNAME/.grantai/bin/grantai-mcp"
    }
  }
}

Windows Setup

Windows uses a fixed installation path at C:\GrantAi.

{
  "mcpServers": {
    "grantai": {
      "command": "C:\\GrantAi\\bin\\grantai-mcp.exe"
    }
  }
}

Docker Setup (Any Platform)

Use Docker for a containerized setup. Replace YOUR_LICENSE_KEY with your license key.

{
  "mcpServers": {
    "grantai": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm", "--pull", "always",
        "-v", "grantai-data:/data",
        "-e", "GRANTAI_LICENSE_KEY=YOUR_LICENSE_KEY",
        "ghcr.io/solonai-com/grantai-memory:latest"
      ]
    }
  }
}

Restart Claude Desktop

After editing the config file, fully quit and restart Claude Desktop. GrantAi tools will then be available in your conversations.