RushDB MCP Server
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@RushDB MCP ServerRemember that we chose Clerk over Auth0 for authentication."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
RushDB MCP Server
Give your agent a memory layer. Via MCP.
Connect RushDB to any MCP-compatible AI client and your agent gains persistent, structured memory — semantically searchable and graph-traversable, without managing embeddings or schemas.
Works with ChatGPT, Claude.ai, Claude Desktop, Cursor, Windsurf, Gemini CLI, and any MCP-compatible tool.
Two ways to connect
Remote OAuth (no installation)
For ChatGPT, Claude.ai, and other web-based AI clients — connect directly without installing anything locally:
MCP endpoint: https://mcp.rushdb.com/mcp
Your client redirects to RushDB for OAuth sign-in and receives a scoped token. No API key setup required.
ChatGPT:
Go to Settings → Connectors → Add connector
Enter
https://mcp.rushdb.com/mcpSign in with your RushDB account
Claude.ai:
Go to Settings → Integrations → Add integration
Enter
https://mcp.rushdb.com/mcpAuthorize with your RushDB account
Local (API key)
For Claude Desktop, Cursor, Windsurf, VS Code, and other stdio MCP clients:
1. Get an API key at app.rushdb.com
2. Add to your MCP client config:
{
"mcpServers": {
"rushdb": {
"command": "npx",
"args": ["@rushdb/mcp-server"],
"env": {
"RUSHDB_API_KEY": "your-api-key-here"
}
}
}
}Place this in:
Claude Desktop —
~/Library/Application Support/Claude/claude_desktop_config.jsonCursor — MCP settings in the Cursor config panel
Windsurf —
~/.codeium/windsurf/mcp_config.json
3. That's it. The agent now has 13 tools for storing, querying, and traversing structured memory.
RUSHDB_API_URLis optional and defaults tohttps://api.rushdb.com/api/v1. Override for self-hosted or staging environments.
Related MCP server: Memory Nexus MCP
What an agent can do
After connecting, ask Claude or your agent naturally:
"Remember that we decided to use Clerk for auth, replacing Auth0, on 2026-04-10."
The agent calls CreateRecord to store a structured memory. Later:
"What auth decisions have we made?"
The agent calls FindRecords with a semantic query — no manual searching required.
"Show me everything related to our auth system."
The agent calls FindRelationships to traverse the graph of connected records.
Available tools
Discovery
Tool | What it does |
| List record labels and record counts |
| List properties across labels |
| Search relationships between records |
Records
Tool | What it does |
| Store a new record |
| Retrieve a record by ID |
| Update an existing record |
| Delete a record by ID |
| Search records by properties, relationships, or semantic query |
| Create multiple records at once |
| Delete records matching a query |
Relationships
Tool | What it does |
| Create a relationship between two records |
| Remove a relationship |
| List inferred relationship patterns and analysis status |
| Queue schema analysis for relationship suggestions |
| Approve and apply a suggested pattern |
| Ignore a suggested pattern |
| Delete a saved pattern and optionally its materialized relationships |
Utilities
Tool | What it does |
| Export records to CSV |
| Get setup instructions for your MCP client |
| Returns the built-in query builder system prompt (fallback for clients without MCP Prompts support) |
Built-in query builder prompt
RushDB exposes a system prompt via the MCP Prompts API that teaches the agent to query safely — discover labels and properties first, then construct queries.
How it works:
Client calls
ListPrompts→ findsrushdb.queryBuilderClient calls
GetPrompt→ injects it as the session system messageAgent now does discovery-first queries automatically
Most MCP clients handle this at session start. If your client doesn't support MCP Prompts, call GetQueryBuilderPrompt and inject the result as your system message.
Environment variables
These apply to local (API key) mode only. Remote OAuth connections do not use environment variables.
Variable | Required | Description |
| yes | Your RushDB API key |
| no | API base URL (default: |
Registry & autodiscovery
mcp.yamlat the repo root enables autodiscovery by MCP registriespackages/mcp-server/glama.jsoncontains Glama metadataPackage:
@rushdb/mcp-server, command:npx
Development
git clone https://github.com/rush-db/rushdb
cd rushdb/packages/mcp-server
npm install
npm run buildTroubleshooting: rushdb-mcp: command not found / MCP error -32000
This only happens when the MCP client launches the server with a working directory inside this monorepo (e.g. an .mcp.json at the repo root used by Claude Code / Cursor). @rushdb/mcp-server is a pnpm workspace package here, so any unversioned npx @rushdb/mcp-server (even with -p) resolves to the local workspace copy whose rushdb-mcp bin isn't linked in node_modules/.bin. The process exits before the MCP handshake, which the client reports as -32000.
The published package is unaffected — the config above works as-is outside the repo. To run from inside the monorepo, pin a version so npx fetches from the registry instead of resolving the workspace package:
{
"mcpServers": {
"rushdb": {
"command": "npx",
"args": ["-y", "-p", "@rushdb/mcp-server@latest", "rushdb-mcp"],
"env": { "RUSHDB_API_KEY": "your-api-key-here" }
}
}
}Alternatively, run the local build directly (uses your in-repo code, must be built first with npm run build):
{
"mcpServers": {
"rushdb": {
"command": "node",
"args": ["packages/mcp-server/build/index.js"],
"env": { "RUSHDB_API_KEY": "your-api-key-here" }
}
}
}License
Apache 2.0
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent memory for AI agents. Search and store durable facts, preferences and decisions.
Persistent memory for AI agents. Semantic search, memory graph, W3C DID identity.
Universal memory for AI agents and tools. Save, organize and search context anywhere.
Hosted persistent memory with semantic search, importance and TTL for AI agents.
Related MCP Servers
AlicenseAqualityDmaintenanceProvides persistent long-term memory for AI agents through semantic search and automated knowledge graph extraction. It enables agents to store, recall, and reason over facts, preferences, and relationships across multiple conversations and sessions.1414 npmMIT- AlicenseAqualityDmaintenanceEnables AI agents with persistent semantic memory, including semantic recall, knowledge graphs, and instant domain expertise via pre-built Intelligence Packs.1046 npmMIT
- AlicenseAqualityAmaintenanceProvides persistent, searchable memory for AI agents, enabling them to retain, recall, and reflect on information across conversations.191MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to maintain persistent, local memory with retrieval-augmented search, knowledge graphs, and context surfacing, without any cloud dependencies.31 npmMIT