ainative-zerodb-memory-mcp

v1.2.12
io.github.AINative-Studio/ainative-zerodb-memory-mcp Checked 1 day ago Published 24 days ago

ZeroDB 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.

ParameterTypeDescription
content *stringThe content to store in memory (conversation text, facts, preferences, etc.)
session_id *stringSession identifier to organize memories by conversation
metadataobjectAdditional metadata to store with the memory
rolestringRole of the speaker (affects importance scoring)
tagsarrayOptional tags for categorization (e.g., ["important", "preference", "health"])
user_idstringOptional 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.

ParameterTypeDescription
query *stringNatural language query to search for in memory (e.g., "user preferences about food")
limitintegerMaximum number of results to return
min_importancenumberMinimum importance score (0.0 to 1.0) to filter results
scopestringSearch 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_idstringOptional session ID to limit search to specific conversation
tagsarrayOptional tags to filter results
user_idstringOptional 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.

ParameterTypeDescription
session_id *stringSession identifier to retrieve context for
include_statsbooleanInclude statistics about memory usage and pruning
max_tokensintegerMaximum 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.

ParameterTypeDescription
text *stringText to generate embeddings for
modelstringEmbedding model to use (small=384d, base=768d, large=1024d)
normalizebooleanNormalize vector to unit length

zerodb_clear_session

Clear all memories for a session. Use with caution - this permanently deletes conversation history.

ParameterTypeDescription
confirm *booleanConfirmation flag - must be true to execute
session_id *stringSession identifier to clear memories for
keep_importantbooleanKeep 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.

ParameterTypeDescription
agent_id *stringAgent or user identifier (used to scope memory retrieval)
query *stringThe question or topic to retrieve context for
max_tokensintegerMaximum tokens in the synthesized context (default: 1000)
synthesis_stylestringOutput format: narrative prose, bullet points, or structured JSON-like summary
top_kintegerNumber 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.

ParameterTypeDescription
agent_id *stringAgent identifier to configure (scopes config to this agent)
enabled *booleanEnable or disable auto-context injection (default: false)
auto_tracebooleanAutomatically store tool responses as memories for future recall (default: false)
max_resultsintegerNumber of memories to inject per tool call (1-20, default: 10)
synthesis_stylestringFormat of injected context: narrative prose, bullet points, or structured summary

zerodb_get_auto_context_config

Get the current auto-context configuration for an agent.

ParameterTypeDescription
agent_id *stringAgent 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.

ParameterTypeDescription
channel *stringSlack channel name (e.g. "#general") or channel ID
message *stringMessage text. Supports Slack mrkdwn formatting.
thread_tsstringOptional. 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.

ParameterTypeDescription
body *stringReply body (plain text or HTML)
thread_id *stringGmail thread ID to reply to
ccarrayOptional list of CC email addresses

zerodb_calendar_create

Create a Google Calendar event using your stored Google OAuth connection.

ParameterTypeDescription
end *stringEnd datetime in ISO 8601 format
start *stringStart datetime in ISO 8601 format (e.g. "2026-05-10T14:00:00-07:00")
title *stringEvent title / summary
attendeesarrayOptional list of attendee email addresses
calendar_idstringCalendar ID (default: "primary")
descriptionstringOptional event description

zerodb_github_create_issue

Create a GitHub issue using your stored GitHub OAuth connection.

ParameterTypeDescription
repo *stringRepository in "owner/repo" format (e.g. "acme/backend")
title *stringIssue title
bodystringIssue body / description (markdown supported)
labelsarrayOptional list of label names

zerodb_notion_create_page

Create a Notion page using your stored Notion OAuth connection.

ParameterTypeDescription
parent_id *stringParent page or database ID to create the page under
title *stringPage title
contentstringPage 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.

ParameterTypeDescription
content *stringMarkdown content
title *stringArtifact title (max 200 chars)
session_idstringOptional session ID to associate with
typestringArtifact type

zerodb_plan_get

Retrieve a plan artifact by ID. Use this at session start to restore a plan from a previous session.

ParameterTypeDescription
id *stringArtifact ID returned by zerodb_plan_create

zerodb_plan_update

Update a plan artifact. Content changes are diffed and stored in version history automatically.

ParameterTypeDescription
id *stringArtifact ID
contentstringNew content (optional)
statusstringNew status (optional)
titlestringNew title (optional)

zerodb_plan_history

Get version history for a plan artifact. Returns list of diffs showing how the plan evolved.

ParameterTypeDescription
id *stringArtifact ID