Back to Integrations

Cline

Persistent memory for Cline (VS Code / JetBrains)

Cline supports MCP servers for extending AI capabilities. Add GrantAi to give Cline persistent memory across coding sessions.

1. Install GrantAi

Download and run the installer for your platform from the download page.

Go to Download Page

2. Open Cline MCP Settings

In VS Code or JetBrains, open the Cline extension:

  1. Click the MCP Servers icon in the Cline panel
  2. Select the Configure tab
  3. Click Configure MCP Servers at the bottom

This opens the cline_mcp_settings.json file.

macOS / Linux Configuration

Add GrantAi to your MCP settings. Replace YOUR_USERNAME with your username.

{
  "mcpServers": {
    "grantai": {
      "command": "/Users/YOUR_USERNAME/.grantai/bin/grantai-mcp",
      "args": [],
      "disabled": false
    }
  }
}

Windows Configuration

Windows uses a fixed installation path.

{
  "mcpServers": {
    "grantai": {
      "command": "C:\\GrantAi\\bin\\grantai-mcp.exe",
      "args": [],
      "disabled": false
    }
  }
}

Optional: Auto-Approve Memory Tools

By default, Cline will ask you to approve each MCP tool use. You can set Auto-Approve = Yes for GrantAi tools in the MCP Servers panel to allow autonomous memory operations.

Reload Window

After editing the config, reload your VS Code or JetBrains window. GrantAi memory tools will appear in the MCP Servers panel.

Official Documentation

For the latest MCP configuration options, check Cline's official documentation:

Cline MCP Documentation