Back to Integrations

Cursor

Persistent memory for Cursor IDE

Cursor supports MCP servers through its configuration file. Add GrantAi to give your Cursor AI persistent memory across sessions.

1. Install GrantAi

Download and run the installer for your platform.

# Download from solonai.com/grantai/download
unzip grantai-*.zip
./install.sh your@email.com

2. Open Cursor MCP Settings

In Cursor, open Settings and navigate to the MCP configuration section, or edit the config file directly:

macOS~/.cursor/mcp.json
Windows%USERPROFILE%\.cursor\mcp.json

macOS Configuration

Add this to your MCP config. Replace YOUR_USERNAME with your macOS username.

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

Windows Configuration

Windows uses a fixed installation path.

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

Restart Cursor

After editing the config, restart Cursor. GrantAi memory tools will be available when using Cursor's AI features.