#MCP Tool Reference

Memory Engine exposes 15 tools to AI agents over the Model Context Protocol. Once an agent is connected (see MCP Integration), it can inspect its context, store, search, and organize memories with the tools below.

If you are an agent using these tools, start with MCP Agent Instructions for when to search, what to store, and how access control affects visible and writable trees.

#Context

Tool Purpose
me_memory_context Show current identity, active space, and effective access

#Storing and editing

Tool Purpose
me_memory_create Store a new memory
me_memory_update Modify an existing memory
me_memory_delete Delete a memory by ID
me_memory_delete_by_path Delete a named memory by its tree/name path
me_memory_delete_tree Delete every memory under a tree prefix

#Retrieving and searching

Tool Purpose
me_memory_search Search by meaning, keywords, or filters
me_memory_get Retrieve a memory by ID
me_memory_get_by_path Retrieve a named memory by its tree/name path
me_memory_count Count memories matching a tree filter
me_memory_tree View the tree structure with counts

#Organizing and moving

Tool Purpose
me_memory_copy Copy memories between tree paths
me_memory_mv Move memories between tree paths

#Bulk import and export

Tool Purpose
me_memory_import Bulk import from a file or inline content
me_memory_export Bulk export with filters

See File Formats for the import/export schemas, and Core Concepts for the memory model behind these tools.