One-click MCP installer for MemoryStack - connects your AI to persistent memory
npm install @memorystack/mcp-installerbash
One-click install with OAuth (recommended)
npx @memorystack/mcp-installer --client cursor --oauth
Or with existing API key
npx @memorystack/mcp-installer --client cursor --token ms_your_api_key
`
Supported Clients
| Client | Flag |
|--------|------|
| Cursor | --client cursor |
| Claude Desktop | --client claude_desktop |
| VSCode | --client vscode |
| Kiro | --client kiro |
| Cline | --client cline |
How It Works
1. Run the installer with --oauth
2. Browser opens for authentication
3. Login with your MemoryStack account
4. API key is automatically generated and saved
5. Restart your AI client - done!
Options
`
-c, --client AI client (cursor, claude_desktop, vscode, kiro, cline)
--oauth Use browser-based OAuth authentication (recommended)
--token Use existing API token instead of OAuth
--url Custom MemoryStack URL (default: https://memorystack.app)
-V, --version Output version number
-h, --help Display help
`
Config File Locations
The installer automatically writes to the correct config file:
- Cursor: ~/.cursor/mcp.json
- Claude Desktop (Mac): ~/Library/Application Support/Claude/claude_desktop_config.json
- Claude Desktop (Windows): %APPDATA%\Claude\claude_desktop_config.json
- Kiro: ~/.kiro/settings/mcp.json
- VSCode: .vscode/mcp.json (in current directory)
- Cline: ~/.cline/mcp.json
What Gets Installed
The installer adds this configuration to your MCP config:
`json
{
"mcpServers": {
"memorystack": {
"command": "npx",
"args": ["-y", "@memorystack/mcp-server@latest"],
"env": {
"MEMORYSTACK_API_KEY": "ms_...",
"MEMORYSTACK_BASE_URL": "https://memorystack.app"
}
}
}
}
`
Available MCP Tools
After installation, your AI will have access to:
- create_memory - Store new memories
- search_memories - Hybrid search (vector + text)
- list_memories - Browse memories with pagination
- get_memory - Get memory by ID
- update_memory - Update existing memory
- delete_memory - Delete a memory
- reflect_on_memories - Generate insights from patterns
- consolidate_memories - Merge similar memories
- get_memory_stats` - Usage statistics