ainative-zerodb-memory-mcp
v1.2.12ZeroDB agent-memory MCP — 18 tools: memory + write-back to Slack, Gmail, Calendar, GitHub.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
zerodb_store_memory
Store conversation context in agent memory with automatic importance scoring and embedding. Supports multi-session tracking and memory decay.
| Parameter | Type | Description |
|---|---|---|
content * | string | The content to store in memory (conversation text, facts, preferences, etc.) |
session_id * | string | Session identifier to organize memories by conversation |
metadata | object | Additional metadata to store with the memory |
role | string | Role of the speaker (affects importance scoring) |
tags | array | Optional tags for categorization (e.g., ["important", "preference", "health"]) |
user_id | string | Optional user identifier for cross-session memory |
zerodb_search_memory
Search agent memory semantically using natural language queries. Supports cross-session search and filtering by tags, user, or time range.
| Parameter | Type | Description |
|---|---|---|
query * | string | Natural language query to search for in memory (e.g., "user preferences about food") |
limit | integer | Maximum number of results to return |
min_importance | number | Minimum importance score (0.0 to 1.0) to filter results |
scope | string | Search scope. "session": only this session_id (requires session_id). "agent" or "global": search across all stored memories (Refs #9063 — the backend has no per-agent namespace, so "agent" and "glob… |
session_id | string | Optional session ID to limit search to specific conversation |
tags | array | Optional tags to filter results |
user_id | string | Optional user ID to search across all sessions for this user |
zerodb_get_context
Get full conversation context window for a session with smart pruning. Automatically manages token limits, applies memory decay, and prioritizes important/recent memories.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | Session identifier to retrieve context for |
include_stats | boolean | Include statistics about memory usage and pruning |
max_tokens | integer | Maximum tokens to include in context window (default: 8192) |
zerodb_embed_text
Generate vector embeddings for text using BAAI BGE models. Useful for manual vector operations or custom similarity calculations.
| Parameter | Type | Description |
|---|---|---|
text * | string | Text to generate embeddings for |
model | string | Embedding model to use (small=384d, base=768d, large=1024d) |
normalize | boolean | Normalize vector to unit length |
zerodb_semantic_search
Search memory by semantic similarity without needing a text query. Directly search using vector embeddings or similar memories.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of similar memories to return |
min_similarity | number | Minimum cosine similarity score (0.0 to 1.0) |
session_id | string | Optional session ID to limit search scope |
text | string | Text to find semantically similar memories for (will be embedded automatically) |
vector | array | Pre-computed embedding vector to search with (alternative to text) |
zerodb_clear_session
Clear all memories for a session. Use with caution - this permanently deletes conversation history.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Confirmation flag - must be true to execute |
session_id * | string | Session identifier to clear memories for |
keep_important | boolean | Keep memories tagged as "important" or "permanent" |
zerodb_synthesize_context
Retrieve and LLM-synthesize relevant memories into a coherent context string. Searches memory for the query, retrieves top results, then uses Claude Haiku to synthesize a narrative, bullet list, or structured summary. Returns a ready-to-use context string for grounding AI responses.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | Agent or user identifier (used to scope memory retrieval) |
query * | string | The question or topic to retrieve context for |
max_tokens | integer | Maximum tokens in the synthesized context (default: 1000) |
synthesis_style | string | Output format: narrative prose, bullet points, or structured JSON-like summary |
top_k | integer | Number of memory results to retrieve before synthesis (default: 10) |
zerodb_configure_auto_context
Configure ambient memory injection. When enabled, ZeroDB automatically retrieves relevant memories before each tool call and prepends them as context — agents get memory without calling recall() explicitly.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | Agent identifier to configure (scopes config to this agent) |
enabled * | boolean | Enable or disable auto-context injection (default: false) |
auto_trace | boolean | Automatically store tool responses as memories for future recall (default: false) |
max_results | integer | Number of memories to inject per tool call (1-20, default: 10) |
synthesis_style | string | Format of injected context: narrative prose, bullet points, or structured summary |
zerodb_get_auto_context_config
Get the current auto-context configuration for an agent.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | Agent identifier to retrieve configuration for |
zerodb_slack_send
Send a Slack message using your stored Slack OAuth connection. No API key required — uses the token from your connected Slack account in ZeroDB.
| Parameter | Type | Description |
|---|---|---|
channel * | string | Slack channel name (e.g. "#general") or channel ID |
message * | string | Message text. Supports Slack mrkdwn formatting. |
thread_ts | string | Optional. Thread timestamp to reply in an existing thread. |
zerodb_gmail_reply
Reply to a Gmail thread using your stored Google OAuth connection. Sends from your connected Gmail account.
| Parameter | Type | Description |
|---|---|---|
body * | string | Reply body (plain text or HTML) |
thread_id * | string | Gmail thread ID to reply to |
cc | array | Optional list of CC email addresses |
zerodb_calendar_create
Create a Google Calendar event using your stored Google OAuth connection.
| Parameter | Type | Description |
|---|---|---|
end * | string | End datetime in ISO 8601 format |
start * | string | Start datetime in ISO 8601 format (e.g. "2026-05-10T14:00:00-07:00") |
title * | string | Event title / summary |
attendees | array | Optional list of attendee email addresses |
calendar_id | string | Calendar ID (default: "primary") |
description | string | Optional event description |
zerodb_github_create_issue
Create a GitHub issue using your stored GitHub OAuth connection.
| Parameter | Type | Description |
|---|---|---|
repo * | string | Repository in "owner/repo" format (e.g. "acme/backend") |
title * | string | Issue title |
body | string | Issue body / description (markdown supported) |
labels | array | Optional list of label names |
zerodb_notion_create_page
Create a Notion page using your stored Notion OAuth connection.
| Parameter | Type | Description |
|---|---|---|
parent_id * | string | Parent page or database ID to create the page under |
title * | string | Page title |
content | string | Page content as plain text or markdown. Converted to Notion blocks automatically. |
zerodb_plan_create
Create a persistent plan, PRD, or task artifact in ZeroDB. Returns an artifact ID you can pass to zerodb_plan_get/update/history in future sessions.
| Parameter | Type | Description |
|---|---|---|
content * | string | Markdown content |
title * | string | Artifact title (max 200 chars) |
session_id | string | Optional session ID to associate with |
type | string | Artifact type |
zerodb_plan_get
Retrieve a plan artifact by ID. Use this at session start to restore a plan from a previous session.
| Parameter | Type | Description |
|---|---|---|
id * | string | Artifact ID returned by zerodb_plan_create |
zerodb_plan_update
Update a plan artifact. Content changes are diffed and stored in version history automatically.
| Parameter | Type | Description |
|---|---|---|
id * | string | Artifact ID |
content | string | New content (optional) |
status | string | New status (optional) |
title | string | New title (optional) |
zerodb_plan_history
Get version history for a plan artifact. Returns list of diffs showing how the plan evolved.
| Parameter | Type | Description |
|---|---|---|
id * | string | Artifact ID |