MCP is an open protocol that standardizes how AI applications connect to external tools and data sources. Learn more about MCP.
Supported Clients
Claude Code
Anthropic’s CLI coding assistant
Cursor
AI-powered code editor
Claude Desktop
Claude desktop application
Quick Start
Option 1: Self-Hosted (Open Source)
If you’re running your own Ryumem server:1
Start Your Ryumem Server
Make sure your Ryumem server is running (see Setup Guide):
2
Install MCP Server
3
Restart Your Client
Restart Claude Code, Cursor, or Claude Desktop to load the new configuration.
Option 2: Ryumem Cloud
For hosted Ryumem service with GitHub authentication:Manual Configuration
If you prefer manual setup, add to your configuration file: Configuration file locations:- Claude Code:
~/.claude.json - Cursor:
~/.cursor/mcp.json - Claude Desktop (macOS):
~/Library/Application Support/Claude/claude_desktop_config.json - Claude Desktop (Windows):
%APPDATA%\Claude\claude_desktop_config.json - Claude Desktop (Linux):
~/.config/Claude/claude_desktop_config.json
CLI Options
| Option | Description |
|---|---|
--oauth | Authenticate via GitHub OAuth (for hosted service) |
--api-key <key> | Use a specific API key |
--api-url <url> | Custom API URL (default: https://api.ryumem.io) |
--client <name> | Target client: claude-code (default), cursor, or claude-desktop |
Uninstall
Available Tools
The MCP server provides the following tools to AI agents:| Tool | Description |
|---|---|
search_memory | Multi-strategy semantic search across the knowledge graph |
add_episode | Save new episodic memory |
get_entity_context | Retrieve entity details and relationships |
list_episodes | Paginated episode listing with filters |
get_episode | Retrieve specific episode by UUID |
update_episode_metadata | Update metadata on existing episode |
prune_memories | Clean up old or redundant memories |
Cursor Configuration
Cursor’s MCP implementation doesn’t automatically load server instructions. To enable Ryumem’s memory-first behavior, add the following to your project’s.cursorrules file:
How It Works
Once configured, your AI coding assistant will:- Search memory before starting tasks to retrieve relevant context
- Store important information like code patterns, decisions, and preferences
- Build a knowledge graph of entities and relationships in your codebase
- Learn from past sessions to provide more contextual assistance
Example Workflow
After setting up the MCP server, your AI assistant will automatically:- At conversation start: Search for project context, preferences, and recent decisions
- When reading files: Check if summaries exist before reading full content
- When making decisions: Store architectural decisions and trade-offs
- When learning preferences: Remember your coding style and tool preferences
Troubleshooting
MCP server not loading
MCP server not loading
- Verify the configuration file path is correct for your client
- Check that
npx @predictable/ryumem-mcp-serverruns without errors - Restart your AI client after configuration changes
Authentication errors
Authentication errors
- Verify your API key is correct (should start with
ryu_) - For self-hosted, ensure the API URL is accessible
- Check server logs for authentication errors
Memory not persisting
Memory not persisting
- Verify your Ryumem server is running and accessible
- Check the
user_idbeing used (usually derived from project name) - Use the dashboard to verify episodes are being stored