[Blog](https://supermemory.ai/blog/) · [Learning](https://supermemory.ai/blog/tag/learning/)

# How do I give Claude, ChatGPT and Cursor long-term memory with MCP?

By [Shardul Mane](https://supermemory.ai/blog/author/shardul/) October 7, 2025 · 7 min read 

![A blurred, grainy photo of a blue sky over a dark hill with a warm streak of light, with the supermemory logo and the headline Shared context across AI clients.](https://supermemory.ai/_astro/cover.DpsB5acE_qnROH.webp)

Connect each app to the same memory server over MCP, and they all share one long-term memory. Add `https://mcp.supermemory.ai/mcp` as a remote MCP server in Claude, ChatGPT, Cursor or any other MCP client and sign in once in each. A decision you save from ChatGPT is then there when you ask Claude.

Below are the steps for each client, the tools the server gives each app, and when a plugin is the better fit. Everything is checked against our docs and Anthropic's and OpenAI's setup guides as of October 21, 2026.

## Why don't Claude and ChatGPT share memory already?

Each app keeps its memory to itself. ChatGPT can draw on [saved memories and past chats](https://help.openai.com/en/articles/8590148-memory-in-chatgpt), and Claude has [memory and chat search](https://support.claude.com/en/articles/11817273-use-claude-s-chat-search-and-memory-to-build-on-previous-context) of its own, but neither can read the other's, and neither reaches Cursor. MCP, the Model Context Protocol, is an [open standard for connecting AI applications to external systems](https://modelcontextprotocol.io/docs/getting-started/intro). Connect every app to the same memory server and they share whatever gets saved there.

Two things don't happen on their own. Connecting an app doesn't copy its past chats into the server: only what gets saved through the tools, or uploaded, is shared. And two different MCP memory servers don't share anything just because they speak the same protocol, so every app has to connect to the same one.

## How to connect each client

The server URL is the same in every client ([setup](https://supermemory.ai/docs/supermemory-mcp/setup)):

```
https://mcp.supermemory.ai/mcp
```

Sign-in uses OAuth. The client opens supermemory in your browser, you sign in or create an account, and you choose which spaces the client can access. There's no API key to paste.

### Claude (desktop and web)

1. Open **Customize → Connectors**, click **\+ Add**, then **Add custom connector**.
2. Name it `Supermemory`, paste the server URL, and click **Continue**. Keep the authentication settings Claude detects and click **Continue** again.
3. Under **Authentication**, choose **Sign in now**, keep the recommended OAuth client, and click **Add**.
4. Sign in to supermemory, choose the access you want (for example **Read + Write** or **Full access**), and click **Authorize**.

You can change or revoke access later from the same Connectors page ([Anthropic's guide](https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp)).

### ChatGPT (web)

1. Open **Plugins**, select the plus button, then **Add custom MCP server**.
2. Name it `Supermemory MCP` and paste the server URL under **Connection**. Leave the authentication settings as they are.
3. Select **I understand and want to continue**, then **Create as a plugin**, and sign in with Supermemory when ChatGPT asks.
4. On the authorization page, pick **Read + Write** (or **Read only** for search alone), **Full access** or **Scoped** to chosen spaces, and how long the connection should last. Then select **Approve** ([guide](https://supermemory.ai/docs/supermemory-mcp/chatgpt-web)).

To make supermemory ChatGPT's default memory, the guide suggests turning off ChatGPT's own **Enable memory** setting, which doesn't delete your past chats, and adding this to your custom instructions:

```
Use Supermemory MCP as my default memory and workspace memory whenever its tools are available. Use it first for both recall and saving new memories.
```

### Cursor

Add the server to `~/.cursor/mcp.json` and complete the sign-in Cursor opens:

```
{
  "mcpServers": {
    "supermemory": {
      "url": "https://mcp.supermemory.ai/mcp"
    }
  }
}
```

For coding work, the Cursor plugin does more than MCP: it searches memory with every substantive prompt and saves each turn without waiting for a tool call. The [Cursor memory guide](https://supermemory.ai/blog/cursor-memory-via-mcp/) covers both options.

### Any other MCP client

Add the URL as a remote HTTP MCP server and complete the OAuth flow the client opens. Menu names and config file locations vary between clients, and clients that take a JSON config generally accept the `mcpServers` shape above ([setup](https://supermemory.ai/docs/supermemory-mcp/setup)).

Once an app is connected, check it by asking "What Supermemory spaces can I access?" or "What is my active Supermemory space?"

## What each app can do once it's connected

You ask in plain language and the assistant picks the tool. These are the tools the server exposes today ([MCP docs](https://supermemory.ai/docs/supermemory-mcp/mcp)):

| Tool            | What it does                                                 |
| --------------- | ------------------------------------------------------------ |
| search\_memory  | Searches one space for memories that match a question        |
| get\_profile    | Returns stable and recent profile facts for a space          |
| add\_memory     | Saves something to memory                                    |
| forget\_memory  | Forgets something that's outdated                            |
| list\_documents | Lists stored documents with their summaries                  |
| get\_document   | Reads one stored document                                    |
| list\_memories  | Lists recent memories and the documents they came from       |
| list\_spaces    | Lists the spaces you can access                              |
| who\_am\_i      | Shows the signed-in account, its access and the active space |

Clients that support [MCP Apps](https://modelcontextprotocol.io/extensions/apps/overview) also get four interactive views inside the chat: a space picker (`select-space`), a save form you can edit before anything is stored (`guided-save`), a file upload (`upload-file`), and an interactive memory graph (`memory-graph`). Some clients also expose a `context` prompt that attaches the profile for your active space and up to three recently active ones. More on the server itself is on the [MCP page](https://supermemory.ai/mcp/).

## Spaces decide what each app sees

A space keeps a project's documents, memories and profile together, so recall doesn't mix unrelated work. Tools use your active space unless you name another one. Say "search the launch space for the pricing decision" for a one-off, or ask to switch spaces for everything after that ([how spaces work](https://supermemory.ai/docs/supermemory-mcp/mcp#how-spaces-work)).

Check the account and space in each app before you rely on shared memory. Being signed in with the same email in two AI products doesn't by itself mean both are connected to the same supermemory account or space, so ask each one "Which Supermemory account and space are you using?" For a team, decide which spaces are shared and which stay personal, and give each app access only to the spaces it needs.

## Test it with one fact

Use a made-up fact that no model could infer:

1. In ChatGPT, say: "Save to Supermemory: the demo project's release codename is Cedar-47\. This is test data."
2. Wait a little, since memories form in the background. Then ask Claude: "What's the demo project's release codename?" Check that the answer came from a supermemory search, not a guess.
3. Change it from either app ("the codename is now Cedar-48") and ask again.
4. Ask an app to forget the test fact, then search once more.
5. Ask the same question with a different space active. The codename shouldn't come up there.

This separates the things that can fail: the connection, the save, the space, and the answer.

## MCP or a plugin?

Use MCP for chat apps, and a plugin for a coding agent that has one. The difference is who decides when memory gets used:

|                   | MCP server                                                | Coding agent plugin                                                             |
| ----------------- | --------------------------------------------------------- | ------------------------------------------------------------------------------- |
| Works in          | Claude, ChatGPT, Cursor and any other MCP client          | Claude Code, Codex, Cursor, OpenCode and other agents with a supermemory plugin |
| Recall            | When the model decides to call a tool                     | Automatically, with each substantive prompt                                     |
| Saving            | When the model calls add\_memory, often because you asked | Automatically, as you work                                                      |
| Where memories go | Your active space, or the space you name                  | One container per repository, shared by the plugins                             |
| Sign-in           | OAuth, once in each client                                | Browser sign-in or an API key                                                   |

With MCP, say it plainly when something matters ("save this to Supermemory"), because the model may not call a tool on its own. The plugins hook into the agent instead, so nothing waits on the model's judgment. The [coding agents page](https://supermemory.ai/coding-agents/) lists the plugins, and the [quickstart](https://supermemory.ai/docs/quickstart) covers agents you build on the API. If you're building on the Vercel AI SDK, the [AI SDK guide](https://supermemory.ai/blog/how-to-use-supermemory-with-ai-sdk/) covers that path.

## Troubleshoot at the failing step

| Symptom                                      | First check                                                                                        |
| -------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| The server won't connect                     | The URL, whether the client supports remote MCP servers, and the OAuth error it shows              |
| Connected, but no tools show up              | Whether the tools are enabled in the client and what access you approved                           |
| A save worked, but another app finds nothing | The account, the space, whether the memory has formed yet, and what the search actually returned   |
| An old answer keeps coming back              | Whether it came from memory or from the chat's own context, and whether the old fact was forgotten |
| Unrelated project context shows up           | The active space and which spaces the app can access                                               |

Keep the actual error and use the client's supported sign-in flow. Turning off certificate checks or ignoring OAuth errors won't fix memory.

## Common questions

### Does connecting an app copy my old ChatGPT or Claude memories?

No. Only what gets saved through the tools, or uploaded, ends up in supermemory. For ChatGPT, the guide suggests opening **Manage** in its memory settings, copying the summary, pasting it into a chat with supermemory enabled and saying "Add this to Supermemory" ([guide](https://supermemory.ai/docs/supermemory-mcp/chatgpt-web)).

### Do I need an API key?

No. The server uses OAuth, so each client signs in through your browser ([setup](https://supermemory.ai/docs/supermemory-mcp/setup)).

### Can I limit what an app can see?

Yes. Each client needs your approval before it can read or write memory ([changelog](https://supermemory.ai/changelog/approve-mcp-connections-before-they-use-memory/)). On the approval page, choose **Scoped** instead of **Full access** to pick specific spaces, or **Read only** if the app should only search.

### Which clients does it work with?

Any client that can connect to a remote MCP server. Our docs have step-by-step guides for [Claude](https://supermemory.ai/docs/supermemory-mcp/claude-desktop) and [ChatGPT](https://supermemory.ai/docs/supermemory-mcp/chatgpt-web), and the [setup page](https://supermemory.ai/docs/supermemory-mcp/setup) covers Cursor and other clients.

## Related posts

1. [Cursor memory: rules, memory banks and the supermemory plugin Cursor doesn't remember your earlier chats on its own. It loads the instructions you write down, in rules and AGENTS.md files. How memory banks fill part of the gap, and how the supermemory plugin adds memory that follows the repo, in Cursor and Grok Bot. LearningMay 27, 2026 ](https://supermemory.ai/blog/cursor-memory-via-mcp/)
2. [A Practical Workflow for Using Long-Term AI Memory Long-term AI memory works best when you deliberately save useful context, verify what was retained, and correct it when circumstances change. LearningJun 22, 2026 ](https://supermemory.ai/blog/personal-ai-memory-workflow/)
3. [How Perplexity memory works: what it remembers and how to delete it Yes, Perplexity remembers you between conversations. Its Memory feature draws on saved memories and your past searches. You can turn either off in Settings, under Memory, and delete memories there or past searches in your History. LearningApr 30, 2026 ](https://supermemory.ai/blog/how-perplexity-memory-works/)
4. [Supermemory with TanStack Start: A Server-Side Memory Boundary Keep memory credentials and authorization in TanStack Start server functions while the client receives only permitted context. LearningJul 31, 2026 ](https://supermemory.ai/blog/supermemory-with-tanstack/)

## Other posts.

1. [How we built insanely good memory for grok bot (by making it a teammate instead) Grok Bot is built around Bots working together. So for Grok Bot, we built Supermemory as a Bot. It sits in the conversation like any other teammate. NewsNov 3, 2026 ](https://supermemory.ai/blog/grok-bot-memory/)
2. [We dug into Claude Code's memory. Here's exactly how it works Last month, our founder Dhravya Shah broke down how Instinct's memory works. We wanted to do the same for Claude, since that's where we spend most of our day. EngineeringOct 28, 2026 ](https://supermemory.ai/blog/claude-code-auto-memory/)
3. [How AI memory actually works. A beginner's guide How AI apps remember things between chats, why a bigger context window doesn't solve it, and the parts every memory system shares. EngineeringOct 9, 2026 ](https://supermemory.ai/blog/how-ai-memory-works/)
4. [We're open sourcing the company brain. Here's how we designed the multiplayer harness Company Brain is now open source. A walkthrough of the multiplayer harness behind its Slack experience, from proactivity and memory boundaries to approvals and recovery. NewsSep 25, 2026 ](https://supermemory.ai/blog/open-sourcing-company-brain/)
5. [Jev changes a lot in memory & context engineering. Here's exactly how. We tested Jev across reranking, chunking, observation, and harness decisions. Here is where fast decision models help memory systems, where they cost more, and where they still fall short. EngineeringSep 24, 2026 ](https://supermemory.ai/blog/jev-memory-context-engineering/)
6. [I reverse-engineered Instinct's memory. Here's exactly how it works Instinct keeps its memory as git-tracked markdown files, found with grep rather than vectors. Here is the whole system as far as black-box probing can reconstruct it, and how to rebuild it on supermemory in about 60 lines. EngineeringSep 20, 2026 ](https://supermemory.ai/blog/reverse-engineering-instinct-memory/)
7. [An update to supermemory We've discontinued the supermemory company brain and Nova. Everyone who was charged has been refunded, our MCP and plugins continue to run, and we're going all in on the memory engine. NewsSep 10, 2026 ](https://supermemory.ai/blog/an-update-to-supermemory/)
8. [Scaling Conversations: How Adapta Grew Usage Without Losing Context Adapta added Supermemory as a persistent memory layer so every conversation keeps its context — letting the team scale usage without losing the thread. Case StudyJun 12, 2026 ](https://supermemory.ai/blog/adapta-scaling-conversations/)
9. [How Chatarmin Ditched RAG and Went Memory-Only with Supermemory Chatarmin replaced a heavy RAG pipeline with Supermemory's memory layer — cutting average AI response time from 40s to 12s and token usage by 40–50%. Case StudyJun 10, 2026 ](https://supermemory.ai/blog/chatarmin-memory-only/)
10. [SMFS: making agentic retrieval 55% cheaper AND more accurate We launched SMFS.ai (Supermemory Filesystem) a few weeks ago, with a simple bet: We can redesign the filesystem specifically for agents, with special files, structures, and commands that it can use for it's tasks. Today, SMFS is used by hundreds of companies to power their agents. EngineeringMay 28, 2026 ](https://supermemory.ai/blog/smfs-making-agentic-retrieval-55-cheaper-and-more-accurate/)
11. [Introducing Dynamic Dreaming: supermemory now connects the dots, for you. Dreaming is magical. TLDR: We're launching Dynamic Dreaming in supermemory today, which automatically works if you're using supermemory in any way - API, OpenClaw, Hermes agent, etc. EngineeringMay 25, 2026 ](https://supermemory.ai/blog/introducing-dynamic-dreaming-supermemory-now-connects-the-dots-for-you/)
12. [Dear reader, we just made supermemory insanely cheap... the Context Cloud When I first started building supermemory, I had one goal: To build the best memory system for AI. I would talk to customers, and find out that memory was not the only thing they needed - They were all setting up 7-8 different vendors at the same time. EngineeringMay 18, 2026 ](https://supermemory.ai/blog/dear-reader-we-just-made-supermemory-insanely-cheap-the-context-cloud/)
13. [Introducing @supermemory/tools v2.0.0 Today we're releasing v2.0.0\. This release unifies the API across all agents sdk integrations from AI SDK to Mastra, makes conversation identity a first-class concept, and ships with memory saving on by default. EngineeringApr 27, 2026 ](https://supermemory.ai/blog/introducing-supermemory-tools-v2-0-0/)
14. [Solving the Precision-Recall Tradeoff: Search Result Aggregation When you're building memory for AI, search is your foundational layer. The way search generally works is straightforward: the user defines a query, and then sets a limit (top-K) on how many search results they want returned. Usually, this is set to 10 or 20. EngineeringApr 5, 2026 ](https://supermemory.ai/blog/solving-the-precision-recall-tradeoff-search-result-aggregation/)
15. [OpenClaw Memory Problems: Why It Forgets and How to Fix It (2026) OpenClaw remembers by writing Markdown files in its workspace, so it forgets anything the agent didn't save. Why that breaks down, how the supermemory plugin recalls and saves on every turn instead, and how to install it, free on every plan. EngineeringFeb 19, 2026 ](https://supermemory.ai/blog/why-everyone-is-complaining-about-openclaws-memory-it-sucks-and-why-supermemory-fixes-it/)
16. [Stateful Coding Agents with Memory: Build Long-Running Agents (2026) We built a plugin for Claude Code and OpenCode that gives your coding agent persistent memory. It remembers your preferences, learns your codebase, and never loses context mid-conversation. The result is an agent you can run for months without starting over. EngineeringFeb 18, 2026 ](https://supermemory.ai/blog/infinitely-running-stateful-coding-agents/)
17. [Clawd / Molt bot's memory SUCKS. We gave it supermemory. I'm the founder of supermemory. Clawd/Molt bot is blowing up right now, with many, many use cases. I set it up, too, and have been using it through telegram. TLDR: just go to https://supermemory.ai/docs/integrations/clawdbot to set up supermemory for your clawd bot. EngineeringJan 28, 2026 ](https://supermemory.ai/blog/clawd-molt-bots-memory-sucks-we-gave-it-supermemory/)
18. [Catch up with our UNFORGETTABLE Launch Week Over the last year, one belief has guided almost everything we’ve built at Supermemory AI becomes meaningfully useful only when it remembers. Memory shouldn’t be something developers rebuild from scratch. It shouldn’t be fragile, expensive, or trapped inside a single tool. NewsJan 4, 2026 ](https://supermemory.ai/blog/catch-up-with-our-unforgettable-launch-week/)
19. [Empowering the Next Generation of Founders: Supermemory Startup Program If there’s one thing we’ve learned while building Supermemory, it’s that most startups don’t fail because they didn't build features; they fail when infrastructure slows them down, or they built too slow. NewsDec 31, 2025 ](https://supermemory.ai/blog/empowering-the-next-generation-of-founders-supermemory-startup-program/)
20. [Building code-chunk: AST Aware Code Chunking At Supermemory, we're building context engineering infrastructure for AI. A huge part of that is dealing with code: ingesting repos, understanding structure, and making it searchable. The problem is that most code chunking solutions are terrible. We built code-chunk to fix this. EngineeringDec 29, 2025 ](https://supermemory.ai/blog/building-code-chunk-ast-aware-code-chunking/)
21. [Supermemory raises $3 million with the best memory engine for LLMs Today, I am excited to announce our first funding round to accelerate our mission of building an interoperable, scalable and reliable memory for LLMs and agents. Memory is one of the hardest challenges in AI right now. NewsOct 6, 2025 ](https://supermemory.ai/blog/supermemory-raises-3-million-and-building-the-best-memory-engine-for-llms/)
22. [Mem0 vs Supermemory: Why Scira Switched Scira AI moved its production memory layer from Mem0 to Supermemory. This is what failed, what improved, and how the team evaluated the two systems. Case StudyOct 2, 2025 ](https://supermemory.ai/blog/why-scira-ai-switched/)
23. [Never Record Again: How Montra Uses Supermemory to Rethink Video Creation Campbell Baron, the founder of Montra, has been making videos since he was twelve. By thirteen, he was already doing brand work. Today, he’s betting on a very different future for creators: a world where recording is the exception, and most videos are generated from scratch. Case StudyAug 21, 2025 ](https://supermemory.ai/blog/never-record-again-how-montra-uses-supermemory-to-rethink-video-creation/)
24. [Unified Memory That Works Where You Work: Your Second Brain With Supermemory Hi everyone, I’m Dhravya, the founder of Supermemory. I want to start with a little story behind why this product means so much to me. You can also skip straight to what it is and how it works below. EngineeringJul 25, 2025 ](https://supermemory.ai/blog/unified-memory-that-works-where-you-work-your-second-brain-with-supermemory/)
25. [Supermemory just got faster on PlanetScale What is Supermemory? Supermemory completes the missing part of the LLM puzzle: memory. Just as memory is crucial for human intelligence, it's essential for truly intelligent AI systems. EngineeringJul 18, 2025 ](https://supermemory.ai/blog/supermemory-just-got-faster-on-planetscale/)
26. [Faster, smarter, reliable infinite chat: Supermemory IS context engineering. People are obsessed with prompts and prompt engineering. Sure, what you say is important, but what the model knows when you say it is the difference between a stateless text generator and an intelligent AI system. In short, context is the most crucial component. NewsJul 9, 2025 ](https://supermemory.ai/blog/faster-smarter-reliable-infinite-chat-supermemory-is-context-engineering/)
27. [We solved AI API interoperability One API to rule them all, One spec to find them, One library to bring them all and in the TypeScript, bind them. When we were building the Infinite Chat API, initially, we only supported the OpenAI format. This was fine, until a lot of our customers started asking for more. EngineeringJul 7, 2025 ](https://supermemory.ai/blog/we-solved-ai-api-interoperability/)
28. [The Wow Factor of Memory - How Flow Used Supermemory To Build Smarter, Stickier Products Overview: Flow is a note-taking app built around a bold vision: to create a more personal, context-aware writing experience powered by AI. At the heart of this mission is memory. Case StudyJun 14, 2025 ](https://supermemory.ai/blog/the-wow-factor-of-memory-how-flow-used-supermemory-to-build-smarter-stickier-products/)
29. [The UX and technicalities of awesome MCPs Last month, we launched the Supermemory MCP, mostly to test our own infrastructure and get some initial traction. It blew up. To my absolute surprise, the initial launch itself got half a million impressions (!!!). Then, we launched and got #2 on ProductHunt too. EngineeringJun 8, 2025 ](https://supermemory.ai/blog/the-ux-and-technicalities-of-awesome-mcps/)
30. [Architecting a memory engine inspired by the human brain Language is at the heart of intelligence, but what truly powers meaningful interaction is memory — the ability to accumulate, recall, and contextualize information over time. Large Language Models (LLMs) have mastered language, but memory remains their Achilles’ heel. EngineeringJun 5, 2025 ](https://supermemory.ai/blog/memory-engine/)

## Start building with supermemory.

Memory and continual learning for any model, any harness. Available through our API, plugins, and MCP.

[Build with supermemory ](https://console.supermemory.ai/)
