drio
Open app

MCP Server for Microsoft Paint

Source

Catalog onlyCatalog onlySTDIO

Overview

Paint MCP is a Rust implementation of a Model Context Protocol (MCP) server that allows programmatic interaction with Microsoft Paint on Windows systems.

To use Paint MCP, clone the repository, build the project using Cargo, and start the server. You can then interact with Microsoft Paint through the provided HTTP API endpoints.

  • Connect to an existing Paint instance or launch a new one - Draw basic shapes (lines, rectangles, circles) - Select different drawing tools - Set colors - Save drawings
  1. Automating drawing tasks in Microsoft Paint
  2. Creating custom drawing applications that leverage Paint's interface
  3. Educational purposes for understanding programmatic UI interactions

Add to your AI client

Use these steps to connect MCP Server for Microsoft Paint in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server-microsoft-paint-ghuntley": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-microsoft-paint-ghuntley"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-server-microsoft-paint-ghuntley": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-microsoft-paint-ghuntley"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-server-microsoft-paint-ghuntley": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-microsoft-paint-ghuntley"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-server-microsoft-paint-ghuntley": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-microsoft-paint-ghuntley"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-server-microsoft-paint-ghuntley": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-microsoft-paint-ghuntley"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-server-microsoft-paint-ghuntley": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-microsoft-paint-ghuntley"
      ]
    }
  }
}

FAQ

Is Paint MCP compatible with all versions of Windows?

It is tested on Windows 10/11 but may not work with older versions due to UI changes.

Can I use Paint MCP in production?

No, it is not suitable for high-volume or production use due to its reliance on undocumented APIs and UI layouts.

What programming language is used for Paint MCP?

The project is implemented in Rust.