Skip to main content
Mem0 logo

Mem0

Mem0 is an universal, self-improving memory layer for LLM applications.

This is a first-class FlyMyAI MCP. Agents discover it automatically via tool search and call the actions below on demand - you never wire it up by hand. See the Composio catalog for how discovery works.

Connect​

Mem0 authenticates with an API key. Generate the credential in your Mem0 account, then paste it into FlyMyAI the first time an agent uses a Mem0 action.

Get your Mem0 credential →

Fields to fill in FlyMyAI​

FieldDetails
API KeyYour Mem0 API key for authentication. Obtain it from your Mem0 settings. (required)

Actions​

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

ActionWhat it doesRequired inputs
MEM0_ADD_MEMBER_TO_PROJECTAdds an existing user to a project (identified by 'project id' within organization 'org id'), assigning a valid system role.org_id, project_id, username, role
MEM0_ADD_NEW_MEMORY_RECORDSStores new memory records from a list of messages, optionally inferring structured content; requires association via 'agent id', 'user id', 'app id', or 'run id'.messages
MEM0_ADD_ORGANIZATION_MEMBERAdds a new member, who must be a registered user, to an organization, assigning them a specific role.org_id, email, role
MEM0_CREATE_AN_EXPORT_JOB_WITH_SCHEMAInitiates an asynchronous job to export memories, structured by a schema provided in the request body and allowing optional filters.-
MEM0_CREATE_A_NEW_AGENTCreates a new agent with a unique 'agent id' and an optional 'name'; additional metadata may be assigned by the system.agent_id
MEM0_CREATE_A_NEW_AGENT_RUNCreates a new agent run in the mem0.ai system.run_id
MEM0_CREATE_A_NEW_APPLICATIONCreates a new application, allowing metadata to be passed in the request body (not an explicit field in this action's request model); ensure 'app id' is unique to avoid potential errors or unintended updates.app_id
MEM0_CREATE_A_NEW_ORGANIZATION_ENTRYCreates a new organization entry using the provided name and returns its details.name
MEM0_CREATE_A_NEW_USERCreates a new user with the specified unique 'user id' and supports associating 'metadata' (not part of the request schema fields).user_id
MEM0_CREATE_MEMORY_ENTRYLists/searches existing memory entries with filtering and pagination; critically, this action retrieves memories and does not create new ones, despite its name.-
MEM0_CREATE_PROJECTCreates a new project with a given name within an organization that must already exist.org_id, name
MEM0_DELETE_AN_ORGANIZATIONPermanently deletes an existing organization identified by its unique id.org_id
MEM0_DELETE_A_SPECIFIC_MEMORY_BY_IDPermanently deletes a specific memory by its unique id; ensure the 'memory id' exists as this operation is irreversible.memory_id
MEM0_DELETE_ENTITY_BY_TYPE_AND_IDCall to permanently and irreversibly hard-delete an existing entity (user, agent, app, or run) and all its associated data, using its type and id.entity_type, entity_id
MEM0_DELETE_MEMORIES_ENDPOINTDeletes memories matching specified filter criteria; omitting all filters may result in deleting all memories. required: at least one of agent id, user id, app id, or run id must be provided.-
MEM0_DELETE_MEMORY_BATCH_WITH_UUIDSDeletes a batch of up to 1000 existing memories, identified by their uuids, in a single api call.memory_ids
MEM0_DELETE_PROJECTPermanently deletes a specific project and all its associated data from an organization; this action cannot be undone and requires the project to exist within the specified organization.org_id, project_id
MEM0_DELETE_PROJECT_MEMBERRemoves an existing member, specified by username, from a project, immediately revoking their project-specific access; the user is not removed from the organization.org_id, project_id, username
MEM0_EXPORT_DATA_BASED_ON_FILTERSRetrieves memory export data, optionally filtered by various identifiers (e.g., user id); without filters, it may return all accessible or recent exports based on default behavior.-
MEM0_FETCH_DETAILED_LIST_OF_ORGANIZATIONSRetrieves a summary list of organizations for administrative oversight; returns summary data (names, ids), not exhaustive details, despite 'detailed' in the name.-
MEM0_FETCH_DETAILS_OF_A_SPECIFIC_ORGANIZATIONFetches comprehensive details for an organization using its 'org id'; the 'org id' must be valid and for an existing organization.org_id
MEM0_FETCH_LIST_OF_ENTITY_FILTERSRetrieves predefined filter definitions for entities (e.g., by type, creation/modification date); returns definitions only, not filtered entity data.-
MEM0_FETCH_SPECIFIC_ENTITY_DETAILS_WITH_OPTIONAL_FILTERSFetches detailed information for an existing entity (user, agent, app, or run) identified by its type and unique id.entity_type, entity_id
MEM0_GET_ORGANIZATION_MEMBERSFetches a list of members for a specified, existing organization.org_id
MEM0_GET_PROJECTSRetrieves all projects for a given organization 'org id' to which the caller has access.org_id
MEM0_GET_PROJECT_DETAILSFetches comprehensive details for a specified project within an organization.org_id, project_id
MEM0_GET_PROJECT_MEMBERSRetrieves all members for a specified project within an organization.org_id, project_id
MEM0_GET_USER_MEMORY_STATSRetrieves a summary of the authenticated user's memory activity, including total memories created, search events, and add events.-
MEM0_LIST_ENTITIES_WITH_OPTIONAL_ORG_AND_PROJECT_FILTERSRetrieves a list of entities, optionally filtered by organization or project (prefer 'org id'/'project id' over deprecated 'org name'/'project name'), noting results may be summaries and subject to limits.-
MEM0_PERFORM_SEMANTIC_SEARCH_ON_MEMORIESSearches memories semantically using a natural language query (required if 'only metadata based search' is false) and/or metadata filters. required: at least one of agent id, user id, app id, or run id must be provided. when 'only metadata based search' is tr…query
MEM0_REMOVE_A_MEMBER_FROM_THE_ORGANIZATIONRemoves a member, specified by their username, from an existing organization of which they are currently a member.org_id, username
MEM0_RETRIEVE_ALL_EVENTS_FOR_THE_CURRENTLY_LOGGED_IN_USERRetrieves a paginated list of events for the authenticated user, filterable and paginable via url query parameters. this is a read-only operation that does not modify data. supported query parameters (applied directly to the request url): - 'event type' (str,…-
MEM0_RETRIEVE_ENTITY_SPECIFIC_MEMORIESRetrieves all memories (e.g., user preferences, chat history) for a specific entity from the mem0 platform, using its 'entity type' and 'entity id'; ensure the entity exists.entity_type, entity_id
MEM0_RETRIEVE_LIST_OF_MEMORY_EVENTSRetrieves a chronological list of all memory events (e.g., user inputs, ai responses) from the mem0 platform, providing interaction history and context for ai assistants.-
MEM0_RETRIEVE_MEMORY_BY_UNIQUE_IDENTIFIERRetrieves a complete memory entry by its unique identifier; 'memory id' must be valid and for an existing memory.memory_id
MEM0_RETRIEVE_MEMORY_HISTORY_BY_IDRetrieves the complete version history for an existing memory, using its unique 'memory id', to inspect its evolution or audit changes.memory_id
MEM0_RETRIEVE_MEMORY_LISTRetrieves a list of memories, supporting pagination and diverse filtering (e.g., by ids, metadata, keywords, date ranges); ensure dates are iso 8601 and 'page'/'page size' (if used) are positive integers. required: at least one of agent id, user id, app id, o…-
MEM0_SEARCH_MEMORIES_WITH_QUERY_FILTERSSemantically searches memories using a natural language query and mandatory structured filters, offering options to rerank results and select specific fields; any provided 'org id' or 'project id' must reference a valid existing entity.query, filters
MEM0_UPDATE_MEMORY_BATCH_WITH_UUIDUpdates text for up to 1000 memories in a single batch, using their uuids.memories
MEM0_UPDATE_MEMORY_DETAILS_BY_IDUpdates the text content of an existing memory, identified by its 'memory id'.memory_id
MEM0_UPDATE_ORGANIZATION_MEMBER_ROLEUpdates the role of an existing member to a new valid role within an existing organization.org_id, username, role
MEM0_UPDATE_PROJECTUpdates a project by 'project id' within an 'org id', modifying only provided fields (name, description, custom instructions, custom categories); list fields are fully replaced (cleared by '[]'), other omitted/null fields remain unchanged.org_id, project_id
MEM0_UPDATE_PROJECT_MEMBER_ROLEUpdates the role of a specific member within a designated project, ensuring the new role is valid and recognized by the system.org_id, project_id, username, role
We love our partners - FlyMy.AI builds with the best. Thanks, Mem0!