Skip to main content

Connect Commands

Integrate MEMANTO with external tools and IDE plugins.

Overview

Connect MEMANTO to various AI coding assistants and IDEs to enable memory-aware development. Supported Tools:
  • Claude Code
  • Codex
  • Cursor
  • Windsurf
  • Antigravity
  • Gemini CLI
  • Cline
  • Continue
  • OpenCode
  • Goose
  • Roo
  • GitHub Copilot
  • Augment

memanto connect claude-code

Connect MEMANTO to Claude Code.
memanto connect claude-code [OPTIONS]
Options:
  • -g, --global - Install globally
  • -f, --force - Force reinstall
Examples: Install locally (project):
memanto connect claude-code
Install globally (system-wide):
memanto connect claude-code --global
Force reinstall:
memanto connect claude-code --force
Output:
✓ MEMANTO connected to Claude Code
  Scope: Local
  Path: /project/.claude/memanto
  Status: Ready to use

Claude Code will now have access to:
- All agent memories
- Memory recall functions
- Daily summaries

memanto connect cursor

Connect MEMANTO to Cursor IDE.
memanto connect cursor [OPTIONS]
Options:
  • -g, --global - Install globally
  • -f, --force - Force reinstall
Examples:
memanto connect cursor
memanto connect cursor --global

memanto connect windsurf

Connect MEMANTO to Windsurf IDE.
memanto connect windsurf [OPTIONS]
Examples:
memanto connect windsurf
memanto connect windsurf --global

memanto connect cline

Connect MEMANTO to Cline extension.
memanto connect cline [OPTIONS]
Examples:
memanto connect cline

memanto connect continue

Connect MEMANTO to Continue extension.
memanto connect continue [OPTIONS]
Examples:
memanto connect continue

memanto connect codex

Connect MEMANTO to Codex IDE.
memanto connect codex [OPTIONS]
Examples:
memanto connect codex

memanto connect gemini-cli

Connect MEMANTO to Gemini CLI.
memanto connect gemini-cli [OPTIONS]
Examples:
memanto connect gemini-cli

memanto connect opencode

Connect MEMANTO to OpenCode.
memanto connect opencode [OPTIONS]
Examples:
memanto connect opencode

memanto connect goose

Connect MEMANTO to Goose IDE.
memanto connect goose [OPTIONS]
Examples:
memanto connect goose

memanto connect roo

Connect MEMANTO to Roo IDE.
memanto connect roo [OPTIONS]
Examples:
memanto connect roo

memanto connect github-copilot

Connect MEMANTO to GitHub Copilot.
memanto connect github-copilot [OPTIONS]
Examples:
memanto connect github-copilot

memanto connect antigravity

Connect MEMANTO to Antigravity IDE.
memanto connect antigravity [OPTIONS]
Examples:
memanto connect antigravity

memanto connect augment

Connect MEMANTO to Augment IDE.
memanto connect augment [OPTIONS]
Examples:
memanto connect augment

memanto connect list

List all connected integrations.
memanto connect list [OPTIONS]
Options:
  • -g, --global - Show global connections
  • -l, --local - Show local connections (default)
Examples: List local connections:
memanto connect list
List global connections:
memanto connect list --global
Output:
Connected Integrations

LOCAL SCOPE:
├── Claude Code    [✓ Connected]  ~/.claude/memanto
├── Cursor         [✗ Not connected]
└── Windsurf       [✓ Connected]  ~/.windsurf/memanto

GLOBAL SCOPE:
├── GitHub Copilot [✓ Connected]
└── Continue       [✓ Connected]

memanto connect remove

Disconnect an integration.
memanto connect remove TOOL [OPTIONS]
Arguments:
  • TOOL - Tool name (required)
Options:
  • -g, --global - Remove global connection
  • -f, --force - Skip confirmation
Examples: Remove local connection:
memanto connect remove claude-code
Remove global connection:
memanto connect remove cursor --global
Force remove:
memanto connect remove windsurf --force
Output:
✓ MEMANTO disconnected from Claude Code
  Scope: Local
  Status: Removed

memanto connect multi

Connect MEMANTO to multiple tools at once.
memanto connect multi [OPTIONS]
Options:
  • -g, --global - Install globally
  • --tools TEXT - Comma-separated tool list
Examples: Interactive selection:
memanto connect multi
Prompts to choose tools:
Select tools to connect (press Space to toggle, Enter to confirm):
  [✓] Claude Code
  [ ] Cursor
  [✓] Windsurf
  [ ] Cline
Specified tools:
memanto connect multi --tools claude-code,cursor,windsurf
Global installation:
memanto connect multi --global
Output:
✓ Connected to 3 tools
  Claude Code:  ✓ Local
  Cursor:       ✓ Global
  Windsurf:     ✓ Local

All tools now have access to MEMANTO

IDE Integration Features

Once connected, tools can:

Store Memories

Tools can save code context, decisions, and learnings:
Claude Code → MEMANTO → Store: "User prefers TypeScript"

Recall Context

Tools retrieve relevant previous conversations:
Claude Code → MEMANTO → Recall: Previous project setup

Access Memory APIs

Full API access for programmatic memory operations.

Use Agent Sessions

Connected tools share the same agent session.

Workflow: Setup IDE Integration

# 1. Create agent for development
memanto agent create dev-assistant

# 2. Activate session
memanto agent activate dev-assistant

# 3. Connect Claude Code
memanto connect claude-code

# 4. Claude Code now has access to dev-assistant memories
# Store code decisions, preferences, etc.

# 5. Check connections
memanto connect list

# 6. Store initial context
memanto remember "Project uses TypeScript and React" --type fact
memanto remember "API follows REST conventions" --type instruction

# 7. Now Claude Code can recall and use these memories

Scope: Local vs Global

Local Scope

memanto connect claude-code
# Installs in: project/.claude/memanto
# Only accessible in this project

Global Scope

memanto connect claude-code --global
# Installs system-wide
# Accessible in all projects
Choose local for:
  • Project-specific memory
  • Isolated development
  • Testing
Choose global for:
  • Shared across projects
  • Organization-wide context
  • System-wide tools

Troubleshooting

Connection Failed

# Try force reinstall
memanto connect claude-code --force

# Check file permissions
ls -la ~/.claude/memanto

# Verify API key
memanto config show

Tool Not Found

# Verify tool is installed
which claude-code
which cursor

# Install tool if needed
# Then try connecting again

Can’t Remove

# Force removal
memanto connect remove claude-code --force

# Or manually delete
rm -rf ~/.claude/memanto

Next Steps