A Model Context Protocol Server (MCP) for Microsoft Paint

April 7, 2025

Meme of two astronauts in space pointing at Earth labeled 'Agents'. One astronaut says 'Wait, it’s just a for loop?', while the other, pointing a gun at him, replies 'Always has been' — humorously implying that 'agents' are just a loop in disguise

Why did I do this? I have no idea, honest, but it now exists. It has been over 10 years since I last had to use the Win32 API, and part of me was slightly curious about how the Win32 interop works with Rust.

Anywhoooo, below you’ll find the primitives that can be used to connect Microsoft Paint to Cursor or ClaudeDesktop and use them to draw in Microsoft Paint. Here’s the source code.

Source: A Model Context Protocol Server (MCP) for Microsoft Paint

Geoffrey Huntley (who we’ve quoted a number of times recently) has built an MCP server for Microsoft Paint.