MCP.so
登录

MCP Server for Microsoft Paint

@ghuntley

关于 MCP Server for Microsoft Paint

暂无概览

基本信息

分类

其他

运行时

rust

传输方式

stdio

发布者

ghuntley

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-server-microsoft-paint": {
      "command": "python",
      "args": [
        "final_test.py"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Server for Microsoft Paint?

A JSON‑RPC 2.0 compatible server that controls Microsoft Paint through the Microsoft Commandline Protocol (MCP). It runs on Windows and is built with Rust, providing programmatic access to Paint’s drawing tools, window control, and color settings.

How to use MCP Server for Microsoft Paint?

Build the server with cargo build --release and run it with cargo run --release. The server accepts JSON‑RPC 2.0 requests via stdin and responds via stdout. A Python test client (final_test.py) is provided and can be run with python final_test.py.

Key features of MCP Server for Microsoft Paint

  • Launch and connect to Microsoft Paint
  • Draw lines, shapes, and pixels
  • Set colors and tool properties
  • Control the Paint window (e.g., activate, get dimensions)
  • Operates over JSON‑RPC 2.0 via stdin/stdout
  • Includes a Python test client for demonstration

Use cases of MCP Server for Microsoft Paint

  • Automate drawing lines and shapes on the Paint canvas
  • Programmatically set colors and tool properties for batch image creation
  • Integrate Paint into scripting or test automation workflows
  • Control the Paint window lifecycle from external applications

FAQ from MCP Server for Microsoft Paint

What are the system requirements?

Windows 10/11 with Microsoft Paint installed, Rust (for building the server), and Python (for the test client examples).

How do I build and run the server?

Build with cargo build --release and run with cargo run --release. The server communicates via stdin/stdout.

What JSON‑RPC methods are available?

Methods include initialize, connect, draw_line, activate_window, get_canvas_dimensions, draw_pixel, draw_shape, select_tool, set_color, and more.

Is there a test client included?

Yes, a simple test client is provided in final_test.py and can be executed with python final_test.py.

What should I do if the server cannot connect to Paint?

Ensure Paint is installed and accessible, try manually launching Paint before starting the server, and check the server logs for detailed error messages.

评论

其他 分类下的更多 MCP 服务器