ClipToWslMcp MCP Server

ClipToWSL - MCP server for Windows clipboard access from WSL

Local serverstdioTypeScript

What is the ClipToWslMcp MCP Server?

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.

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.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

How to install the ClipToWslMcp MCP Server

{
  "mcpServers": {
    "clip-to-wsl": {
      "command": "node",
      "args": [
        "/path/to/release/index.js"
      ],
      "env": {
        "CLIPBOARD_EXE_PATH": "/path/to/release/clipreader.exe"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
CLIPBOARD_EXE_PATHDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use ClipToWslMcp to Logs.”
  • “Use ClipToWslMcp to Contributing.”

Frequently asked questions

ClipToWSL - MCP server for Windows clipboard access from WSL Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.