mcp-clipboard was built for Claude Code — it works around the terminal padding bug that corrupts long commands when you copy them from Claude Code's output. If you use Claude Code, even 10 minutes of testing would be a huge help.
Setup
claude mcp add clipboard -- uvx mcp-clipboard
That's it. Claude Code will discover the tools automatically.
Tests
Clipboard padding workaround
- Ask Claude Code to generate a long shell command (something with pipes, quotes, or flags)
- Instead of copying from the terminal, say: "Copy that command to my clipboard"
- Paste into your terminal — verify it's clean (no leading spaces, no hard line breaks)
Core functionality
Auto-copy behavior (optional)
Add this to your CLAUDE.md:
When you produce a shell command for the user to run, also copy it to the clipboard using clipboard_copy.
Debug logging
If something doesn't work:
MCP_CLIPBOARD_DEBUG=1 claude
Or run the server standalone:
uvx mcp-clipboard --debug
Platforms
How to report
Comment on this issue with:
- Your OS and platform (e.g., macOS 15.3, Fedora 43 Wayland, Windows 11)
- Claude Code version (
claude --version)
- What worked / what didn't
- Any error output
Even a "everything worked on macOS" is valuable. Thanks!
mcp-clipboard was built for Claude Code — it works around the terminal padding bug that corrupts long commands when you copy them from Claude Code's output. If you use Claude Code, even 10 minutes of testing would be a huge help.
Setup
That's it. Claude Code will discover the tools automatically.
Tests
Clipboard padding workaround
Core functionality
Auto-copy behavior (optional)
Add this to your
CLAUDE.md:Debug logging
If something doesn't work:
Or run the server standalone:
Platforms
How to report
Comment on this issue with:
claude --version)Even a "everything worked on macOS" is valuable. Thanks!