原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Ainative Zerodb Memory MCP

作者:AINative-Studio版本 1.2.7i★ –i在你的电脑上运行
注册名称io.github.AINative-Studio/ainative-zerodb-memory-mcp

安装

概览

作者提供的说明(英文原文)

ZeroDB agent-memory MCP — 18 tools: memory + write-back to Slack, Gmail, Calendar, GitHub.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 搜索与 AI 记忆

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "ainative-zerodb-memory": {
      "command": "npx",
      "args": [
        "-y",
        "ainative-zerodb-memory-mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add ainative-zerodb-memory -- npx -y ainative-zerodb-memory-mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "ainative-zerodb-memory": {
      "command": "npx",
      "args": [
        "-y",
        "ainative-zerodb-memory-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "ainative-zerodb-memory": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ainative-zerodb-memory-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 AINative-Studio 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 7266 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 7266 个服务器的 27% 更新
  • 基础检查结果等于或优于此分类中其他 7266 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Ainative Zerodb Memory MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.2.7)于3个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT昨天更新
安装

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

在你的电脑上运行★ 48,148MIT21天前更新
安装

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

在云端运行★ 5,213MIT上个月更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

ZeroDB Agent Memory MCP Server

Persistent Memory for AI Agents

Optimized MCP server providing 14 tools for agent memory management, context synthesis, auto-context middleware, and write-back actions to external services.

Why This MCP?

Before: Monolithic server with 77 tools consuming 10,400+ tokens After: Focused server with 14 tools consuming ~1,400 tokens Result: 87% reduction in context footprint, faster agent decisions, better accuracy

Key Features

Smart Context Management
  • Automatic token limiting - Never exceed LLM context windows
  • Intelligent pruning - Keep important and recent memories
  • Memory decay - Old memories naturally fade over time
  • Importance scoring - Automatically rank memory significance
Semantic Memory
  • Vector embeddings - BAAI BGE models (384, 768, 1024 dimensions)
  • Semantic search - Find by meaning, not just keywords
  • Cross-session memory - Remember across conversations
  • Auto-embedding - No manual embedding required
Universal Compatibility
  • ZeroLocal - localhost:8000 (fast, free, private)
  • ZeroDB Cloud - api.ainative.studio (scalable, managed)
  • Auto-detection - Automatically finds available endpoint

Installation

# Clone repository

git clone https://github.com/ainative/zerodb-memory-mcp.git cd zerodb-memory-mcp

Install dependencies

npm install

Configure environment

cp .env.example .env

Edit .env with your credentials

Test locally

npm start

Configuration

Credentials
# Recommended: API key auth (no login needed)

ZERODB_API_KEY=sk_xxx ZERODB_API_URL=https://api.ainative.studio ZERODB_PROJECT_ID=your-project-id

OR username/password auth:

ZERODB_USERNAME=your@email.com ZERODB_PASSWORD=your-password ZERODB_API_URL=https://api.ainative.studio ZERODB_PROJECT_ID=your-project-id

Tip: API key authentication (ZERODB_API_KEY) is preferred over username/password. It avoids token expiry issues and is not affected by shell environment variable conflicts.

Option 1: Environment Variables
export ZERODB_API_URL="http://localhost:8000"  # or cloud URL

export ZERODB_API_KEY="sk_your-api-key" # recommended export ZERODB_PROJECT_ID="your-project-id"

Option 2: Claude Desktop Config
{

"mcpServers": { "zerodb-memory": { "command": "node", "args": ["/path/to/zerodb-memory-mcp/index.js"], "env": { "ZERODB_API_URL": "http://localhost:8000", "ZERODB_USERNAME": "your-username", "ZERODB_PASSWORD": "your-password", "ZERODB_PROJECT_ID": "your-project-id" } } } }

Option 3: Use Both Local and Cloud
{

"mcpServers": { "zerodb-local": { "command": "node", "args": ["/path/to/zerodb-memory-mcp/index.js"], "env": { "ZERODB_API_URL": "http://localhost:8000", "ZERODB_USERNAME": "your-local-username", "ZERODB_PASSWORD": "your-local-password", "ZERODB_PROJECT_ID": "your-local-project-id" } }, "zerodb-cloud": { "command": "node", "args": ["/path/to/zerodb-memory-mcp/index.js"], "env": { "ZERODB_API_URL": "https://api.ainative.studio", "ZERODB_USERNAME": "your-cloud-username", "ZERODB_PASSWORD": "your-cloud-password", "ZERODB_PROJECT_ID": "your-cloud-project-id" } } } }

Tools

1. zerodb_store_memory

Store conversation context with automatic importance scoring and embedding.

Input:

{

"content": "User prefers technical explanations over simplified ones", "role": "system", "session_id": "chat-123", "tags": ["preference", "important"], "user_id": "user-456" }

Output:

{

"success": true, "memory_id": "mem_abc123", "importance": 0.85, "message": "Memory stored successfully" }

Features:

  • Auto-calculates importance (0.0 to 1.0)
  • Generates embeddings automatically
  • Supports tags for categorization
  • Links to user for cross-session memory

2. zerodb_search_memory

Search memory semantically using natural language.

Input:

{

"query": "What are the user's dietary restrictions?", "limit": 10, "session_id": "chat-123", "scope": "agent", "min_importance": 0.5 }

Output:

{

"results": [ { "content": "User is allergic to peanuts", "role": "user", "importance": 0.95, "timestamp": "2026-02-28T10:30:00Z", "tags": ["health", "critical"], "similarity": 0.89, "session_id": "chat-123" } ], "count": 1, "scope": "agent" }

Features:

  • Semantic search (meaning, not keywords)
  • Cross-session search with scope: "agent"
  • Filter by importance, tags, user
  • Returns similarity scores

3. zerodb_get_context

Get full conversation context with smart pruning.

Input:

{

"session_id": "chat-123", "max_tokens": 8192, "include_stats": true }

Output:

{

"memories": [ { "content": "Hello, how can I help?", "role": "assistant", "importance": 0.6, "timestamp": "2026-02-28T10:00:00Z", "tags": [] } ], "total_tokens": 2048, "stats": { "pruned": true, "original_count": 50, "returned_count": 25, "token_limit": 8192 } }

Features:

  • Auto-prunes to fit token limit
  • Keeps important and recent memories
  • Applies memory decay if enabled
  • Returns pruning statistics

4. zerodb_embed_text

Generate vector embeddings for text.

Input:

{

"text": "The quick brown fox jumps over the lazy dog", "model": "BAAI/bge-small-en-v1.5", "normalize": true }

Output:

{

"embedding": [0.123, -0.456, 0.789, ...], "model": "BAAI/bge-small-en-v1.5", "dimensions": 384, "normalized": true }

Features:

  • Three model sizes (384d, 768d, 1024d)
  • Normalized vectors
  • Fast local embedding (if using ZeroLocal)

5. zerodb_semantic_search

Search by semantic similarity without text query.

Input:

{

"text": "food preferences", "limit": 10, "session_id": "chat-123", "min_similarity": 0.7 }

Output:

{

"results": [ { "content": "User prefers vegetarian meals", "similarity": 0.85, "metadata": { "role": "user", "tags": ["preference"] } } ], "count": 1, "search_vector_dims": 384 }

Features:

  • Direct vector similarity search
  • Can provide text or pre-computed vector
  • Filter by similarity threshold
  • Session-scoped or global search

6. zerodb_clear_session

Clear all memories for a session.

Input:

{

"session_id": "chat-123", "keep_important": true, "confirm": true }

Output:

{

"success": true, "deleted_count": 45, "kept_count": 5, "message": "Session cleared, important memories preserved" }

Features:

  • Requires confirmation
  • Optional preservation of important memories
  • Returns deletion statistics
7. zerodb_synthesize_context

Retrieve and LLM-synthesize relevant memories into a coherent context string. Wraps POST /memory/v2/context. (Issue #2631)

Input:

{

"query": "What did we decide about the pricing model?", "agent_id": "user-456", "synthesis_style": "narrative", "max_tokens": 1000, "top_k": 10 }

Output:

{

"context": "In previous discussions, the team decided to use a usage-based pricing model...", "synthesis_style": "narrative", "sources_count": 5, "confidence": 0.87, "token_count": 312, "agent_id": "user-456" }

Features:

  • Three synthesis styles: narrative, bullet, structured
  • Powered by Claude Haiku for fast, coherent summaries
  • Graceful fallback if synthesis fails (concatenates top snippets)
  • Scoped by agent_id for per-user memory isolation

8. zerodb_configure_auto_context

Enable auto-context middleware so that relevant memories are automatically prepended to every tool response for a given agent. (Issue #2678)

Input:

{

"agent_id": "user-456", "enabled": true, "max_results": 10, "synthesis_style": "bullet", "auto_trace": false }

Output:

{

"success": true, "agent_id": "user-456", "config": { "enabled": true, "max_results": 10, "synthesis_style": "bullet", "auto_trace": false }, "message": "Auto-context enabled for agent user-456" }

Features:

  • Once enabled, every subsequent tool call for the agent_id automatically prepends _auto_context to the response
  • auto_trace: true stores each tool response as a new episodic memory for future recall
  • Config persisted via /remember — survives MCP server restarts
  • Skip list: config tools themselves are never auto-contexted

9. zerodb_get_auto_context_config

Retrieve the current auto-context configuration for an agent.

Input:

{

"agent_id": "user-456" }

Output:

{

"agent_id": "user-456", "config": { "enabled": true, "max_results": 10, "synthesis_style": "bullet", "auto_trace": false } }


Write-Back Action Tools

Five tools that write back to external services using OAuth tokens stored in ZeroDB sync connections. Connect accounts at /api/v1/public/memory/v2/connections.

Agent workflow: zerodb_recall → zerodb_synthesize_context → take action (send Slack, reply email, create event, etc.)

10. zerodb_slack_send

Send a Slack message using the user's stored OAuth token. (Issue #2645)

Input:

{

"agent_id": "user-456", "channel": "C012AB3CD", "message": "Sprint planning scheduled for Monday 10am", "thread_ts": "1609459200.000100" }

Output:

{

"ts": "1609459201.000200", "channel": "C012AB3CD", "message": "Message sent successfully" }

Notes: thread_ts is optional — omit to post a new message, include to reply in a thread.


11. zerodb_gmail_reply

Reply to a Gmail thread using the user's stored Google OAuth token. (Issue #2646)

Input:

{

"agent_id": "user-456", "thread_id": "17abc123def456", "body": "Thanks for the update. I'll review the PR by EOD.", "cc": ["manager@example.com"] }

Output:

{

"id": "17abc123def999", "thread_id": "17abc123def456", "message": "Reply sent successfully" }


12. zerodb_calendar_create

Create a Google Calendar event using the user's stored Google OAuth token. (Issue #2647)

Input:

{

"agent_id": "user-456", "title": "Sprint Planning", "start": "2026-05-10T10:00:00Z", "end": "2026-05-10T11:00:00Z", "description": "Q2 sprint kickoff", "attendees": ["alice@example.com", "bob@example.com"], "calendar_id": "primary" }

Output:

{

"id": "evt_abc123", "html_link": "https://calendar.google.com/event?eid=abc123", "title": "Sprint Planning", "message": "Event created successfully" }

Notes: Uses the same Google OAuth token as Gmail. calendar_id defaults to "primary".


13. zerodb_github_create_issue

Create a GitHub issue using the user's stored GitHub OAuth token. (Issue #2648)

Input:

{

"agent_id": "user-456", "repo": "acme/widget", "title": "Fix null pointer in payment flow", "body": "Steps to reproduce:\n1. Add item to cart\n2. Proceed to checkout\n3. Observe crash", "labels": ["bug", "priority:high"] }

Output:

{

"number": 142, "html_url": "https://github.com/acme/widget/issues/142", "title": "Fix null pointer in payment flow", "message": "Issue created successfully" }


14. zerodb_notion_create_page

Create a Notion page using the user's stored Notion OAuth token. (Issue #2649)

Input:

{

"agent_id": "user-456", "parent_id": "parent-page-uuid", "title": "Meeting Notes — May 10", "content": "Attendees: Alice, Bob\n\nDecisions:\n- Ship v2 on Friday\n-

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx