Back to Integrations

OpenClaw

Persistent memory for OpenClaw agents

OpenClaw works with MCP servers via mcporter. Add GrantAi to give your OpenClaw agent memory that persists 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. Install mcporter

mcporter connects MCP tools to OpenClaw.

npm install -g mcporter

3. Register GrantAi

Add GrantAi as an MCP server in mcporter.

mcporter config add grantai --command ~/.grantai/bin/grantai-mcp

4. Verify

Check that GrantAi tools are available.

mcporter list grantai --schema

Docker Alternative

Use Docker instead of a native install. Replace YOUR_KEY with your license key.

mcporter config add grantai --command "docker run -i --rm --pull always -v grantai-data:/data -e GRANTAI_LICENSE_KEY=YOUR_KEY ghcr.io/solonai-com/grantai-memory:1.8.5"

Available Tools

grantai_inferQuery memory for relevant context
grantai_teachStore facts and information
grantai_learnImport files and codebases
grantai_summarizeSave session summaries
grantai_projectTrack project state
grantai_snippetSave code patterns

Ready to Go

Your OpenClaw agent now has persistent memory. Information stored with GrantAi will be recalled across sessions.