{
  "source_file": "0930",
  "source_platform": "Dev.to",
  "author": "Edward Izgorodin",
  "title_listed": "How do I share developer preferences between Claude Desktop and Cursor without retyping prompts?",
  "keywords": "",
  "domain": "大模型算法",
  "content_type": "深度技术解析",
  "is_paid_flag": "否",
  "url": "https://dev.to/izgorodin/how-do-i-share-developer-preferences-between-claude-desktop-and-cursor-without-retyping-prompts-560a",
  "publish_date": "2026-09-28",
  "corpus_stage": "",
  "notes": "",
  "id": "15214a5b6411",
  "collected_at": "2026-10-02T14:02:54",
  "title": "How do I share developer preferences between Claude Desktop and Cursor without retyping prompts? - DEV Community",
  "body_markdown": "You told Claude Desktop that you use pnpm, that tests go in Vitest, and that you want short answers without a summary at the end. Then you opened Cursor and typed the same three lines again. A week later you changed your mind about the summary and had to change it in two places.\nThe short answer: keep them in a place both tools can read. Each tool's own settings apply only inside that tool, but both speak MCP, so one memory server connected to each as the same account, plus a one-time instruction in each to check it before answering, leaves one copy to change. Below is where each tool keeps preferences today, why a one-time copy goes stale, and a two-minute check with a control.\nDisclosure: I work on Mnemoverse, one of the memory layers that can sit between these two tools.\nClaude Desktop keeps preferences for the Claude apps\nAnthropic documents several places; these three are where a preference like yours ends up.\nInstructions for Claude.\n\"Instructions are account-wide settings that help Claude understand your general instructions that Claude should consider in responses.\" You set them once under Settings, and they follow your account across the Claude apps.\nProject instructions.\nThese \"only apply to chats within that project\", which is what you want for one codebase's conventions.\nMemory.\nClaude can \"remember context from your chats and carry it into new conversations\". It is \"on by default for Free, Pro, and Max plans on the web, Claude Desktop, and Claude Mobile\", and \"Each project has its own separate memory space\".\nAll three apply inside Claude's own apps, and none of them is among the rule types Cursor's documentation says it reads.\nCursor keeps preferences for Cursor\nCursor's rules page gives the reason rules exist, under \"How rules work\": \"Large language models don't retain memory between completions. Rules provide persistent, reusable context at the prompt level.\"\nThe kind that matches a personal preference is the User Rule. \"User Rules are global preferences defined in Customize → Rules that apply across all projects. They are used by Agent (Chat) and are perfect for setting preferred communication style or coding conventions\". The same page calls them \"Global to your Cursor environment.\"\nProject Rules in\n.cursor/rules\nand an\nAGENTS.md\nat the repository root travel with the code, so a teammate who clones the repo gets them. That solves the codebase half. It does not reach a Claude Desktop chat: none of the Anthropic pages above says a chat reads\n.cursor/rules\nor\nAGENTS.md\n.\nWhat Anthropic offers for moving it\nAnthropic documents a transfer and frames it as a move: it lets you \"import memories from other AI providers into Claude, or export your Claude memory for backup or migration\", and the prompt it recommends begins \"I'm moving to another service and need to export my data\". The flow is a prompt you run in the other assistant, asking it to list every memory it holds, including \"Instructions I've given you about how to respond (tone, format, style, 'always do X', 'never do Y')\", and then a text box in Claude where you paste the result and click \"Add to memory\".\nThe other direction has the same shape: Anthropic suggests asking Claude to \"Write out your memories of me verbatim, exactly as they appear in your memory\" and pasting the result, which for Cursor means into a User Rule.\nEither way it is a one-time copy. The next preference you change is back to two places. The retyping has been given a better interface, not removed.\nThe one store both tools can reach\nBoth Claude Desktop and Cursor speak MCP. So there is a place neither of them owns and both can call: a memory server connected to each as the same account. A preference written from Cursor is a record in that store, and a new Claude Desktop chat can read it, because the store is the same one.\nTwo things have to be true, and they are worth checking rather than assuming.\nBoth tools are connected as the same account.\nWhen the memory belongs to an account on the server, two connections under two accounts are two memories that happen to share a name.\nEach tool is told to read before it answers.\nA connected server does nothing until the model calls it. That instruction is typed once per tool: in Claude Desktop it goes into Instructions for Claude, in Cursor into a rule, either a User Rule for every project or a rule file in the repository. After that, a preference is written once and both tools read it; changing it is one more write, and both tools see that too.\nHow that looks with Mnemoverse\nClaude Desktop.\nIn Anthropic's current steps it is Customize > Connectors, then \"+\" and \"Add custom connector\": paste\nhttps://mcp.mnemoverse.com/mcp\nand complete the browser sign-in on first use. There is no config file and no key to paste. Anthropic lists custom connectors on \"Free, Pro, Max, Team, and Enterprise plans\", with one custom connector on Free; on Team and Enterprise an owner adds it first.\nCursor.\nThe Add to Cursor button on\nour Cursor page\nadds the same hosted server to\n~/.cursor/mcp.json\n. The link carries only the server address, no key. Then Cursor Settings → Tools & MCPs → Connect, and you approve in the browser.\nSigned in as the same account, the two tools share one memory. Our Cursor page puts it in one sentence: \"The memory belongs to the account, not to a tool or a key, so a rule you store in Cursor can be recalled in Claude Code or ChatGPT without re-explaining.\" Claude Desktop is one more client on the same account.\nFor that instruction,\nour agent memory page\nhas a block you paste once into Instructions for Claude and once into Cursor, where our docs show it as\n.cursor/rules/mnemoverse.mdc\nwith\nalwaysApply: true\n. The Claude setting is per account, so each person on a team sets it once for themselves; the Cursor rule file can be committed with the repository.\nCheck it in two minutes, with a control\nWrite one preference in Cursor.\nAsk the agent to remember that you use pnpm and never npm.\nOpen a new chat in Claude Desktop\nand ask which package manager you use. The answer should come from a Mnemoverse\nmemory_read\ncall you can see in the chat. Claude's own memory and its past-chat search can answer too, the second one also as a visible tool call, so check the tool name.\nControl.\nOpen one more new chat, switch Mnemoverse off for it under + > Connectors, and ask the same question. It should not know. If it still says pnpm, Claude's own memory or instructions hold it, and step 2 proved nothing: repeat steps 1 and 2 with a preference you have never given Claude.\nChange it once.\nTell Cursor you switched from pnpm to Bun. Ask Claude Desktop again: Bun, again from\nmemory_read\n. One edit, both tools.\nIf step 2 comes back empty, look at the tool call. No\nmemory_read\nat all: check that Mnemoverse is on for that chat under + > Connectors and that the instruction is saved. A\nmemory_read\nthat returns nothing: the two tools are signed in as different accounts (\ntroubleshooting\n).\nThe\nfull review\nchecks six memory services against the same mechanism and names the ways sharing quietly stops. Which of your preferences do you currently keep in more than one tool?\nSetup for\nClaude Desktop\nand\nCursor\nis in our docs, and the MCP server package on npm is open source (MIT):\ngithub.com/mnemoverse/mcp-memory-server\n.",
  "metadata": {
    "title": "How do I share developer preferences between Claude Desktop and Cursor without retyping prompts? - DEV Community",
    "description": "You told Claude Desktop that you use pnpm, that tests go in Vitest, and that you want short answers... Tagged with ai, mcp, productivity, llm.",
    "keywords": "ai, mcp, productivity, llm, software, coding, development, engineering, inclusive, community",
    "author": null,
    "og:type": "article",
    "og:url": "https://dev.to/izgorodin/how-do-i-share-developer-preferences-between-claude-desktop-and-cursor-without-retyping-prompts-560a",
    "og:title": "How do I share developer preferences between Claude Desktop and Cursor without retyping prompts?",
    "og:description": "You told Claude Desktop that you use pnpm, that tests go in Vitest, and that you want short answers...",
    "og:site_name": "DEV Community",
    "og:image": "https://media2.dev.to/dynamic/image/width=1200,height=627,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fi1glxb9xzm5jwbb93j3o.png",
    "twitter:site": "@thepracticaldev",
    "twitter:creator": "@",
    "twitter:title": "How do I share developer preferences between Claude Desktop and Cursor without retyping prompts?",
    "twitter:description": "You told Claude Desktop that you use pnpm, that tests go in Vitest, and that you want short answers...",
    "twitter:card": "summary_large_image",
    "twitter:widgets:new-embed-design": "on",
    "twitter:image:src": "https://media2.dev.to/dynamic/image/width=1200,height=627,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fi1glxb9xzm5jwbb93j3o.png"
  },
  "paywall": {
    "listed_paid": false,
    "detected": false,
    "marker": "",
    "public_only": false,
    "policy": "付费/会员内容只保留页面公开可见部分，不绕过付费墙"
  },
  "crawl": {
    "success": true,
    "status_code": 200,
    "error": ""
  },
  "code_blocks": [],
  "images": [],
  "audio": [],
  "videos": [],
  "links": [
    {
      "href": "https://mnemoverse.com/docs/api/cursor",
      "label": "our Cursor page",
      "type": "a"
    },
    {
      "href": "https://mnemoverse.com/docs/api/agent-memory",
      "label": "our agent memory page",
      "type": "a"
    },
    {
      "href": "https://mnemoverse.com/docs/library/mcp-servers-sharing-state-across-ides",
      "label": "full review",
      "type": "a"
    },
    {
      "href": "https://mnemoverse.com/docs/api/claude-apps",
      "label": "Claude Desktop",
      "type": "a"
    },
    {
      "href": "https://github.com/mnemoverse/mcp-memory-server",
      "label": "github.com/mnemoverse/mcp-memory-server",
      "type": "a"
    }
  ],
  "repair_version": 2,
  "repaired_at": "2026-10-14T10:49:24Z",
  "source_url": "https://dev.to/izgorodin/how-do-i-share-developer-preferences-between-claude-desktop-and-cursor-without-retyping-prompts-560a",
  "papers": [],
  "actual_video_files": [],
  "body_chars": 7300,
  "expected_body_images": 0,
  "discovery_status": "ok",
  "delivery_status": "ok",
  "missing_reason": "",
  "raw_html": "attachments/15214a5b6411/pages/source.html",
  "local_html": "attachments/15214a5b6411/pages/article.html",
  "body_base_path": "attachments/15214a5b6411/pages/",
  "body_markdown_path": "attachments/15214a5b6411/pages/article.md"
}