
Rhombus.WinFormsMcp Give AI agents eyes and hands for Windows Forms apps
概览
Rhombus.WinFormsMcp Give AI agents eyes and hands for Windows Forms apps An MCP server that lets Claude (and any MCP-compatible agent) launch, automate, screenshot, and preview WinForms applications — without touching a mouse. You're building a WinForms app with an AI coding agent. The agent can read and write your code, but it's — it can't see what the form looks like, can't click a button to test a workflow, and can't tell if the UI it just generated actually renders correctly. One line in your MCP config. Now the agent can: (no Node required) — download the zip from Releases, extract it, and point to the exe: Keep the extracted folder structure intact — render_form needs the rendererhost/ subdirectory alongside the exe. That's it. The agent can now see and interact with any WinForms application on your machine.
README
以下为原文 README 节选,完整内容请查看原文。
Rhombus.WinFormsMcp Give AI agents eyes and hands for Windows Forms apps
An MCP server that lets Claude (and any MCP-compatible agent) launch, automate, screenshot, and preview WinForms applications — without touching a mouse.
The problem
You’re building a WinForms app with an AI coding agent. The agent can read and write your code, but it’s blind — it can’t see what the form looks like, can’t click a button to test a workflow, and can’t tell if the UI it just generated actually renders correctly.
The fix
One line in your MCP config. Now the agent can:
| See forms without building | render_form gives the agent a designer — the exact same rendering pipeline Visual Studio uses. Edit, re-render, iterate with no build and no human in the loop |
| Drive running apps | Launch processes, find elements by name/type/ID, click, type, drag-drop, take screenshots |
| Work in the background | Headless mode runs apps on a hidden desktop — zero focus stealing, zero disruption |
| Target any framework | .NET Framework 4.x, .NET Core 3.x, .NET 5–9+. Auto-detected from your .csproj |
Quick start
Claude Code plugin (easiest):
/plugin marketplace add fnrhombus/claude-plugins
/plugin install winforms-mcp@claude-plugins
MCP config with npx (requires Node.js):
{
"mcpServers": {
"winforms-mcp": {
"command": "npx",
"args": ["-y", "@fnrhombus/winforms-mcp"]
}
}
}
Standalone (no Node required) — download the zip from Releases, extract it, and point to the exe:
{
"mcpServers": {
"winforms-mcp": {
"command": "C:/path/to/winformsmcp/winformsmcp.exe"
}
}
}
Note: Keep the extracted folder structure intact —
render_formneeds therendererhost/subdirectory alongside the exe.
That’s it. The agent can now see and interact with any WinForms application on your machine.
Tools
| Category | Tools | Description |
|---|
安装
npx -y @fnrhombus/winforms-mcp配置
{
"mcpServers": {
"winforms-mcp": {
"command": "npx",
"args": ["-y", "@fnrhombus/winforms-mcp"]
}
}
}