Microsoft Paint
MCP server for microsoft paint
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
Maintainer
Works with
Installation
Manual Installation
npx microsoft-paintConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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)
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-paintBuild 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 --releaseTest the server manually
Run the server directly to confirm it starts and that the initialize method successfully finds or launches Microsoft Paint.
cargo run --releaseAdd 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.
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.pyMicrosoft 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.
Microsoft Paint Alternatives — Similar Developer Tools Servers
Looking for alternatives to Microsoft Paint? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
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.
Set Up Microsoft Paint in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.