MCP Server

Dakera ships as a native MCP server — 83 tools for Claude Desktop, Claude Code, Cursor, Windsurf, and any MCP-compatible client. No code changes required.

What is MCP? The Model Context Protocol allows AI assistants to call external tools. Dakera exposes its complete API as 83 callable MCP tools.

Install the MCP server

Two installation methods are available today. Choose whichever fits your workflow:

cargo install dakera-mcp       # Rust 1.70+
dakera-mcp --version

Don't have Rust? curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

docker run --rm -i \
  -e DAKERA_API_URL=http://host.docker.internal:3300 \
  -e DAKERA_API_KEY=your-api-key \
  ghcr.io/dakera-ai/dakera-mcp:latest

Point the MCP server at your Dakera instance

Set two environment variables — DAKERA_API_URL is the address of your running Dakera server (the IP or hostname where you deployed it), and DAKERA_API_KEY is the root key you set when starting the server.

Where is my server? If you started Dakera with docker run -p 3300:3300 ... on a remote host, use http://<SERVER_IP>:3300. For a local dev machine use http://localhost:3300. For Kubernetes with an ingress, use your ingress hostname.
# Quick test — verify connectivity before wiring up any client:
export DAKERA_API_URL=http://<YOUR_SERVER_IP>:3300
export DAKERA_API_KEY=<your-api-key>
dakera-mcp --test-connection
# Connected to Dakera v0.11.55 — 83 tools available

Connect your AI client

Replace <YOUR_SERVER_IP> with your Dakera server address and <your-api-key> with your root API key.

// Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json
// Claude Code: .mcp.json (project) or ~/.claude/settings.json (global)
// Cursor: ~/.cursor/mcp.json
// Windsurf: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "dakera": {
      "command": "/usr/local/bin/dakera-mcp",
      "env": {
        "DAKERA_API_URL": "http://<YOUR_SERVER_IP>:3300",
        "DAKERA_API_KEY": "<your-api-key>"
      }
    }
  }
}

Restart your client after editing. For Zed, use context_servers with a command.path key instead of mcpServers.

Verify the connection

dakera-mcp --test-connection  # or ask Claude: "List the Dakera MCP tools available"

Tool categories (83 tools)

CategoryKey toolsCount
Memorystore, recall, batch_recall, search, memory_get, memory_update, memory_importance, forget, consolidate, batch_forget10
Memory Feedbackmemory_feedback, memory_feedback_get, agent_feedback_summary3
Sessionssession_start, session_end, session_list, session_get, session_memories5
Agentsagent_stats, agent_memories, agent_sessions3
Knowledgeknowledge_graph, knowledge_summarize, knowledge_deduplicate, knowledge_network_cross_agent4
Knowledge Graphgraph_link_memory, graph_traverse, graph_path, graph_export, kg_query, kg_traverse, kg_export7
Entity Extractionextract_entities, auto_tag, memory_entities, extract, extractor_get, extractor_set, entity_types_get, entity_types_set8
Namespacesnamespace_list, namespace_get, namespace_create, namespace_delete, namespace_configure, namespace_key_create, namespace_key_list, namespace_key_delete, namespace_key_usage9
Vectorsvector_upsert, vector_upsert_columns, vector_query, vector_batch_query, vector_multi_search, vector_unified_query, vector_delete, vector_bulk_update, vector_bulk_delete, vector_count, vector_export, vector_aggregate, vector_explain, vector_warm14
Full-text & Inferencefulltext_index, fulltext_search, fulltext_stats, fulltext_delete, upsert_text, text_query, batch_query_text, hybrid_search8
Decay & AutoPilotdecay_config_get, decay_config_set, decay_stats, autopilot_trigger, autopilot_status5
Admin & Otheraudit_query, memory_export, memory_import, encryption_rotate_key, agent_feedback_summary, memory_policy_get, memory_policy_set7

Complete MCP tool reference

Every tool listed below is available as a callable MCP action. All tools accept JSON parameters and return JSON responses. Prefix each tool name with dakera_ when calling from your AI client.

Memory operations (11 tools)

ToolDescriptionKey parameters
storeStore a memory for an agentagent_id req, content req, importance opt, tags opt, memory_type opt, session_id opt, expires_at opt
recallSemantic recall — returns most relevant memories for a queryagent_id req, query req, top_k opt, min_importance opt, include_associated opt, since opt, until opt
recall_associatedRecall with deep knowledge-graph context enrichment (1–3 hops)agent_id req, query req, associated_memories_depth opt, associated_memories_min_weight opt
batch_recallFilter-based bulk recall without semantic searchagent_id req, tags opt, min_importance opt, max_importance opt, created_after opt, created_before opt, memory_type opt
forgetDelete memories by ID or tag filteragent_id req, memory_ids opt, tags opt
batch_forgetBulk delete all memories matching filter predicatesagent_id req, tags opt, min_importance opt, memory_type opt
searchSearch with tag filtering and importance thresholdsagent_id req, query req, top_k opt, tags opt, memory_type opt
memory_getGet a specific memory by IDagent_id req, memory_id req
memory_updateUpdate content, importance, or tags (re-embeds if content changes)agent_id req, memory_id req, content opt, importance opt, tags opt
memory_importanceBatch-update importance scores for multiple memoriesagent_id req, updates req (array of {memory_id, importance})
consolidateMerge related memories into a synthesized summaryagent_id req, memory_ids req

Memory feedback (3 tools)

ToolDescriptionKey parameters
memory_feedbackSubmit feedback signal — upvotes increase importance, downvotes decreasememory_id req, signal req (upvote | downvote | flag)
memory_feedback_getRetrieve feedback history for a memorymemory_id req
agent_feedback_summaryAggregated feedback stats for all of an agent's memoriesagent_id req

Sessions (5 tools)

ToolDescriptionKey parameters
session_startStart a new session to group related memoriesagent_id req, metadata opt
session_endEnd an active session with optional summarysession_id req, summary opt
session_listList sessions for an agentagent_id req, active_only opt
session_getGet session details including metadata and summarysession_id req
session_memoriesList all memories associated with a sessionsession_id req

Agents (3 tools)

ToolDescriptionKey parameters
agent_statsMemory count, session count, storage usage, and top tagsagent_id req
agent_memoriesList all memories for an agent, ordered by recencyagent_id req, limit opt, offset opt
agent_sessionsList all sessions (active and completed) for an agentagent_id req

Knowledge management (4 tools)

ToolDescriptionKey parameters
knowledge_graphBuild a knowledge graph from a seed memory via embedding similarityagent_id req, memory_id req, depth opt, min_similarity opt
knowledge_summarizeSummarize a set of memories into a consolidated memoryagent_id req, memory_ids req, target_type opt
knowledge_deduplicateFind and optionally merge duplicate memoriesagent_id req, threshold opt, dry_run opt
knowledge_network_cross_agentBuild a cross-agent memory network spanning all agentsagent_ids opt, min_similarity opt, max_nodes_per_agent opt, max_cross_edges opt

Knowledge graph traversal (7 tools)

ToolDescriptionKey parameters
graph_traverseBFS traversal from a starting memory in the knowledge graphmemory_id req, depth opt
graph_pathFind shortest path between two memoriesfrom_id req, to_id req
graph_link_memoryCreate an explicit edge between two memoriesmemory_id req, target_id req
graph_exportExport full knowledge graph for an agent as edge listagent_id req
kg_traverseFiltered graph traversal with edge-type and weight filtersagent_id req, root_id req, max_depth opt, edge_type opt, min_weight opt
kg_queryQuery the knowledge graph using a filter DSLagent_id req, edge_type opt, min_weight opt, limit opt
kg_exportExport full knowledge graph as JSON or GraphMLagent_id req, format opt (json | graphml)

Entity extraction (8 tools)

ToolDescriptionKey parameters
auto_tagExtract entities using GLiNER zero-shot NER + rule-based pre-passcontent req, entity_types opt
extractExtract structured info (entities, topics, key phrases, summary) from texttext req, namespace opt, entity_types opt, extractor_override opt
extract_entitiesNamed entity extraction via the dakera-ode GLiNER pipelinecontent req, agent_id req, memory_id opt, entity_types opt
memory_entitiesGet entities extracted when a memory was storedmemory_id req
entity_types_getGet entity extraction config for a namespacenamespace req
entity_types_setConfigure entity extraction for a namespacenamespace req, extract_entities req, entity_types req
extractor_getRead default extraction provider for a namespacenamespace req
extractor_setSet extraction provider (OpenAI, Anthropic, Ollama, ONNX)namespace req, provider req, model opt, base_url opt

Namespace management (9 tools)

ToolDescriptionKey parameters
namespace_listList all namespaces(none)
namespace_getGet namespace details (vector count, dimensions, index stats)namespace req
namespace_createCreate a namespace with specified dimensions and distance metricname req, dimension req, distance opt
namespace_deleteDelete a namespace and all its vectors (irreversible)namespace req
namespace_configureCreate-or-update namespace configurationnamespace req, dimension req, distance opt
namespace_key_createCreate a namespace-scoped API keynamespace req, name req, scope req, expires_in_days opt
namespace_key_listList all API keys for a namespacenamespace req
namespace_key_deleteRevoke a namespace-scoped API keynamespace req, key_id req
namespace_key_usageGet usage statistics for a namespace keynamespace req, key_id req

Vector operations (14 tools)

ToolDescriptionKey parameters
vector_upsertInsert or update vectors with optional metadatanamespace req, vectors req
vector_upsert_columnsColumn-format upsert — more efficient for batch operationsnamespace req, ids req, vectors req, attributes opt
vector_queryNearest-neighbor similarity searchnamespace req, vector req, top_k opt, filter opt
vector_batch_queryMultiple similarity searches in parallelnamespace req, queries req
vector_multi_searchMulti-vector search with positive/negative vectors, MMR diversitynamespace req, positive_vectors req, negative_vectors opt, enable_mmr opt, mmr_lambda opt
vector_unified_queryFlexible ranking — vector, full-text, or attribute orderingnamespace req, rank_by req, top_k opt, filter opt
vector_deleteDelete vectors by IDnamespace req, ids req
vector_bulk_updateUpdate metadata on all vectors matching a filternamespace req, filter req, update req
vector_bulk_deleteDelete all vectors matching a filternamespace req, filter req
vector_countCount vectors, optionally filterednamespace req, filter opt
vector_exportExport vectors with paginationnamespace req, top_k opt, cursor opt, include_vectors opt
vector_aggregateCompute aggregations (Count, Sum, Avg, Min, Max)namespace req, aggregate_by req, group_by opt, filter opt
vector_explainExplain query execution plan — index selection, cost estimatesnamespace req, query_type req, execute opt, verbose opt
vector_warmPre-load vectors into memory for faster queriesnamespace req, vector_ids opt

Full-text, text inference & hybrid search (8 tools)

ToolDescriptionKey parameters
fulltext_indexIndex documents for BM25 full-text searchnamespace req, documents req
fulltext_searchBM25 keyword searchnamespace req, query req, top_k opt, filter opt
fulltext_deleteRemove documents from the full-text indexnamespace req, ids req
fulltext_statsIndex statistics (document count, term count)namespace req
upsert_textUpsert text documents with automatic server-side embeddingnamespace req, documents req, model opt
text_queryQuery using natural language — text is embedded server-sidenamespace req, text req, top_k opt, filter opt
batch_query_textBatch text queries with automatic embeddingnamespace req, queries req, top_k opt
hybrid_searchCombined vector similarity + BM25 full-text searchnamespace req, text req, vector opt, top_k opt, vector_weight opt

Decay & AutoPilot (5 tools)

ToolDescriptionKey parameters
decay_config_getGet current decay settings (strategy, half-life, min importance)(none)
decay_config_setUpdate decay settings at runtime (no restart)strategy opt, half_life_hours opt, min_importance opt
decay_statsGet cumulative decay statistics and last-cycle details(none)
autopilot_statusAutoPilot config and last-run stats (deduped, consolidated)(none)
autopilot_triggerForce an immediate AutoPilot cycleaction req (dedup | consolidate | all)

Memory lifecycle policy (2 tools)

ToolDescriptionKey parameters
memory_policy_getGet lifecycle policy — TTLs, decay curves, spaced repetition, consolidation, rate limitsnamespace req
memory_policy_setUpdate lifecycle policy per namespacenamespace req, per-type TTLs and decay curves, consolidation_enabled opt, rate_limit_enabled opt

Audit & import/export (4 tools)

ToolDescriptionKey parameters
audit_queryQuery business-event audit log (stored, recalled, forgotten, etc.)agent_id opt, event_type opt, from opt, to opt, limit opt
memory_exportExport all memories in a portable formatagent_id req, format opt (jsonl | csv | mem0 | zep)
memory_importImport memories from JSONL, CSV, Mem0 JSON, or Zep JSONagent_id req, data req, format opt
encryption_rotate_keyZero-downtime AES-256-GCM encryption key rotationnew_key req, namespace opt