ClipToWslMcp MCP Server

ClipToWSL - MCP server for Windows clipboard access from WSL

Local serverstdioTypeScript

What is the ClipToWslMcp MCP server?

ClipToWslMcp MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. ClipToWSL - MCP server for Windows clipboard access from WSL.

What you get

ClipToWSL is a Model Context Protocol (MCP) server that enables AI coding agents like Claude Code to read Windows clipboard contents from within WSL (Windows Subsystem for Linux). This allows seamless access to clipboard data including text and images when working in WSL environments.

  • Cross-platform clipboard access — Read Windows clipboard from WSL
  • Multiple content types — Support for text and image clipboard data
  • Base64 image encoding — Automatic PNG conversion and Base64 encoding for images
  • MCP protocol compliance — Full integration with Claude Code and other MCP clients
  • Robust process management — Automatic process lifecycle management with health checks
  • Error handling — Comprehensive error handling and recovery mechanisms

What the assistant can call

Once ClipToWslMcp is connected, these are the calls the assistant has available:

  • Logs — The MCP server provides console logging for debugging: - Process startup and shutdown events - Health check results - Error messages and stack traces
  • Contributing — 1. Fork the repository 2. Create a feature branch 3. Make your changes 4. Test thoroughly 5. Submit a pull request

Setting it up

The server ships on npm as typescript, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Configuration and credentials

You will need one environment variable: CLIPBOARD_EXE_PATH. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Choosing this one

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. ClipToWslMcp's toolset — Logs, Contributing — is a fair guide to whether it matches your workflow. It is maintained by CarlosGtrz; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the cliptowslmcp mcp server does with a few real requests.

Available tools

ToolWhat it does
LogsThe MCP server provides console logging for debugging: - Process startup and shutdown events - Health check results - Error messages and stack traces - Request/response communication logs
Contributing1. Fork the repository 2. Create a feature branch 3. Make your changes 4. Test thoroughly 5. Submit a pull request

How to install the ClipToWslMcp MCP server

#### For Source Build Installation:
```json
{
  "mcpServers": {
    "clip-to-wsl": {
      "command": "node",
      "args": ["/full/path/to/ClipToWslMcp/mcp-server/dist/index.js"],
      "env": {
        "CLIPBOARD_EXE_PATH": "/full/path/to/ClipToWslMcp/clipboard-reader/clipreader.exe"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
CLIPBOARD_EXE_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • Use ClipToWslMcp to Logs.
  • Use ClipToWslMcp to Contributing.

Frequently asked questions

It connects ClipToWslMcp to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (Logs, Contributing) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with ClipToWslMcp directly.