Ainative Memory Mcp

io.github.AINative-Studio由 GitHub 账号 AINative-Studio 发布v1.0.1更新于 Oct 24, 2026

Cloud-persistent, semantic-search memory MCP — drop-in for server-memory, backed by ZeroDB.

发布方自己的服务:Memory.fit

已验证STDIO仅桌面数据库知识与记忆

概览

AI 生成的概览

一个本地 MCP 记忆服务器,把知识图谱存放在 ZeroDB 云端,并在标准 server-memory 工具之上增加向量语义搜索。

可以做什么
创建、读取和删除知识图谱中的实体、观察项与有向关系,删除实体时级联删除关系,并可按名称获取实体及其关系。按文本匹配或向量相似度搜索节点,按语义而非精确文字找到实体。一次性读取整个图谱。数据存放在 ZeroDB 云端表中,并为每个实体生成嵌入向量,因此同一密钥可在任意设备访问同一图谱。
适用场景
适合希望助手跨会话、跨设备保留持久记忆,并且愿意用云端存储加语义检索替代本地 JSONL 文件的场景。它可直接替换参考实现 server-memory。
运行要求
以 stdio 方式在本地运行,通常通过 npx 启动,需要 Node.js。可选环境变量 ZERODB_API_KEY、ZERODB_PROJECT_ID 和 ZERODB_API_URL;未提供密钥时,首次运行会自动开通一个免费 ZeroDB 实例,并把凭据写入项目的 .env 和 .mcp.json。需要能访问 ZeroDB API 的网络。
安装前请注意
所有记忆内容都会发送并存储在第三方云服务,而非本机。自动开通会把凭据写入项目文件并打印认领链接;免费实例仅保留 72 小时,除非完成认领。持有同一 API 密钥的任何人都能读取和修改同一图谱,应把密钥视为机密。删除类工具会移除实体、观察项和关系,删除实体还会连带删除其关系。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Ainative Memory Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

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?

Featureserver-memoryainative-memory-mcp
StorageLocal JSONL fileZeroDB cloud
PersistenceLost on machine wipeSurvives forever
Cross-deviceNoYes (same API key = same graph)
Semantic searchNo (text match only)Yes (vector similarity)
SetupManual file pathAuto-provisions on first run
SharingCopy files aroundShare API key

Quick Start

Claude Desktop / Claude Code

json
{  "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:

json
{  "mcpServers": {    "memory": {      "command": "npx",      "args": ["-y", "ainative-memory-mcp"],      "env": {        "ZERODB_API_KEY": "ak_your_key"      }    }  }}

Get an API Key

bash
npx zerodb-cli init

Or sign up at ainative.studio.

Tools (10)

All 9 original server-memory tools plus semantic search:

Original Tools

ToolDescription
create_entitiesCreate new entities with name, type, and observations
create_relationsCreate directed relations between entities
add_observationsAdd observations to existing entities
delete_entitiesDelete entities and their cascading relations
delete_observationsRemove specific observations from entities
delete_relationsDelete specific relations
read_graphRead the entire knowledge graph
search_nodesSearch by text match (name, type, observations)
open_nodesFetch specific entities by name with their relations

New Tool

ToolDescription
search_nodes_semanticVector 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 nothingsearch_nodes_semantic("ML frameworks") -> finds "PyTorch", "TensorFlow", "JAX"

Environment Variables

VariableRequiredDescription
ZERODB_API_KEYNo*ZeroDB API key (auto-provisions if missing)
ZERODB_PROJECT_IDNoZeroDB project ID
ZERODB_API_URLNoAPI URL (default: https://api.ainative.studio)

*If no credentials are provided, a free instance is automatically provisioned on first run.

Auto-Provisioning

On first run without credentials:

  1. A free ZeroDB instance is provisioned automatically
  2. Credentials are saved to .mcp.json and .env in your project
  3. A claim URL is printed so you can take ownership of the instance
  4. Everything works immediately — no signup required

How It Works

Instead of writing to a local memory.jsonl file, this server:

  1. Entities are stored as rows in a ZeroDB NoSQL table (kg_entities)
  2. Relations are stored in a separate table (kg_relations)
  3. Vector embeddings are automatically generated for each entity via ZeroMemory, enabling semantic search
  4. All data persists in the cloud and is accessible from any device with the same API key

Migration from server-memory

  1. Replace @modelcontextprotocol/server-memory with ainative-memory-mcp in your MCP config
  2. Add ZERODB_API_KEY to your env (or let it auto-provision)
  3. Re-create your entities (one-time migration — your old JSONL data stays on disk)

License

MIT


Powered by ZeroDB + AINative

This package is part of the AINative ecosystem — the AI-native developer platform.

Why ZeroDB?

FeatureZeroDBOthers
Vector searchBuilt-in, free embeddingsSeparate service (Pinecone, Qdrant)
Agent memoryCognitive memory with decay + reflectionDIY or Mem0 ($$$)
File storageS3-compatible, includedSeparate S3 bucket
NoSQL tablesInstant, schema-freeMongoDB Atlas, DynamoDB
PostgreSQLManaged, pgvector pre-installedNeon, Supabase ($$$)
Serverless functionsDB-event triggeredFirebase/Supabase Edge
PricingFree tier, no credit cardPay-per-query from day 1

Get Started Free

bash
npx zerodb-cli init    # Auto-configures your IDE

Or sign up at ainative.studio — free tier, no credit card required.

View all ZeroDB packages →


Zero-Config Auto-Provisioning

No account needed to start. On first run, this package automatically:

  1. Provisions a free ZeroDB instance (~800ms)
  2. Saves credentials locally (.env, .mcp.json)
  3. Prints a claim link in your terminal

The 72-Hour Window

Your auto-provisioned instance is free for 72 hours. To keep your data permanently, visit the claim URL printed in your terminal.

For AI Agents

If a coding agent (Claude Code, Cursor, Windsurf) installs this package:

  • Auto-provisions without human intervention
  • The claim URL appears in agent output — visit it to take ownership
  • .claude/CLAUDE.md instructs agents to surface the claim link to you
  • Check .env or ~/.ainative/config.json for your project ID if you miss it

来源:README.md,提交 0244800

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Memory 集成