Supermemory MCP server
74 operations0 webhooks
Memory for AI agents with Supermemory: add documents, files and URLs to a namespace, search memories and document chunks, read user profiles, forget memories, and manage namespaces, connectors (Notion, Google Drive, OneDrive, Gmail, GitHub and more) and organization settings. Covers the v5 API and the legacy v3/v4 routes (74 operations).
Try Supermemory with your agent
Connect Supermemory, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.
Using Corsair, show me what you can do in Supermemory on my account, then run one read-only example and show me the result.
Supermemory tools and triggers
Tools are what your agent can do in Supermemory through Corsair's MCP server. Triggers are the Supermemory events a routine can start from.
Legacy
- Connections.ConfigureWrite
Legacy v3/v4 route. Configure connection. Configure resources for a connection (supported providers: GitHub for now)
legacy.connections.configure
- Connections.CreateWrite
Legacy v3/v4 route. Create connection. Initialize connection and get authorization URL. Returns an authorization link the account owner opens to connect the app. Needs the Pro plan (the free plan answers 403).
legacy.connections.create
- Connections.DeleteDestructive
Legacy v3/v4 route. Delete connection by ID. Delete a specific connection by ID.
legacy.connections.delete
- Connections.Delete By ProviderDestructive
Legacy v3/v4 route. Delete connection for a specific provider and container tags.
legacy.connections.deleteByProvider
- Connections.DocumentsRead-only
Legacy v3/v4 route. List documents indexed for a provider and container tags.
legacy.connections.documents
- Connections.GetRead-only
Legacy v3/v4 route. Get connection details with id.
legacy.connections.get
- Connections.Get By ProviderRead-only
Legacy v3/v4 route. Get connection details with provider and container tags.
legacy.connections.getByProvider
- Connections.ListRead-only
Legacy v3/v4 route. List connections. List all connections.
legacy.connections.list
- Connections.ResourcesRead-only
Legacy v3/v4 route. Fetch resources for a connection (supported providers: GitHub for now)
legacy.connections.resources
- Connections.SyncWrite
Legacy v3/v4 route. Sync connection. Initiate a manual sync of connections.
legacy.connections.sync
- Container Tags.DeleteDestructive
Legacy v3/v4 route. Delete container tag. Delete a container tag and all its documents and memories. Only organization owners and admins can perform this action.
legacy.containerTags.delete
- Container Tags.GetRead-only
Legacy v3/v4 route. Get container tag settings. Get settings for a container tag.
legacy.containerTags.get
- Container Tags.ListRead-only
Legacy v3/v4 route. List all container tags with isNova flag.
legacy.containerTags.list
- Container Tags.MergeDestructive
Legacy v3/v4 route. Merge container tags. Merge multiple container tags into a target tag. All documents from the source tags will be updated to reference the target tag, and the source tags will be deleted after successful merge.
legacy.containerTags.merge
- Container Tags.Merge StatusRead-only
Legacy v3/v4 route. Get container tag merge status. Get queued container tag merge status.
legacy.containerTags.mergeStatus
- Container Tags.UpdateWrite
Legacy v3/v4 route. Update container tag settings. Update settings for a container tag.
legacy.containerTags.update
- Conversations.IngestWrite
Legacy v3/v4 route. Ingest or update a conversation.
legacy.conversations.ingest
- Documents.AddWrite
Legacy v3/v4 route. Add document. Add a document with any content type (text, url, file, etc.) and metadata.
legacy.documents.add
- Documents.Batch AddWrite
Legacy v3/v4 route. Batch add documents. Add multiple documents in a single request. Each document can have any content type (text, url, file, etc.) and metadata.
legacy.documents.batchAdd
- Documents.Bulk DeleteDestructive
Legacy v3/v4 route. Bulk delete documents by IDs or container tags.
legacy.documents.bulkDelete
- Documents.ChunksRead-only
Legacy v3/v4 route. Get document chunks. Get all chunks for a document, ordered by position.
legacy.documents.chunks
- Documents.DeleteDestructive
Legacy v3/v4 route. Delete document by ID or customId. Delete a document by ID or customId.
legacy.documents.delete
- Documents.File UrlRead-only
Legacy v3/v4 route. Get presigned file URL. Get a fresh presigned URL for a document's file. Returns a time-limited URL (24h) that can be used to download the file.
legacy.documents.fileUrl
- Documents.GetRead-only
Legacy v3/v4 route. Get document. Get a document by ID.
legacy.documents.get
- Documents.ListRead-only
Legacy v3/v4 route. List documents. Retrieves a paginated list of documents with their metadata and workflow status.
legacy.documents.list
- Documents.List ProcessingRead-only
Legacy v3/v4 route. Get processing documents. Get documents that are currently being processed. Default view=active is the live in-flight queue. view=pending is every unfinished document with no time cutoff. view=all also includes failed documents, paginated.
legacy.documents.listProcessing
- Documents.SearchRead-only
Legacy v3/v4 route. Search documents. Search memories with advanced filtering.
legacy.documents.search
- Documents.UpdateWrite
Legacy v3/v4 route. Update document. Update a document with any content type (text, url, file, etc.) and metadata.
legacy.documents.update
- Documents.Upload FileWrite
Legacy v3/v4 route. Upload a file to be processed.
legacy.documents.uploadFile
- Memories.CreateWrite
Legacy v3/v4 route. Create memories directly, bypassing the document ingestion workflow. Generates embeddings and makes them immediately searchable.
legacy.memories.create
- Memories.ForgetDestructive
Legacy v3/v4 route. Forget a memory. Forget (soft delete) a memory entry. The memory is marked as forgotten but not permanently deleted.
legacy.memories.forget
- Memories.Forget MatchingDestructive
Legacy v3/v4 route. Forget memories matching a prompt/query. Agentic mass-forget. Given a prompt or query, a tool-calling agent searches the container's memories and soft-deletes everything matching the target. Use dryRun to preview first.
legacy.memories.forgetMatching
- Memories.ListRead-only
Legacy v3/v4 route. List memory entries with history. List all latest memory entries from specified container tags with their update history and source documents.
legacy.memories.list
- Memories.SearchRead-only
Legacy v3/v4 route. Search memory entries - Low latency for conversational.
legacy.memories.search
- Memories.UpdateWrite
Legacy v3/v4 route. Update a memory by creating a new version. The original memory is preserved with isLatest=false.
legacy.memories.update
- Profile.BucketsRead-only
Legacy v3/v4 route. Get profile buckets. Returns the effective profile bucket definitions for a given container tag — org-level buckets merged with any container-tag-level additions.
legacy.profile.buckets
- Profile.GetRead-only
Legacy v3/v4 route. Get user profile with optional search results.
legacy.profile.get
- Settings.GetRead-only
Legacy v3/v4 route. Get settings for an organization.
legacy.settings.get
- Settings.ResetDestructive
Legacy v3/v4 route. Reset organization content: removes documents, memories, spaces (except default project), connections, and org settings. Preserves the org, members, and billing. Deletes every document and memory in the organization; cannot be undone.
legacy.settings.reset
- Settings.Suggest BucketsRead-only
Legacy v3/v4 route. Suggest profile bucket definitions based on the organization context prompt. Returns 3–6 bucket suggestions tailored to the use-case described in the prompt.
legacy.settings.suggestBuckets
- Settings.UpdateWrite
Legacy v3/v4 route. Update settings for an organization.
legacy.settings.update
Documents
- AddWrite
Add document. Turn text or a supported URL into searchable, evolving memory. Supply a new ID to create a document, or reuse an existing ID to append new information while preserving its history.
documents.add
- Batch AddWrite
Batch add documents. Build a knowledge base efficiently by ingesting up to 600 text or URL documents at once. Existing caller-defined IDs append new information using the same semantics as single-document ingestion.
documents.batchAdd
- DeleteDestructive
Delete documents. Permanently remove documents and their derived knowledge by document ID or caller-defined ID. Each requested ID is handled independently so successful deletions are preserved when another ID fails. Deletes the documents and the memories extracted from them; cannot be undone.
documents.delete
- GetRead-only
Get document. Retrieve a document's canonical content, metadata, and processing state by document ID or caller-defined ID. Optionally include its source chunks, derived memories, or both in the same response.
documents.get
- Memory CountsRead-only
Count document memories. Count live memories in this namespace for up to 100 public document IDs. Missing or inaccessible documents are omitted, not reported as zero.
documents.memoryCounts
- Replace With FileDestructive
Replace document with file. Replace an existing document with a new file while keeping its stable document ID. Content and caller metadata are overwritten, then the document is reprocessed asynchronously.
documents.replaceWithFile
- UpdateWrite
Update document. Refresh an existing document without changing its stable ID. Supplied content replaces the canonical content and is reprocessed; omitted fields remain unchanged.
documents.update
- Update FileWrite
Partially update document file. Refresh only the file-backed fields you provide. Supplying a file replaces the canonical content; omitted metadata and processing context remain unchanged.
documents.updateFile
- Upload FileWrite
Upload file. Transform an uploaded file into searchable knowledge and learned memory. The response returns as soon as ingestion is safely queued while extraction and memory formation continue asynchronously.
documents.uploadFile
Connectors
- CreateWrite
Create connector. Connect an external source to this namespace. OAuth providers return an authorization url to send the user to; providers that authenticate with config start syncing right away. Needs the Pro plan (the free plan answers 403).
connectors.create
- DeleteDestructive
Delete connector. Disconnect a connector and stop its webhooks. Its imported documents are deleted too unless deleteDocuments is false.
connectors.delete
- GetRead-only
Get connector. Read one connector. Add include=syncs to include its recent sync runs and the items that failed. include=picker needs an admin with write access, since the link changes what syncs.
connectors.get
- ListRead-only
List connectors. List the connectors that sync into this namespace.
connectors.list
- List AllRead-only
List all connectors. List connectors across every namespace this key can read. Use it for admin views that span users or projects.
connectors.listAll
- SyncWrite
Sync connector. Start a sync now. Returns 409 while a sync for this connector is already running.
connectors.sync
- UpdateWrite
Update connector. Change what a connector syncs. A new selection replaces the old one and starts a sync.
connectors.update
Namespaces
- DeleteDestructive
Delete namespace. Retire a namespace by permanently deleting its content, or preserve that knowledge by moving everything into another namespace first. Moves are queued and complete asynchronously. Deletes the namespace and everything in it unless moveTo names a namespace to move the content into; cannot be undone.
namespaces.delete
- GetRead-only
Get namespace settings. Read the supporting context that helps Supermemory understand content and form better memories inside this namespace.
namespaces.get
- ListRead-only
List namespaces. Discover every namespace available to the caller, including its purpose, document volume, memory count, and lifecycle timestamps.
namespaces.list
- UpdateWrite
Update namespace settings. Shape how Supermemory understands an existing namespace by updating the background context used during ingestion and memory formation.
namespaces.update
Profiles
- Buckets.DeleteDestructive
Delete profile buckets. Remove profile categories created specifically for this namespace. Unknown names are safely ignored, while organization-wide buckets remain protected.
profiles.buckets.delete
- Buckets.GetRead-only
Get profile buckets. Inspect the profile taxonomy active in this namespace. The response combines organization-wide buckets with namespace-owned additions as a concise name-to-description map.
profiles.buckets.get
- Buckets.SetWrite
Add or update profile buckets. Teach Supermemory new ways to organize this namespace's profile, or refine how existing namespace-owned buckets are classified. Omitted buckets remain unchanged and organization-wide buckets stay protected.
profiles.buckets.set
- GetRead-only
Get profile. Read a continuously maintained understanding of the subject represented by this namespace. Stable facts, evolving context, and selected custom buckets are returned together without requiring a search query.
profiles.get
Memories
- ForgetDestructive
Forget memories by ID. Remove exact memories from normal recall while preserving their audit history. Each ID is handled independently and any missing or ineligible memory is reported without rolling back successful changes. Forgets the memories with these ids; cannot be undone.
memories.forget
- Forget MatchingDestructive
Forget memories semantically. Describe what should be forgotten in natural language, then preview or apply the matching set. Use dry-run results with the exact-ID endpoint when you need a reviewable, drift-free workflow. Forgets every memory the query matches; cannot be undone.
memories.forgetMatching
- GetRead-only
Get memory. Retrieve one memory by ID. Optionally include its versions (up to three steps away, nearest first), its direct extends and derives links, up to relatedLimit each, and its source document.
memories.get
Organization
- GetRead-only
Get organization settings. Read the shared background that guides memory formation across the organization, together with the number of active namespaces.
organization.get
- UpdateWrite
Update organization settings. Give Supermemory organization-wide background that improves how content is interpreted across every namespace. Send null to remove the existing context.
organization.update
Feedback
- SendDestructive
Send feedback. Report a bug, request a feature or flag a docs problem to the Supermemory team. Built for AI agents: send structured JSON and an engineer picks it up. Authentication is optional for requests with a usable client IP. Cross-zone Cloudflare Worker requests and requests without a client IP must provide an API key. Sends a message to Supermemory; it is not undone.
feedback.send
Graph
- GetRead-only
Get memory graph. Page through a namespace's documents with their memories as graph nodes and edges, for example to render @supermemory/memory-graph. Pass nextCursor back as cursor until it is null.
graph.get
Resources
- ListRead-only
List resources. Browse documents, source chunks, or learned memories through one predictable paginated contract. Choose the collection in the path; the other collection arrays remain empty for a stable response shape. When listing documents, set include.content to include the last published extracted text.
resources.list
Search
- QueryRead-only
Search memories. Recall the most relevant learned context and source passages from a namespace. Hybrid search combines memories with document chunks by default, with optional query rewriting, reranking, and supporting context attachments.
search.query
Connect Supermemory to Claude, ChatGPT or Cursor
- 1
Connect Supermemory in Corsair
Add your Supermemory API key once in Corsair. Corsair stores the credential encrypted and makes the Supermemory API calls for your agent, so it never goes into a prompt or a config file. Connect Supermemory
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Supermemory. On a ChatGPT personal plan, connect Supermemory here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.Add a custom MCP server with the address and choose OAuth. Personal plans get read tools only.Add to CursorOr add this to~/.cursor/mcp.json. Cursor opens Corsair to sign in the first time it connects.{ "mcpServers": { "corsair": { "url": "https://mcp.corsair.dev/mcp" } } }Run this, then run/mcpin Claude Code to sign in.claude mcp add --transport http corsair https://mcp.corsair.dev/mcpCodex, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client
- 3
Sign in and choose what needs your approval
Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, Supermemory's read and write operations run right away and its 17 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.
FAQ
Install corsair and @corsair-dev/supermemory, add the Supermemory plugin, and connect with an API key. Then call methods like corsair.supermemory.api.connectors.create() from your app. Corsair keeps each tenant isolated.
Yes. Supermemory requires an API key from your Supermemory account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit Supermemory, GitHub, Notion, Stripe, and the rest. Trigger Supermemory from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for memory for AI agents with Supermemory: add documents, files and URLs to a namespace, search memories and document chunks, read user profiles, forget memories, and manage namespaces, connectors (Notion, Google Drive, OneDrive, Gmail, GitHub and more) and organization settings. Covers the v5 API and the legacy v3/v4 routes (74 operations). Common builds include sync jobs, admin tooling, and agents that call Supermemory APIs from your backend.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per Supermemory API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/supermemory in the open repo. When Supermemory ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your Supermemory data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Supermemory data on your behalf.
Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.
Yes. Put Supermemory on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 17 destructive Supermemory operations. You can change a link's mode at hub.corsair.dev/me.