Microsoft Paint

v1.0.0Developer Toolsstable

MCP server for microsoft paint

mcpmicrosoft-paintmodel-context-protocolmspaint
Share:
20
Stars
0
Downloads
0
Weekly
0/5

What is Microsoft Paint?

Microsoft Paint is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server for microsoft paint

MCP server for microsoft paint

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • MCP server for microsoft paint

Use Cases

Control Microsoft Paint programmatically through MCP integration. Automate image editing and creation tasks.
ghuntley

Maintainer

LicenseMIT
Languagerust
Versionv1.0.0
UpdatedMar 24, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx microsoft-paint

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Microsoft Paint

The Microsoft Paint MCP Server is a Rust-based JSON-RPC 2.0 server that exposes the Windows Microsoft Paint application as a programmable drawing canvas through the Model Context Protocol. It can launch or attach to a running Paint instance and accepts commands to draw lines, pixels, and shapes, select tools, set colors, and query canvas dimensions. Artists, educators, and automation enthusiasts on Windows use it to let AI assistants generate or annotate images directly inside Paint.

Prerequisites

  • Windows 10 or Windows 11 with Microsoft Paint installed
  • Rust toolchain (cargo) installed for building from source
  • An MCP client that supports stdio transport, such as Claude Desktop or Claude Code
  • Python 3 (optional, for running the included test client)
1

Clone the repository

Clone the mcp-server-microsoft-paint repository to your Windows machine. The project is written in Rust and must be compiled before use.

git clone https://github.com/ghuntley/mcp-server-microsoft-paint.git
cd mcp-server-microsoft-paint
2

Build the release binary

Compile the project in release mode using Cargo. The resulting binary will be at target/release/mcp-server-microsoft-paint.exe.

cargo build --release
3

Test the server manually

Run the server directly to confirm it starts and that the initialize method successfully finds or launches Microsoft Paint.

cargo run --release
4

Add the server to your MCP client configuration

Point your MCP client to the compiled binary. The server communicates over stdio with no additional environment variables required.

5

Verify with the Python test client

Run the included Python test script to confirm that drawing operations work end-to-end before using the server with an AI client.

python final_test.py

Microsoft Paint Examples

Client configuration

Add this block to your claude_desktop_config.json. Update the path to point to the compiled binary on your Windows system.

{
  "mcpServers": {
    "microsoft-paint": {
      "command": "C:\\path\\to\\mcp-server-microsoft-paint\\target\\release\\mcp-server-microsoft-paint.exe",
      "args": []
    }
  }
}

Prompts to try

Once configured, ask your AI assistant to draw in Microsoft Paint using natural language.

- "Draw a red horizontal line across the top of the Paint canvas."
- "Draw a blue rectangle in the center of the canvas."
- "Set the drawing color to green and draw a circle."
- "What are the current canvas dimensions in Microsoft Paint?"
- "Select the pencil tool in Paint and draw a diagonal line from (50,50) to (200,200)."

Troubleshooting Microsoft Paint

The server fails to find or launch Microsoft Paint on startup

Ensure Microsoft Paint is installed on your Windows system (it ships with Windows 10/11 but can be removed). Try launching mspaint.exe manually first, then start the MCP server — it will attach to the running instance.

Cargo build fails with compilation errors

Confirm you have an up-to-date Rust toolchain by running rustup update. The project targets Windows-specific APIs, so it must be compiled and run on Windows — cross-compilation from Linux or macOS is not supported.

Draw commands appear to succeed but nothing appears on the Paint canvas

The server uses Windows UI Automation to interact with Paint. Make sure the Paint window is visible and not minimized. Call activate_window before sending draw commands to bring Paint to the foreground.

Frequently Asked Questions about Microsoft Paint

What is Microsoft Paint?

Microsoft Paint is a Model Context Protocol (MCP) server that mcp server for microsoft paint It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Microsoft Paint?

Follow the installation instructions on the Microsoft Paint GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Microsoft Paint?

Microsoft Paint works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Microsoft Paint free to use?

Yes, Microsoft Paint is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "microsoft-paint": { "command": "npx", "args": ["-y", "microsoft-paint"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Microsoft Paint?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides