ainative-memory-mcp
OfficialClick on "Install 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., "@ainative-memory-mcpRemember that my birthday is June 5th"
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.
ainative-memory-mcp
Enhanced MCP knowledge graph memory server with cloud persistence and semantic search. Drop-in replacement for @modelcontextprotocol/server-memory.
Why this instead of server-memory?
Feature | server-memory | ainative-memory-mcp |
Storage | Local JSONL file | ZeroDB cloud |
Persistence | Lost on machine wipe | Survives forever |
Cross-device | No | Yes (same API key = same graph) |
Semantic search | No (text match only) | Yes (vector similarity) |
Setup | Manual file path | Auto-provisions on first run |
Sharing | Copy files around | Share API key |
Related MCP server: MCP Memory
Quick Start
Claude Desktop / Claude Code
{
"mcpServers": {
"memory": {
"command": "npx",
"args": ["-y", "ainative-memory-mcp"],
"env": {
"ZERODB_API_KEY": "ak_your_key"
}
}
}
}No API key? Just omit it — a free ZeroDB instance is auto-provisioned on first run.
Cursor / Windsurf / VS Code
Same config in your .mcp.json:
{
"mcpServers": {
"memory": {
"command": "npx",
"args": ["-y", "ainative-memory-mcp"],
"env": {
"ZERODB_API_KEY": "ak_your_key"
}
}
}
}Get an API Key
npx zerodb-cli initOr sign up at ainative.studio.
Tools (10)
All 9 original server-memory tools plus semantic search:
Original Tools
Tool | Description |
| Create new entities with name, type, and observations |
| Create directed relations between entities |
| Add observations to existing entities |
| Delete entities and their cascading relations |
| Remove specific observations from entities |
| Delete specific relations |
| Read the entire knowledge graph |
| Search by text match (name, type, observations) |
| Fetch specific entities by name with their relations |
New Tool
Tool | Description |
| Vector similarity search — find entities by meaning, not just exact text |
Semantic Search Example
The original search_nodes only finds exact text matches. search_nodes_semantic understands meaning:
search_nodes("ML frameworks") -> might find nothing
search_nodes_semantic("ML frameworks") -> finds "PyTorch", "TensorFlow", "JAX"Environment Variables
Variable | Required | Description |
| No* | ZeroDB API key (auto-provisions if missing) |
| No | ZeroDB project ID |
| No | API URL (default: |
*If no credentials are provided, a free instance is automatically provisioned on first run.
Auto-Provisioning
On first run without credentials:
A free ZeroDB instance is provisioned automatically
Credentials are saved to
.mcp.jsonand.envin your projectA claim URL is printed so you can take ownership of the instance
Everything works immediately — no signup required
How It Works
Instead of writing to a local memory.jsonl file, this server:
Entities are stored as rows in a ZeroDB NoSQL table (
kg_entities)Relations are stored in a separate table (
kg_relations)Vector embeddings are automatically generated for each entity via ZeroMemory, enabling semantic search
All data persists in the cloud and is accessible from any device with the same API key
Migration from server-memory
Replace
@modelcontextprotocol/server-memorywithainative-memory-mcpin your MCP configAdd
ZERODB_API_KEYto your env (or let it auto-provision)Re-create your entities (one-time migration — your old JSONL data stays on disk)
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AINative-Studio/ainative-memory-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server