Mem 0 MCP server

Connect Mem 0 to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.

What you can do with the Mem 0 MCP server

Ask your agent in plain language. Each of these maps to a real tool on the server.

  • Use the list memories tool in Mem 0
  • Use the delete memories tool in Mem 0
  • Use the get memory tool in Mem 0
  • Use the delete entity tool in Mem 0
  • Use the list entities tool in Mem 0
  • Use the add memory tool in Mem 0

Supported Tools

list_memories

List Memories

Retrieve one page of memories scoped to a user, agent, app, or session. Supports advanced filters and pagination. Use this to browse stored memories rather than searching by relevance.

delete_memories

Delete Memories

Delete one or more memories. You can delete a single memory by its ID, or bulk-delete all memories matching a scope filter (user, agent, app, or run). When using bulk delete, at least one scope filter is required.

get_memory

Get Memory

Retrieve a specific memory by its ID, optionally including its full change history. Use this to inspect a single memory's content, metadata, and version history.

delete_entity

Delete Entity

Delete an entity and all of its associated memories. Supports user, agent, app, and run entity types. This permanently removes the entity and all memories scoped to it.

list_entities

List Entities

List one page of entities (users, agents, apps, and runs/sessions) registered in Mem0. Optionally filter the current page by entity type. Use the entity name with delete_entity, rather than its internal ID.

add_memory

Add Memory

Store new memories from conversation messages using Mem0's V3 additive pipeline. Inference is processed asynchronously; use get_event to check completion. Disable inference to store messages directly. Memories must be scoped to a user, agent, app, or run.

search_memories

Search Memories

Search memories using natural language queries with hybrid semantic, keyword, and entity matching. Uses the V3 search API with support for advanced filtering using AND, OR, NOT, comparison operators, and field-level filters. Returns ranked results based on relevance to the query.

update_memory

Update Memory

Update an existing memory's text content or metadata. Changes are versioned and tracked in the memory's history.

get_event

Get Event

Check whether an asynchronous memory addition or deletion has completed. Returns status, processed memory events, and provider failure details.

get_current_user

Get Current User

Validate the connected API key and discover its user email, organization, and project. Memory operations use the project associated with this API key.

Connect Mem 0 to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. Enable Mem 0 in Metorial. In your Metorial portal, enable the Mem 0 MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load Mem 0 tools.

Run Mem 0 through the Metorial gateway

One governed layer for every app your agents reach, not a separate connector per tool.

  • Give Mem 0 and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use Mem 0 tools with role-based access control, and trace every call.
  • Prefer to run it yourself? Metorial is open source and self-hostable.

More integrations teams use with Mem 0

Google Sheets

Create, read, and update spreadsheets and their cell data. Read and write values to individual cells, ranges, or multiple ranges using A1 notation or named ranges. Apply cell formatting including text styles, backgrounds, borders, number formats, and conditional formatting. Manage sheets (tabs) within a spreadsheet—add, delete, copy, rename, and reorder them. Create and manage embedded charts, pivot tables, filter views, data validation rules, protected ranges, named ranges, and merged cells. Perform batch operations to apply multiple updates atomically.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Retrieve site properties and search for sites across Microsoft 365.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Google Drive

Upload, download, create, copy, move, rename, trash, and permanently delete files and folders in Google Drive. Search for files using complex queries filtering by name, MIME type, owner, modification date, labels, and other metadata. Share files and folders with specific users, groups, or domains with role-based permissions (owner, writer, commenter, reader). Manage shared drives and their members. Export Google Workspace files (Docs, Sheets, Slides) to standard formats like PDF, DOCX, and XLSX. Track file revision history and restore earlier versions. Create, read, update, and delete threaded comments and replies on files. Read label definitions and search files by label. Browse the Drive apps installed for your account. Store app-specific data in a hidden per-user folder.

Technical notes for Mem 0

Store, retrieve, search, update, and delete persistent memories for AI applications across users, agents, apps, and sessions. Extract facts from conversations or store messages directly. Browse and search memories with entity and metadata filters, inspect change history, manage entities, and track asynchronous processing.

Frequently asked questions

Common questions about connecting Mem 0 to AI agents with Metorial.

  1. How many tools does the Mem 0 MCP server have?
    The Mem 0 MCP server exposes 10 tools, including List Memories, Delete Memories, Get Memory. Each one is governed and traced through Metorial.
  2. Mem 0 exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Mem 0 MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use Mem 0 and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the Mem 0 MCP server yourself or use the hosted gateway.

Connect Mem 0 to production AI agents

See how Metorial gives your team governed access to Mem 0, with tracing and security controls built in.