Stash Download

Use your clipboard history in Cursor

Cursor's agent can look up what you copied, instead of you pasting it again.

The easy way

  1. Install Stash, move it to Applications and open it once.
  2. Open Settings → AI and click Connect next to Cursor.
  3. Restart Cursor, or turn the server on in its settings.

Stash changes only its own entry, keeps a one-time backup of the file, and stops without changing anything if the file is locked or looks unusual.

By hand

Put this in ~/.cursor/mcp.json for all projects:

{
  "mcpServers": {
    "stash": {
      "type": "stdio",
      "command": "/Applications/Stash.app/Contents/MacOS/Stash",
      "args": [
        "--mcp"
      ]
    }
  }
}

A file called .cursor/mcp.json inside a project counts only there. Don't commit your own path to a shared repository.

Try asking

  • “Use the JSON I copied from the docs as the test fixture.”
  • “What did I copy from Figma today?”
  • “Find the stack trace I copied before lunch.”

What Cursor supports

Cursor's docs list tools, prompts, resources, questions back to you (elicitation) and MCP Apps. Stash uses all of them, so it can ask before it saves or copies, and can show clips as cards.

If nothing happens

  • Look at the server in Cursor's MCP list: a red state shows the error.
  • Say “use Stash” once; the agent decides by your words.
  • Many servers at once can crowd each other out. Turn off the ones you don't need.

What it can see

Stash, Settings, AI: AI apps can see everything I copied and what I dictated. They can put text on my clipboard, and ask me first before changing anything.

At first: your whole history, collections, dictations, snippets and dictionary, except secrets Stash recognises. What it reads goes to that app and usually to its company. Narrow it in Settings → AI: the last hour, day, 7 or 30 days, with or without dictations. The full list.

Questions

Does it work with Cursor's remote or cloud agents?

No. They run elsewhere; the connector needs the Mac Stash is on.

Can I share this setup with my team?

The entry points at each person's own Stash, so everyone connects on their own Mac.

Can Cursor write to my clipboard?

It can ask to. Cursor can show the question, so you say yes or no.