[{"data":1,"prerenderedAt":350},["ShallowReactive",2],{"site-content":3,"blog-post-\u002Fblog\u002Fconnect-clipboard-to-ai-tools-with-mcp":83},{"id":4,"extension":5,"footer":6,"meta":71,"nav":72,"stem":81,"__hash__":82},"site\u002Fdata\u002Fsite.yml","yml",{"description":7,"columns":8,"socials":51,"builtBy":68},"Pastea saves every screenshot, snippet, link, and code block you copy, then lets you search, pin, and paste it back in seconds. Your clipboard, with a memory.",[9,24,42],{"title":10,"links":11},"Product",[12,15,18,21],{"label":13,"to":14},"Features","\u002F#features",{"label":16,"to":17},"Use cases","\u002F#use-cases",{"label":19,"to":20},"Pricing","\u002F#pricing",{"label":22,"to":23},"Updates","\u002Fchangelog",{"title":25,"links":26},"Navigation",[27,30,33,36,39],{"label":28,"to":29},"Home","\u002F",{"label":31,"to":32},"FAQs","\u002F#faq",{"label":34,"to":35},"Blog","\u002Fblog",{"label":37,"to":38},"Help","\u002Fhelp",{"label":40,"to":41},"Contact","\u002Fcontact",{"title":43,"links":44},"Legal",[45,48],{"label":46,"to":47},"Terms of use","\u002Fterms",{"label":49,"to":50},"Privacy policy","\u002Fprivacy",[52,56,60,64],{"icon":53,"label":54,"href":55},"youtube","YouTube","https:\u002F\u002Fwww.youtube.com\u002F@PasteaApp",{"icon":57,"label":58,"href":59},"linkedin","LinkedIn","https:\u002F\u002Fwww.linkedin.com\u002Fcompany\u002Fpastea",{"icon":61,"label":62,"href":63},"x","X","https:\u002F\u002Fx.com\u002Fpasteaapp",{"icon":65,"label":66,"href":67},"instagram","Instagram","https:\u002F\u002Fwww.instagram.com\u002Fpastea.app\u002F",{"label":69,"href":70},"Nexo Labs","#",{},{"links":73,"cta":78},[74,75,76,77],{"label":13,"to":14},{"label":16,"to":17},{"label":19,"to":20},{"label":31,"to":32},{"label":79,"to":80},"Download","\u002Fdownload","data\u002Fsite","3kaTqsS0abGcX8Jmm_IFgi8xNRL6HnRMOk3CIPjWUls",{"id":84,"title":85,"author":86,"body":87,"date":339,"description":340,"extension":341,"image":342,"meta":343,"navigation":344,"path":345,"seo":346,"sitemap":347,"stem":348,"__hash__":349},"blog\u002Fblog\u002Fconnect-clipboard-to-ai-tools-with-mcp.md","Connect Your Mac Clipboard to Claude, Cursor, and Codex","Pastea Team",{"type":88,"value":89,"toc":327},"minimark",[90,94,97,100,105,108,111,127,130,133,137,140,143,149,157,160,174,177,181,197,203,211,215,226,229,233,236,247,254,258,265,268,271,283,286,290,303,306,310,313,316],[91,92,93],"p",{},"AI tools are good at working with context once you give it to them. The slow part is often collecting that context: the error from Xcode, the API response from Postman, the paragraph from a document, and the screenshot from a browser.",[91,95,96],{},"You already moved most of that through the clipboard. Pastea's MCP server lets an approved AI tool search that history directly, on your Mac.",[91,98,99],{},"This is not “send every copy to AI.” It is an optional local connection with a small set of permissions, one token per tool, and no access to concealed clips.",[101,102,104],"h2",{"id":103},"what-mcp-changes","What MCP changes",[91,106,107],{},"MCP, or Model Context Protocol, gives an AI client a standard way to call tools and read approved sources. In Pastea, that source is your clipboard history.",[91,109,110],{},"Once connected, a client can:",[112,113,114,118,121,124],"ul",{},[115,116,117],"li",{},"search history and lists;",[115,119,120],{},"list recent clips or your saved lists;",[115,122,123],{},"read one selected clip in full, including an image thumbnail;",[115,125,126],{},"copy a clip back to the system clipboard for you.",[91,128,129],{},"It cannot delete clips. It cannot paste into another app. It cannot read items Pastea has marked concealed.",[91,131,132],{},"That narrow surface is intentional. The agent gets enough access to help retrieve context without becoming an administrator for your history.",[101,134,136],{"id":135},"a-workflow-that-is-actually-useful","A workflow that is actually useful",[91,138,139],{},"Suppose a test fails after you changed an API client. During the last hour you copied a server response, two commands, and a screenshot of a browser error.",[91,141,142],{},"Instead of reconstructing the trail, ask your connected coding agent:",[144,145,146],"blockquote",{},[91,147,148],{},"Find the JSON response I copied from Postman this morning and the screenshot mentioning CORS. Compare them with the current client code and suggest the likely cause.",[91,150,151,152,156],{},"The agent searches the same history you would open with ",[153,154,155],"code",{},"⌘ ⇧ V",", reads the relevant items, and can use them alongside the repository it already sees.",[91,158,159],{},"Other useful prompts:",[112,161,162,165,168,171],{},[115,163,164],{},"“What did I copy from Safari in the last hour?”",[115,166,167],{},"“Find the pricing notes from yesterday and draft a short client email.”",[115,169,170],{},"“Read the screenshot containing the Swift error and explain it.”",[115,172,173],{},"“Put the most recent staging URL back on my clipboard.”",[91,175,176],{},"The quality comes from specific constraints—source app, time, type, or remembered phrase—not from asking the agent to inspect everything.",[101,178,180],{"id":179},"connect-claude-desktop","Connect Claude Desktop",[91,182,183,184,187,188,192,193,196],{},"Open Pastea and go to ",[153,185,186],{},"Settings → MCP & AI Tools",". Turn on ",[189,190,191],"strong",{},"Enable MCP",", then click ",[189,194,195],{},"Claude Desktop",".",[91,198,199,200,196],{},"Claude Desktop opens and offers to install the Pastea extension. Approve the install there. The first time Claude tries to use Pastea, Pastea asks whether to allow that connection. After approval, the tool appears under ",[189,201,202],{},"Connected AI Tools",[91,204,205,206,196],{},"The complete walkthrough, including manual extension installation, is in the ",[207,208,210],"a",{"href":209},"\u002Fhelp\u002Fmcp","Pastea MCP guide",[101,212,214],{"id":213},"connect-cursor-or-vs-code","Connect Cursor or VS Code",[91,216,217,218,221,222,225],{},"In the same Pastea settings page, click ",[189,219,220],{},"Cursor"," or ",[189,223,224],{},"VS Code",". Pastea opens the selected editor's one-click MCP installation flow. Confirm the configuration in the editor.",[91,227,228],{},"If the link cannot open, Pastea shows the configuration to paste manually.",[101,230,232],{"id":231},"connect-claude-code-windsurf-or-codex","Connect Claude Code, Windsurf, or Codex",[91,234,235],{},"Choose the client in Pastea's MCP settings. Pastea generates the command or configuration containing your local URL and a newly minted token.",[91,237,238,239,242,243,246],{},"Claude Code uses an ",[153,240,241],{},"http"," MCP connection. Windsurf stores the server in its MCP configuration, while Codex uses ",[153,244,245],{},"~\u002F.codex\u002Fconfig.toml",". Use the exact snippet shown by Pastea because it contains the token created for that client.",[91,248,249,250,253],{},"For another client, choose ",[189,251,252],{},"Custom Tool",". Any MCP client that supports streamable HTTP and can send an Authorization header can connect.",[101,255,257],{"id":256},"the-privacy-boundary","The privacy boundary",[91,259,260,261,264],{},"Pastea's MCP endpoint listens on ",[153,262,263],{},"127.0.0.1",", so another machine on your network cannot call it. Every connected client receives a separate access token. Revoke one client without disrupting the others, or switch off MCP to stop the server entirely.",[91,266,267],{},"Pastea does not send us the clips a tool reads. However, once Claude, Cursor, Codex, or another client reads a clip, what happens inside that product is governed by its own settings and privacy policy. Local transport does not automatically mean local inference.",[91,269,270],{},"Use three guardrails:",[272,273,274,277,280],"ol",{},[115,275,276],{},"Connect only clients you trust.",[115,278,279],{},"Exclude password managers, banking apps, and confidential work apps from capture.",[115,281,282],{},"Ask for narrow searches instead of handing an agent broad history without a reason.",[91,284,285],{},"Concealed items are always omitted from MCP results, but automatic concealment depends on the source app marking the copy correctly. Explicit exclusions are safer for high-risk material.",[101,287,289],{"id":288},"revoke-access-at-any-time","Revoke access at any time",[91,291,292,293,295,296,298,299,302],{},"Go to ",[153,294,186],{},", find the client under ",[189,297,202],{},", and click ",[189,300,301],{},"Revoke",". Its next request fails. Reconnecting creates a new token.",[91,304,305],{},"This also makes experimentation low-risk: connect one tool, try read-only searches, inspect the results, and expand your use only after you understand the boundary.",[101,307,309],{"id":308},"start-with-retrieval-not-automation","Start with retrieval, not automation",[91,311,312],{},"The best first prompt is boring: “What did I copy in the last hour?” It proves the connection, shows you the shape of the data, and does not change anything.",[91,314,315],{},"Then try one retrieval tied to real work. If the tool finds context faster than you could reopen three apps, the value is obvious.",[91,317,318,319,322,323,326],{},"Pastea's MCP access is included with the full app. ",[207,320,321],{"href":80},"Start the seven-day trial",", then follow the ",[207,324,325],{"href":209},"client-specific setup guide"," to connect the tool you already use.",{"title":328,"searchDepth":329,"depth":329,"links":330},"",2,[331,332,333,334,335,336,337,338],{"id":103,"depth":329,"text":104},{"id":135,"depth":329,"text":136},{"id":179,"depth":329,"text":180},{"id":213,"depth":329,"text":214},{"id":231,"depth":329,"text":232},{"id":256,"depth":329,"text":257},{"id":288,"depth":329,"text":289},{"id":308,"depth":329,"text":309},"2026-09-03","Connect Pastea to Claude, Cursor, VS Code, Windsurf, or Codex with local MCP access, per-tool approval, and revocable tokens.","md","\u002Fimg\u002Fai-input-2.webp",{},true,"\u002Fblog\u002Fconnect-clipboard-to-ai-tools-with-mcp",{"title":85,"description":340},{"loc":345},"blog\u002Fconnect-clipboard-to-ai-tools-with-mcp","Dk2P7Kex3DUq3Ll2hpuFNKCtc0bQ6X0SHG8015m-g4U",1788477134310]