CrossPaste/crosspaste-desktop
FreeNot checkedOpen-source cross-device clipboard manager with a built-in MCP server. Search and retrieve clipboard history synced across all your devices, read OCR text extra
About
Open-source cross-device clipboard manager with a built-in MCP server. Search and retrieve clipboard history synced across all your devices, read OCR text extracted from copied images, and add new items to the clipboard. Tools: searchclipboard, getpasteitem, getclipboardstats, listtags, addtoclipboard.
README
CrossPaste: Universal Pasteboard Across Devices
Copy anything and paste it on any device, seamlessly
简体中文
·
Official Website
·
Wiki
·
Download
·
Video
Main CI Test
Build Release
Compose-Multiplatform
Sqlite
Download
AGPL-3.0
Listed on mcpservers.org
Ask DeepWiki
✨ Features
- 🔄 Real-time Sharing: Instantly share pasteboard content across devices, seamlessly.
- 🖥️ Unified Cross-platform: Consistent interface on Mac, Windows, and Linux. No need to change habits.
- 📋 Rich Type Support: Handle various pasteboard types: Text, Color, URL, HTML, RTF, Image, File.
- 🔒 End-to-End Encryption: Using asymmetric encryption to fully protect your data security.
- 🌐 LAN-only Serverless: Local storage, serverless architecture. Privacy protection, in your control.
- 🧹 Smart Space Management: Auto-cleanup options manage pasteboard storage without manual effort.
- 🔍 Built-in OCR: Extract text from images locally — no network calls, your screenshots never leave the device.
- 🤖 MCP Server: Expose your pasteboard history to AI assistants (Claude, etc.) via the Model Context Protocol.
- 🌍 Chrome Extension: Sync clipboard with the browser — copy on a web page, paste on any device.
- ⌨️ Command-Line: Copy, paste, and search your history from the terminal and scripts. See the CLI guide.
🏗 Getting Started with Development
clone the repository
git clone https://github.com/CrossPaste/crosspaste-desktop.gitCompile and run the application
cd crosspaste-desktop ./gradlew app:run
First start will download JBR / gradle dependencies.
If you encounter the following error:
FAILURE: Build failed with an exception.
* What went wrong:
java.net.SocketException: Connection reset
> java.net.SocketException: Connection reset
you might need a VPN to download these dependencies.
To configure a proxy for gradle, add the following settings to gradle.properties, and adjust the parameters to match your proxy configuration:
systemProp.https.proxyHost=localhost
systemProp.https.proxyPort=8080
systemProp.https.proxyUser=userid
systemProp.https.proxyPassword=password
systemProp.http.nonProxyHosts=*.nonproxyrepos.com|localhost
Additionally, a series of technical blogs about CrossPaste is being published (approximately one article per week). If you're interested in developing cross-platform applications, you're welcome to read them.
🌍 Building the Chrome Extension
The Chrome extension lives in web/ and is built via Gradle. Node.js (>= 18) is required — the npmInstall task will fetch dependencies on first build.
Build the extension
./gradlew :web:buildThe unpacked extension is emitted to
web/dist/.Load it into Chrome
- Open
chrome://extensions/ - Enable Developer mode in the top-right corner
- Click Load unpacked and select the
web/dist/directory
- Open
The extension auto-discovers a CrossPaste desktop app running on the same machine and syncs clipboard content with it. To iterate on extension code, run npm run dev inside web/ for a fast Vite dev loop, then reload the extension in Chrome. The extension imports a Kotlin/JS core library produced by ./gradlew :core:jsBrowserProductionLibraryDistribution (also run as part of :web:build) — re-run that task whenever you change core/ sources.
🗺️ Roadmap
CrossPaste is continuously evolving! v2.2 brings a full command-line mode — copy, paste, and search your history straight from the terminal. Here's what we're working on next:
- Plugin system — let the community extend CrossPaste with custom paste types and integrations
This is just a small part of our plans. Want to learn more details and long-term plans? Check out our full roadmap.
🙋 FAQ
Here are some FAQs that have been collected. If you have other questions, please create an issue to let us know.
🤝 Support the project
- 🌟 Star this repository: This is the easiest way to support CrossPaste and costs nothing.
- 🪲 Report bugs: Report any bugs you find on the issue tracker.
- 📖 Translate: Help translate and polish CrossPaste into your language.
- 📝 Contribute: Code, comment on issues, and any contributions that can help the project are welcome.
- 💖 Sponsor: Support financially via GitHub Sponsors to help with ongoing development and maintenance.
📝 Contributors
💖 Sponsors
Installing CrossPaste/crosspaste-desktop
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/CrossPaste/crosspaste-desktopFAQ
Is CrossPaste/crosspaste-desktop MCP free?
Yes, CrossPaste/crosspaste-desktop MCP is free — one-click install via Unyly at no cost.
Does CrossPaste/crosspaste-desktop need an API key?
No, CrossPaste/crosspaste-desktop runs without API keys or environment variables.
Is CrossPaste/crosspaste-desktop hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install CrossPaste/crosspaste-desktop in Claude Desktop, Claude Code or Cursor?
Open CrossPaste/crosspaste-desktop on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiSupabase
Database, auth and storage
by SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare CrossPaste/crosspaste-desktop with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
