by pr0j3c7t0dd-ltd
Securely manage your Mac OS X clipboard history with encrypted storage, cut, copy, paste, undo, and access controls for
Provides clipboard-style cut, copy, paste operations for code across multiple files with undo functionality. Uses encrypted storage and maintains session-based clipboards for AI coding workflows.
Cut Copy Paste is a community-built MCP server published by pr0j3c7t0dd-ltd that provides AI assistants with tools and capabilities via the Model Context Protocol. Securely manage your Mac OS X clipboard history with encrypted storage, cut, copy, paste, undo, and access controls for It is categorized under productivity, developer tools. This server exposes 6 tools that AI clients can invoke during conversations and coding sessions.
You can install Cut Copy Paste in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
MIT
Cut Copy Paste is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Share your MCP server with the developer community
According to our notes, Cut Copy Paste benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
Useful MCP listing: Cut Copy Paste is the kind of server we cite when onboarding engineers to host + tool permissions.
We evaluated Cut Copy Paste against two servers with overlapping tools; this profile had the clearer scope statement.
We evaluated Cut Copy Paste against two servers with overlapping tools; this profile had the clearer scope statement.
Useful MCP listing: Cut Copy Paste is the kind of server we cite when onboarding engineers to host + tool permissions.
Cut Copy Paste has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
I recommend Cut Copy Paste for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
Strong directory entry: Cut Copy Paste surfaces stars and publisher context so we could sanity-check maintenance before adopting.
Cut Copy Paste is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
According to our notes, Cut Copy Paste benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
showing 1-10 of 33
A Model Context Protocol (MCP) server that provides clipboard-style operations for AI-assisted coding agents. Cut, copy, paste, and undo code blocks across files with full audit trail and session management.
.gitignore-style allowlist to restrict filesystem access (docs)npx cut-copy-paste-mcp
npm install -g cut-copy-paste-mcp
cut-copy-paste-mcp
git clone https://github.com/Pr0j3c7t0dd-Ltd/cut-copy-paste-mcp.git
cd cut-copy-paste-mcp
npm install
npm run build
node dist/cli.js
Configure the MCP server:
~/Library/Application Support/Claude/claude_desktop_config.json (macOS)%APPDATA%\Claude\claude_desktop_config.json (Windows){
"mcpServers": {
"clipboard": {
"command": "npx",
"args": ["cut-copy-paste-mcp"]
}
}
}
Restart Claude Desktop/Code to load the MCP server
Verify the tools are available:
Start using the clipboard:
cut-copy-paste-mcpdocs/AGENTIC_USAGE.md into your agent's instruction files:
CLAUDE.md in your project root.cursorrules or AGENTS.md in your projectYou/AI: "I need to refactor the authentication logic.
Copy lines 45-80 from src/auth/old-auth.ts"
AI: [Uses copy_lines tool]
✓ Copied 36 lines from src/auth/old-auth.ts:45-80
You/AI: "Now paste this into a new file src/auth/token-handler.ts at line 1"
AI: [Uses paste_lines tool]
✓ Pasted to src/auth/token-handler.ts:1
You/AI: "Actually, I want to undo that and paste it somewhere else"
AI: [Uses undo_last_paste tool]
✓ Undone paste operation, restored 1 file(s)
copy_linesCopy lines from a file to session clipboard without modifying the source.
Parameters:
file_path (string, required): Path to source filestart_line (number, required): Starting line number (1-indexed)end_line (number, required): Ending line number (inclusive)Example:
{
"tool": "copy_lines",
"arguments": {
"file_path": "src/utils/helpers.ts",
"start_line": 10,
"end_line": 25
}
}
Returns:
{
"success": true,
"content": "...",
"lines": ["..."],
"message": "Copied 16 line(s) from src/utils/helpers.ts:10-25"
}
cut_linesCut lines from a file (removes from source, saves to clipboard).
Parameters:
file_path (string, required): Path to source filestart_line (number, required): Starting line number (1-indexed)end_line (number, required): Ending line number (inclusive)Example:
{
"tool": "cut_lines",
"arguments": {
"file_path": "src/legacy/old-module.ts",
"start_line": 50,
"end_line": 75
}
}
Returns:
{
"success": true,
"content": "...",
"lines": ["..."],
"message": "Cut 26 line(s) from src/legacy/old-module.ts:50-75"
}
paste_linesPaste clipboard content to one or more locations.
Parameters:
targets (array, required): Array of paste targets
file_path (string): Target file pathtarget_line (number): Line number to paste at (1-indexed)Example (single target):
{
"tool": "paste_lines",
"arguments": {
"targets": [
{
"file_path": "src/components/NewComponent.tsx",
"target_line": 20
}
]
}
}
Example (multiple targets):
{
"tool": "paste_lines",
"arguments": {
"targets": [
{
"file_path": "src/services/auth.ts",
"target_line": 5
},
{
"file_path": "src/services/api.ts",
"target_line": 8
},
{
"file_path": "src/services/storage.ts",
"target_line": 3
}
]
}
}
Returns:
{
"success": true,
"pastedTo": [
{ "file": "src/components/NewComponent.tsx", "line": 20 }
],
"message": "Pasted to 1 location(s)"
}
show_clipboardDisplay current clipboard contents with metadata.
Parameters: None
Example:
{
"tool": "show_clipboard",
"arguments": {}
}
Returns:
{
"hasContent": true,
"content": "...",
"sourceFile": "src/utils/helpers.ts",
"startLine": 10,
"endLine": 25,
"operationType": "copy",
"copiedAt": 1699564800000
}
undo_last_pasteUndo the most recent paste operation. If the paste came from a cut operation, both the paste target(s) AND the cut source are restored to their original state.
Parameters: None
Example:
{
"tool": "undo_last_paste",
"arguments": {}
}
Returns:
{
"success": true,
"restoredFiles": [
{ "file": "src/components/NewComponent.tsx", "line": 20 },
{ "file": "src/legacy/old-module.ts", "line": 0 }
],
"message": "Undone paste operation, restored 2 file(s)"
}
Behavior:
get_operation_historyRetrieve operation history for debugging.
Parameters:
limit (number, optional): Max number of operations to return (default: 10)Example:
{
"tool": "get_operation_history",
"arguments": {
"limit": 5
}
}
Returns:
{
"operations": [
{
"operationId": 42,
"operationType": "paste",
"timestamp": 1699564800000,
"details": {
"targetFile": "src/components/NewComponent.tsx",
"targetLine": 20
}
}
]
}
1. Identify code to extract → Analyze file and find lines to move
2. Cut the code → Use cut_lines to remove from original location
3. Verify clipboard → Use show_clipboard to confirm content
4. Paste to new location → Use paste_lines to insert at new location
5. Verify result → Check both files for correctness
1. Find source code → Identify reusable code pattern
2. Copy the pattern → Use copy_lines to capture boilerplate
3. Identify targets → List all files needing this pattern
4. Multi-paste → Use paste_lines with multiple targets
5. Verify → Spot-check pasted content
1. Cut from source → Use cut_lines to remove code
2. Paste to destination → Use paste_lines to insert
3. Verify both files → Check source is cleaned up
4. Update references → Fix imports if needed
1. Copy code for testing → Use copy_lines to capture current state
2. Paste to test location → Create experimental version
3. Test changes → Make modifications
4. Decide → Use undo_last_paste if unsuccessful
1. Cut code from source → Use cut_lines (removes from source)
2. Paste to destination → Use paste_lines (adds to destination)
3. Realize mistake → Decide to revert the move
4. Undo paste operation → Use undo_last_paste
5. Result → Both source AND destination restored to original state
Note: When you undo a paste from a cut operation, the server automatically restores BOTH files - the paste target(s) are restored, and the cut source is restored with the lines that were removed.
Prerequisites
Time Estimate
15-60 minutes depending on server complexity
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
Compatibility
✓ Use when
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid when
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.