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.
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:
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 READMEinitializeFinds or launches Microsoft Paint
connectConnects to an already running Paint window
draw_lineDraws a line from one point to another
activate_windowBrings the Paint window to the foreground
get_canvas_dimensionsReturns the current canvas size
draw_pixelDraws a single pixel
draw_shapeDraws a shape (rectangle, ellipse, etc.)
select_toolSelects a drawing tool
set_colorSets the current color
Comparable tools
Installation
Installation
- Clone the repository:
git clone https://github.com/ghuntley/mcp-server-microsoft-paint
cd mcp-server-microsoft-paint- Build the server:
cargo build --release- Run the server:
cargo run --releaseClaude 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
Last updated · Auto-generated from public README + GitHub signals.