copyq-mcp

copyq-mcp

Provide AI agents with read and search access to CopyQ clipboard history, plus tab listing, with optional Windows dictation routing to separate tabs.

Category
访问服务器

README

<p> <a href="https://autoralabs.com"> <img src="https://raw.githubusercontent.com/AutoraLabs/copyq-mcp/main/docs/assets/autoralabs-logo.svg" alt="AutoraLabs" width="240"> </a> </p>

CopyQ MCP

Give AI agents direct access to your CopyQ text history, and keep dictation transcripts out of your normal clipboard tab.

CopyQ remains the database and clipboard UI. This package adds one local MCP server and an optional Windows setup command. It does not run a daemon, expose a network port, or create a second clipboard store.

MCP client ── stdio ──► CopyQ MCP ──► CopyQ history
                                         ├─ &clipboard
                                         ├─ Codex Dictation
                                         └─ Flow

Install

Prerequisites: CopyQ, Python 3.12 or newer, and uv. CopyQ must be running.

uv tool install https://github.com/AutoraLabs/copyq-mcp/releases/download/v0.1.0/copyq_mcp-0.1.0-py3-none-any.whl
copyq-mcp doctor
codex mcp add copyq -- copyq-mcp

Restart Codex after adding the server. Other stdio MCP clients can use copyq-mcp as the server command.

Use from an agent

Ask naturally:

  • “Use the three things I just copied.”
  • “Read the fifth item in my clipboard history.”
  • “Search my clipboard for the nginx configuration.”
  • “Check the Codex Dictation tab for my last transcript.”

The MCP server exposes three tools:

  • clipboard_read(start=0, count=5, tab="clipboard") reads a page of text history, newest first. The result includes next_start for later pages.
  • clipboard_search(query, start=0, count=20, tab="clipboard", case_sensitive=false) searches from any row and returns a continuation.
  • clipboard_tabs() lists every CopyQ tab and its item count.

clipboard is an alias for CopyQ's &clipboard tab. Exact tab names also work. Text items include their zero-based CopyQ row, copy timestamp, origin, and source window when those fields exist.

Keep dictation out of normal history

On Windows, CopyQ MCP can route matched Codex global dictation and Wispr Flow transcripts into dedicated tabs:

copyq-mcp setup --dictation auto --modern

auto enables compatible providers found on the machine. Use codex, wispr, both, or none to choose explicitly. Classification fails open: if a provider changes or cannot be inspected, the clipboard item stays in &clipboard.

--modern applies a small, opinionated configuration:

  • retain 50,000 items;
  • show tab item counts and one-based row labels;
  • show six text lines per item with a 100-pixel maximum height;
  • display copy time;
  • use Win+V to show or hide CopyQ.

Preview changes without writing anything:

copyq-mcp setup --dictation auto --modern --dry-run

The first setup preserves a pre-setup JSON backup for that CopyQ session; repeated setup keeps the baseline instead of backing up an already-configured state. Restore it with:

copyq-mcp restore

Restore leaves provider tabs and their contents intact.

Configuration

The server discovers CopyQ on PATH and in common install locations. Two environment variables cover non-default installations:

Variable Meaning
COPYQ_MCP_EXECUTABLE Exact path to the CopyQ executable
COPYQ_MCP_SESSION Existing CopyQ session name

copyq-mcp doctor reports CopyQ readiness, tab counts, routing state, and provider compatibility.

Deliberate limits

  • Version 0.1 reads text history only. It does not write, delete, paste, pin, or reorder clipboard items.
  • Read and search pages contain at most 100 text items. Pagination can continue through the complete tab.
  • Very large individual text items are returned as an explicit truncated prefix.
  • Dictation routing is Windows-only. Codex and Wispr are external applications; an upstream storage or clipboard-behavior change can require a classifier update. Routing fails open so that such a change causes clutter, not data loss.
  • Wispr matching uses exact recent transcript text. Manually copying the same text within ten minutes can also send that copy to Flow.

Development

git clone https://github.com/AutoraLabs/copyq-mcp.git
cd copyq-mcp
uv sync --locked --all-groups
uv run ruff check .
uv run ruff format --check .
uv run pyright
uv run pytest --cov --cov-report=term-missing
uv build

See architecture for the implementation boundary and contributing for the small set of project rules.

CopyQ MCP is an independent AutoraLabs integration. It is not affiliated with or endorsed by CopyQ, OpenAI, or Wispr Flow. Source is licensed under the MIT License; AutoraLabs names and marks are not granted under that software license.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选