Quark MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
π Quark
The AI-Native, Cross-Platform Clipboard Micro-Daemon.
Quark is a headless, zero-configuration background service that orbits your operating system's clipboard. It silently fixes your copy-paste nightmares, syncs your clipboard across devices seamlessly, and exposes your clipboard directly to local AI models.
π The Problem
The operating system clipboard is fundamentally broken and stuck in the past:
Dumb Text: You copy text from a PDF, and the line breaks shatter.
Privacy Leaks: You copy a link, and tracking tags (
?utm_source=...) follow you.Lost Formatting: You copy a table or Markdown, and the formatting vanishes when pasted into an email.
Isolation: You switch to your laptop, and your clipboard is empty.
Blind AI: Your local AI agents (Claude, Cursor) have no native access to what you just copied.
Related MCP server: mcp-clipboard
π‘ The Solution
Enter Quark. A silent, zero-configuration daemon that lives in your background. It requires no interface. It simply fixes what is broken.
Heals broken PDF text automatically.
Strips tracking parameters from URLs.
Transforms raw Excel data, Markdown, and LaTeX into clean, rich HTML.
Omni-Context Engine: Detects the active target app (Notion, Obsidian, VS Code, Pages) and dynamically shifts clipboard flavors (Markdown, HTML, RTF) to ensure flawless structure on every paste.
Syncs across your Mac, Windows, and Linux machines instantly via P2P.
Exposes your clipboard to local AI models via MCP.
π Quick Start
No .exe files. No .dmg files. Just pure, cross-platform JavaScript.
One-Click Install (macOS / Linux)
curl -fsSL https://raw.githubusercontent.com/sir-ad/quark/main/install.sh | shOne-Click Install (Windows PowerShell)
iex (irm https://raw.githubusercontent.com/sir-ad/quark/main/install.ps1)Manual install
# Run instantly without installing (Temporary Session)
npx -y @quark.clip/quark start
# OR install globally as a background OS service
npm install -g @quark.clip/quark
quark installποΈ Architecture
Quark is built entirely in Node.js to ensure 100% cross-platform compatibility without the need for native C++ compilation.
graph TD
subgraph OS [Operating System]
Clip[OS Clipboard]
end
subgraph Quark [Quark Daemon]
Poll[Polling Engine]
Trans[Smart Transformers]
P2P[P2P Mesh Network]
API[Local HTTP API]
end
subgraph Network [Local Wi-Fi]
mDNS[mDNS Discovery]
WS[WebSocket Sync]
end
subgraph AI [AI Agents]
MCP[MCP Stdio Server]
Claude[Claude Desktop / Cursor]
end
Clip <-->|Read/Write| Poll
Poll -->|Raw Text/HTML| Trans
Trans -->|Cleaned/Formatted| Poll
Poll <-->|Broadcast/Receive| P2P
P2P <--> mDNS
P2P <--> WS
API <--> Clip
MCP <-->|HTTP GET/POST| API
Claude <-->|Stdio| MCPTechnical Deep Dive
Clipboard Engine: Uses native OS commands (
pbcopy/pbpastefor macOS,xclipfor Linux,powershellandSystem.Windows.Formsfor Windows) to read and write bothtext/plainandtext/htmlstreams simultaneously.Zero-Config Mesh Network: Uses mDNS (Bonjour/ZeroConf) to broadcast its presence (
quark-clip). When peers discover each other, they establish direct WebSocket connections. No central server is used.Transformation Pipeline: A synchronous/asynchronous pipeline that detects content types (Markdown, LaTeX, URLs, TSV) and applies regex heuristics,
markedparsing, and smart typographic quoting based on language character frequency.
π€ Model Context Protocol (MCP)
Quark acts as a bridge between your OS clipboard and local AI models using the Model Context Protocol.
When you run quark mcp, it starts a standard MCP server over stdio. This server communicates with the background Quark daemon via a local HTTP API (port 14314).
Exposed Tools
`get_clipboard`: Reads the user's current operating system clipboard.
`set_clipboard`: Writes text directly to the user's operating system clipboard.
Claude Desktop Integration
To give Claude Desktop access to your clipboard, add Quark to your claude_desktop_config.json:
{
"mcpServers": {
"quark": {
"command": "npx",
"args": ["-y", "@quark.clip/quark", "mcp"]
}
}
}Note: Ensure the Quark daemon is running in the background (quark start or quark install) for the MCP server to function.
π€ Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
π License
This project is licensed under the MIT License - see the LICENSE file for details.
Β© 2026 Adarsh Agrahari. All Rights Reserved.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Shared memory for your AI tools: tasks, notes and context every tool can read and write over MCP.
Cross-tool persistent memory and context for AI assistants over MCP.
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides AI assistants access to the macOS clipboard content, supporting text, images, and binary data via OSAScript.8MIT
- AlicenseAqualityBmaintenanceMCP server that reads and writes the system clipboard β tables, text, code, JSON, URLs, images, and more. Preserves spreadsheet structure (rows/columns) that is lost when pasting into Claude directly.744 PyPI4Apache 2.0
- AlicenseNot gradedqualityDmaintenanceProvides clipboard access tools (get and set) for AI assistants via the Model Context Protocol, enabling seamless clipboard operations across platforms.1MIT
- AlicenseNot gradedqualityCmaintenanceMCP server that gives AI agents access to your Maus clipboard on macOS, enabling them to write clean text into history, search, and manage clipboard items locally.16 npmMIT