MCP Catalogs
Home

mcp-server-microsoft-paint

by ghuntley·20·Score 40

An MCP server for controlling Microsoft Paint with drawing, shape tools, and window management via JSON-RPC.

developer-toolsmediaproductivity
5
Forks
6
Open issues
1 mo ago
Last commit
2d ago
Indexed

Overview

This MCP server provides programmatic control over Microsoft Paint using Microsoft Commandline Protocol. It allows launching/connecting to Paint, drawing lines and shapes, setting colors and tool properties, and managing the Paint window. The server implements JSON-RPC 2.0 protocol for communication and requires Windows with Paint installed. It's built in Rust and includes example test client in Python.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Automate simple graphics creation in Paint through AI assistants
you:Integrate Paint functionality into larger automation workflows
you:Create custom drawing tools that interface with Paint programmatically
you:Can this server control Paint on macOS or Linux?
you:How do I handle Paint if it's already running?

When to choose this

When you need programmatic control over Microsoft Paint for simple drawing tasks or educational purposes.

When NOT to choose this

For serious image editing work; this server provides basic functionality only and is limited to Windows with Microsoft Paint installed.

Tools this server exposes

9 tools extracted from the README
  • initialize

    Finds or launches Microsoft Paint

  • connect

    Connects to an already running Paint window

  • draw_line

    Draws a line from one point to another

  • activate_window

    Brings the Paint window to the foreground

  • get_canvas_dimensions

    Returns the current canvas size

  • draw_pixel

    Draws a single pixel

  • draw_shape

    Draws a shape (rectangle, ellipse, etc.)

  • select_tool

    Selects a drawing tool

  • set_color

    Sets the current color

Comparable tools

photoshop-mcpgimp-mcpimage-magick-mcp

Installation

Installation

  1. Clone the repository:
git clone https://github.com/ghuntley/mcp-server-microsoft-paint
cd mcp-server-microsoft-paint
  1. Build the server:
cargo build --release
  1. Run the server:
cargo run --release

Claude Desktop Configuration

Add to your Claude Desktop config.json:

"mcpServers": {
  "paint": {
    "command": "path/to/cargo",
    "args": ["run", "--release", "--", "mcp-server-microsoft-paint"],
    "env": {}
  }
}

FAQ

Can this server control Paint on macOS or Linux?
No, this server is specifically designed for Windows 10/11 with Microsoft Paint installed.
How do I handle Paint if it's already running?
Use the `connect` method with your client_id and client_name to connect to an existing Paint instance instead of initializing a new one.

Compare mcp-server-microsoft-paint with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.