
Pastea
io.github.pastea-app由 GitHub 帳號 pastea-app 發布v1.0.4更新於 Oct 24, 2026
Search, read and re-copy your Mac clipboard history from Pastea. Local, pairs with one click.
概覽
本機 MCP 橋接服務,讓 AI 助理搜尋、讀取並重新複製 Mac 上 Pastea 的剪貼簿歷史,資料不離開本機。
- 可以做什麼
- 搜尋剪貼簿歷史與清單,涵蓋文字、連結、檔名以及截圖中辨識出的文字,並完整讀取單一剪貼內容,圖片附有縮圖。列出歷史紀錄與自建清單及其數量。將某筆剪貼內容依原樣放回系統剪貼簿,由你自己貼上。檢查 Pastea 是否可連線、是否已連線,以及無法連線時該怎麼處理。
- 適用情境
- 適合讓助理找回你先前複製過的內容,例如連結、程式碼片段或截圖中的文字,或把某筆舊剪貼內容放回剪貼簿,以便貼到其他應用程式。
- 執行需求
- macOS 15 或更新版本,Pastea 1.3+ 且已訂閱 Pastea Pro,並在 Pastea 設定中開啟 Enable MCP。使用 npx 安裝需要 Node.js 20+;Claude Desktop 不需額外元件。首次連線需在 Pastea 中點選 Allow 授權。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Pastea,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Pastea MCP
[GitHub release] [npm version] [CI] [license]
Local MCP server for Pastea. Give Claude, Cursor, Codex, VS Code and other AI tools access to your Mac's clipboard history — without anything leaving your Mac.
Your assistant can search what you copied, pull a clip into context (including the text Pastea reads inside your screenshots), and put a clip back on the clipboard for you to paste.
Pastea runs the MCP server itself, on 127.0.0.1 only. This package is the thin,
dependency-free bridge that AI apps launch: it finds Pastea, asks it for access once —
you click Allow in Pastea — and relays messages over stdio.
Install
Claude Desktop
One click from Pastea: open Settings → MCP & AI Tools, turn on Enable MCP, and click Claude Desktop. Claude Desktop opens with the Pastea extension ready to install.
Or find Pastea in Claude Desktop under Settings → Extensions → Browse extensions, or
download pastea-mcp-<version>.mcpb from the
latest release and double-click it.
The first time Claude uses it, Pastea asks you to allow the connection.
Every other AI app
Use add-mcp to connect Pastea to all your installed
AI apps at once:
Or connect each app yourself:
Claude Code
Codex
Cursor
VS Code
Anything else that runs stdio MCP servers:
The first time an app uses Pastea, Pastea shows "Allow <app> to use your clipboard history?" — click Allow and the tools appear.
Connect from Pastea
Every app above can also be connected from inside Pastea — Settings → MCP & AI Tools, click the app's chip. Cursor and VS Code open an install prompt; Claude Code, Windsurf and Codex get the exact command or config to paste, already carrying an access token, so no pairing prompt is needed.
[Pastea's MCP & AI Tools settings page]
What your assistant can do
An AI tool can never delete a clip, never pastes into another app, and never sees items Pastea conceals (from password managers).
How pairing works
The bridge ships with no credentials. On first use it asks Pastea for access and Pastea shows
"Allow Claude Desktop to use your clipboard history?" (or Cursor, Codex, …). Click Allow
and the tools appear a moment later; click Don't Allow and nothing is granted — the assistant
gets a pastea_status tool that explains the situation.
Connections are listed in Pastea → Settings → MCP & AI Tools → Connected AI Tools, where you can Revoke each one. Pastea then asks again only if you ask the assistant to reconnect.
Requirements
- macOS 15 or later
- Pastea 1.3+ with Pastea Pro, and Enable MCP turned on in Settings → MCP & AI Tools
- For
npxinstalls: Node.js 20+ (Claude Desktop needs nothing — it ships its own)
Privacy Policy
Pastea MCP runs locally on your Mac.
- It connects only to Pastea on
127.0.0.1and to nothing else. It makes no network requests to Nexo Labs or any third party, and carries no analytics or telemetry. - It moves clipboard data only between Pastea and the AI app that runs it, and only after you clicked Allow in Pastea. What that AI app does with clips it reads is governed by that app's own privacy policy.
- It stores one thing: the access token Pastea issued when you clicked Allow, in
~/Library/Application Support/Pastea/MCP Bridge/tokens.json, readable by your user account only. Revoking the connection in Pastea invalidates it immediately; uninstalling Pastea removes the file. - Concealed clips are never available to it, and it cannot delete anything.
Full policy — what data Pastea processes, how it is stored, sharing, retention, and contact: https://pastea.app/privacy.
Troubleshooting
"Pastea isn't running, or its MCP endpoint is turned off."
Open Pastea and turn on Enable MCP in Settings → MCP & AI Tools, then ask the assistant to
call pastea_status.
"Pastea Pro is required."
MCP access is a Pro feature. Subscribe in Pastea's Settings, then call pastea_status.
"Pastea is asking the user to allow this connection." Look for the Pastea window — it may be behind the AI app — and click Allow.
The tools vanished.
The connection was revoked in Pastea, or Pastea was reset. Ask the assistant to call
pastea_status to pair again.
Tools don't show up after connecting. Fully quit and reopen the AI app so it relaunches the bridge.
Changed Pastea's port? The bridge reads it from Pastea's preferences on every launch; restart the AI app.
Logs for Claude Desktop: ~/Library/Logs/Claude/mcp-server-Pastea.log. The bridge never logs
the token.
Development
Run it against a development Pastea by hand:
then type JSON-RPC lines on stdin (initialize, notifications/initialized, tools/list).
Releases are cut by tagging v<version> (matching package.json, manifest.json,
server.json and src/version.ts); the workflow packs the bundle and publishes it.
Contributing
Issues and pull requests welcome — see the issue tracker.
License
來源:README.md,提交 4cea06b
工具
0版本歷史
1- v1.0.4最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分