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
Docker
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)
Category Key tools Count
Memory store, recall, batch_recall, search, memory_get, memory_update, memory_importance, forget, consolidate, batch_forget 10
Memory Feedback memory_feedback, memory_feedback_get, agent_feedback_summary 3
Sessions session_start, session_end, session_list, session_get, session_memories 5
Agents agent_stats, agent_memories, agent_sessions 3
Knowledge knowledge_graph, knowledge_summarize, knowledge_deduplicate, knowledge_network_cross_agent 4
Knowledge Graph graph_link_memory, graph_traverse, graph_path, graph_export, kg_query, kg_traverse, kg_export 7
Entity Extraction extract_entities, auto_tag, memory_entities, extract, extractor_get, extractor_set, entity_types_get, entity_types_set 8
Namespaces namespace_list, namespace_get, namespace_create, namespace_delete, namespace_configure, namespace_key_create, namespace_key_list, namespace_key_delete, namespace_key_usage 9
Vectors vector_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_warm 14
Full-text & Inference fulltext_index, fulltext_search, fulltext_stats, fulltext_delete, upsert_text, text_query, batch_query_text, hybrid_search 8
Decay & AutoPilot decay_config_get, decay_config_set, decay_stats, autopilot_trigger, autopilot_status 5
Admin & Other audit_query, memory_export, memory_import, encryption_rotate_key, agent_feedback_summary, memory_policy_get, memory_policy_set 7
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)
Tool Description Key parameters
storeStore a memory for an agent agent_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 query agent_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 search agent_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 filter agent_id req , memory_ids opt , tags opt
batch_forgetBulk delete all memories matching filter predicates agent_id req , tags opt , min_importance opt , memory_type opt
searchSearch with tag filtering and importance thresholds agent_id req , query req , top_k opt , tags opt , memory_type opt
memory_getGet a specific memory by ID agent_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 memories agent_id req , updates req (array of {memory_id, importance})
consolidateMerge related memories into a synthesized summary agent_id req , memory_ids req
Memory feedback (3 tools)
Tool Description Key parameters
memory_feedbackSubmit feedback signal — upvotes increase importance, downvotes decrease memory_id req , signal req (upvote | downvote | flag)
memory_feedback_getRetrieve feedback history for a memory memory_id req
agent_feedback_summaryAggregated feedback stats for all of an agent's memories agent_id req
Sessions (5 tools)
Tool Description Key parameters
session_startStart a new session to group related memories agent_id req , metadata opt
session_endEnd an active session with optional summary session_id req , summary opt
session_listList sessions for an agent agent_id req , active_only opt
session_getGet session details including metadata and summary session_id req
session_memoriesList all memories associated with a session session_id req
Agents (3 tools)
Tool Description Key parameters
agent_statsMemory count, session count, storage usage, and top tags agent_id req
agent_memoriesList all memories for an agent, ordered by recency agent_id req , limit opt , offset opt
agent_sessionsList all sessions (active and completed) for an agent agent_id req
Knowledge management (4 tools)
Tool Description Key parameters
knowledge_graphBuild a knowledge graph from a seed memory via embedding similarity agent_id req , memory_id req , depth opt , min_similarity opt
knowledge_summarizeSummarize a set of memories into a consolidated memory agent_id req , memory_ids req , target_type opt
knowledge_deduplicateFind and optionally merge duplicate memories agent_id req , threshold opt , dry_run opt
knowledge_network_cross_agentBuild a cross-agent memory network spanning all agents agent_ids opt , min_similarity opt , max_nodes_per_agent opt , max_cross_edges opt
Knowledge graph traversal (7 tools)
Tool Description Key parameters
graph_traverseBFS traversal from a starting memory in the knowledge graph memory_id req , depth opt
graph_pathFind shortest path between two memories from_id req , to_id req
graph_link_memoryCreate an explicit edge between two memories memory_id req , target_id req
graph_exportExport full knowledge graph for an agent as edge list agent_id req
kg_traverseFiltered graph traversal with edge-type and weight filters agent_id req , root_id req , max_depth opt , edge_type opt , min_weight opt
kg_queryQuery the knowledge graph using a filter DSL agent_id req , edge_type opt , min_weight opt , limit opt
kg_exportExport full knowledge graph as JSON or GraphML agent_id req , format opt (json | graphml)
Entity extraction (8 tools)
Tool Description Key parameters
auto_tagExtract entities using GLiNER zero-shot NER + rule-based pre-pass content req , entity_types opt
extractExtract structured info (entities, topics, key phrases, summary) from text text req , namespace opt , entity_types opt , extractor_override opt
extract_entitiesNamed entity extraction via the dakera-ode GLiNER pipeline content req , agent_id req , memory_id opt , entity_types opt
memory_entitiesGet entities extracted when a memory was stored memory_id req
entity_types_getGet entity extraction config for a namespace namespace req
entity_types_setConfigure entity extraction for a namespace namespace req , extract_entities req , entity_types req
extractor_getRead default extraction provider for a namespace namespace req
extractor_setSet extraction provider (OpenAI, Anthropic, Ollama, ONNX) namespace req , provider req , model opt , base_url opt
Namespace management (9 tools)
Tool Description Key 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 metric name req , dimension req , distance opt
namespace_deleteDelete a namespace and all its vectors (irreversible) namespace req
namespace_configureCreate-or-update namespace configuration namespace req , dimension req , distance opt
namespace_key_createCreate a namespace-scoped API key namespace req , name req , scope req , expires_in_days opt
namespace_key_listList all API keys for a namespace namespace req
namespace_key_deleteRevoke a namespace-scoped API key namespace req , key_id req
namespace_key_usageGet usage statistics for a namespace key namespace req , key_id req
Vector operations (14 tools)
Tool Description Key parameters
vector_upsertInsert or update vectors with optional metadata namespace req , vectors req
vector_upsert_columnsColumn-format upsert — more efficient for batch operations namespace req , ids req , vectors req , attributes opt
vector_queryNearest-neighbor similarity search namespace req , vector req , top_k opt , filter opt
vector_batch_queryMultiple similarity searches in parallel namespace req , queries req
vector_multi_searchMulti-vector search with positive/negative vectors, MMR diversity namespace req , positive_vectors req , negative_vectors opt , enable_mmr opt , mmr_lambda opt
vector_unified_queryFlexible ranking — vector, full-text, or attribute ordering namespace req , rank_by req , top_k opt , filter opt
vector_deleteDelete vectors by ID namespace req , ids req
vector_bulk_updateUpdate metadata on all vectors matching a filter namespace req , filter req , update req
vector_bulk_deleteDelete all vectors matching a filter namespace req , filter req
vector_countCount vectors, optionally filtered namespace req , filter opt
vector_exportExport vectors with pagination namespace 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 estimates namespace req , query_type req , execute opt , verbose opt
vector_warmPre-load vectors into memory for faster queries namespace req , vector_ids opt
Full-text, text inference & hybrid search (8 tools)
Tool Description Key parameters
fulltext_indexIndex documents for BM25 full-text search namespace req , documents req
fulltext_searchBM25 keyword search namespace req , query req , top_k opt , filter opt
fulltext_deleteRemove documents from the full-text index namespace req , ids req
fulltext_statsIndex statistics (document count, term count) namespace req
upsert_textUpsert text documents with automatic server-side embedding namespace req , documents req , model opt
text_queryQuery using natural language — text is embedded server-side namespace req , text req , top_k opt , filter opt
batch_query_textBatch text queries with automatic embedding namespace req , queries req , top_k opt
hybrid_searchCombined vector similarity + BM25 full-text search namespace req , text req , vector opt , top_k opt , vector_weight opt
Decay & AutoPilot (5 tools)
Tool Description Key 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 cycle action req (dedup | consolidate | all)
Memory lifecycle policy (2 tools)
Tool Description Key parameters
memory_policy_getGet lifecycle policy — TTLs, decay curves, spaced repetition, consolidation, rate limits namespace req
memory_policy_setUpdate lifecycle policy per namespace namespace req , per-type TTLs and decay curves, consolidation_enabled opt , rate_limit_enabled opt
Audit & import/export (4 tools)
Tool Description Key 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 format agent_id req , format opt (jsonl | csv | mem0 | zep)
memory_importImport memories from JSONL, CSV, Mem0 JSON, or Zep JSON agent_id req , data req , format opt
encryption_rotate_keyZero-downtime AES-256-GCM encryption key rotation new_key req , namespace opt