MCP Windows 标志

MCP Windows

社区
sbroenne

Let AI agents control Windows applications. Click buttons, type text, toggle settings — all by name, not coordinates. Uses the Windows UI Automation API to find UI elements reliably, regardless of DPI, theme, resolution, or window position.

发布者sbroenne
代码仓库mcp-windows
语言C#
复刻数
17
星标数
101
可用工具
0
传输类型stdio
许可协议MIT
链接
  • 将工具接入 AI 工作流

    MCP Windows 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 101 个 Star 和 17 个 Fork。

Windows MCP Server

License .NET Platform CI

Put your AI to work in Windows.

Fill forms. Read tables. Save files. Give the AI assistant you already use direct access to your Windows apps.

Windows MCP works with GitHub Copilot, Claude, Cursor, and other compatible assistants, through MCP or the command line (CLI). You do not need to learn tool names or write automation scripts.

Direct control. Fewer tokens. Your choice of AI. Work with real buttons and fields, read only what the task needs, and request changes instead of repeated control lists. Screenshots, mouse, and keyboard actions are built in for visual tasks.

Get started | See the real-task benchmark

Why Windows MCP?

Find the Save button and act on that button. Read a field's value directly. Check whether a box is ticked without interpreting its appearance. Windows MCP uses the information apps provide about their controls, rather than relying only on pictures and screen positions.

TaskScreenshot-only approachWindows MCP's first choice
Click SaveFind the button in an image and choose a screen positionFind the named button and act on it
Read a field or tableInterpret text and layout in the imageRead the field value or table rows directly
Check whether a box is checkedInterpret how the box looksRead its checked state
Check what changedCapture and interpret another imageRequest just the changed controls when possible
Choose a modelThe screenshot route needs image understandingTasks with readable controls can use text replies without images

Screenshots still matter for drawings, games, and apps with missing accessibility information. Windows MCP includes screenshots, mouse, keyboard, and text recognition for those cases. Both approaches are available through the same tools: controls first, screenshots when needed.

Compare controls and screenshots.

MCP or CLI for your agent?

Both routes give AI agents the same Windows automation capabilities.

RouteA good fit when...
MCPYour assistant already connects to MCP tools.
CLI (wincli)Your coding agent can run commands on your Windows PC through its existing terminal tool.

You describe the task; the agent chooses the tool calls or commands. With the CLI, the agent can look up help as needed, without a separate Windows MCP connection. You do not have to write a script, though scripts can use it too.

The CLI keeps controls and previous views between commands through its own background service. That state is separate from MCP connections. How the two routes work.

Get started

You need an unlocked Windows desktop and either an AI application with MCP support or an agent that can run commands on that PC.

VS Code with GitHub Copilot

  1. Install Windows MCP Server from the VS Code Marketplace.
  2. Open Copilot Chat in Agent mode, enable the Windows MCP tools, and try a task below.

The extension includes its .NET runtime; no separate .NET installation is needed.

Claude Desktop, Cursor, and other MCP clients

  1. Download the Windows package for your processor from Releases and extract it. The standalone server includes its runtime.
  2. Add the server executable to your client's MCP configuration. Use the setup guide for the configuration file and copyable examples for your client.
  3. Restart or reload your client and check that the Windows MCP tools are available.

Coding agents using the CLI

Let your agent use wincli through its existing terminal tool. Follow the command-line (CLI) installation and first steps. No separate Windows MCP connection is required.

Try your first task

Open Notepad, then ask your agent:

Type "Hello from Windows MCP" in Notepad and save it as a new file named windows-mcp-demo.txt on my Desktop.

Other things to try:

  • "Read the error message in this dialog and explain it."
  • "Summarize the article in my current Edge window."
  • "Read this table and list the entries that are missing a value."
  • "Move the Notepad window to my second monitor."

The agent chooses the tools and asks for approval according to your client's settings. Start with a test document rather than important work.

Real tasks: controls first versus screenshots

In 16 real-task trials, the controls-first route completed 8 of 8 tasks. The screenshot-only route completed 7 of 8. Across the seven matching app/model pairs where both routes completed, controls first used a median 34.9% fewer input tokens and took a median 34.3% less framework session time.

The comparison used GPT-6.1 Sol and GPT-6 Luna in Notepad, Word, PowerPoint, and Chrome. One screenshot-only PowerPoint trial reached the 80-call limit. Controls were not always cheaper or faster: in the completed GPT-6.1 Sol PowerPoint pair, controls used 58.1% more input tokens and 35.0% more time.

See every trial, the limits, and the method.

Saved files and submitted values are checked independently, and original inputs must remain unchanged. The framework records actual model requests, tools, image detail, usage, and stop reasons. Unsupported evidence stops the run instead of producing a partial comparison.

Tasks, safeguards, and reproduction steps.

Save tokens with focused reads

AI services count the text and images they read in units called tokens. Windows MCP can reduce what your assistant has to read in two ways.

Read one field instead of the whole window

Need a name from a form? Read that field rather than send every button, field, and menu in the window. In 300 live reads with GPT-6 Astra, GPT-6 Luna, GPT-5.6 Sol, and GPT-5.6 Luna, every answer was correct. Direct reads used 51.4% fewer input tokens than low-detail screenshots and 70.5% fewer than high-detail screenshots. These are reported model usage counts, including the question and instructions. All four models showed the same input savings.

Direct field reads saved 51.4% of input tokens versus low-detail screenshots with GPT-6 Astra, GPT-6 Luna, GPT-5.6 Sol, and GPT-5.6 Luna. All 300 answers were correct.

Get the value directly, not from a picture. Your assistant receives the text it needs for the next step, without interpreting the rest of the window. Screenshots also worked at both detail settings in this form test.

Model differences, response times, and the repeatable method.

Send changes instead of repeating everything

After a value changes, send just the changes instead of another full description of the window. This used 84.0% to 96.6% fewer approximate tokens in our Excel, Word, and desktop test-app workloads.

Changes-only text updates: Excel 84.0%, Word 86.1%, desktop test app 96.6% fewer approximate tokens than full text. First view excluded.

The first read is not counted. This chart compares text with text, not screenshots. Its percentages are not extra savings to add to the first chart. These two smaller tests measure information sent, not a complete task or a dollar bill. Do not add their savings to the real-task figures above. Results and method.

What you can automate

TaskCapabilities
Work with applicationsLaunch apps, find and arrange windows
Fill in formsFind fields, enter text, click buttons, select options
Read informationRead text, tables, window contents, and screenshots
Work with filesHandle supported Open and Save As dialogs
Repeat a workflowRun a steps array stored in a project file

Complete feature and tool reference

Before you use it

Windows MCP controls your real desktop, including any signed-in applications you let the agent use. Use a trusted client, review its approval settings, and avoid using the mouse and keyboard while the agent is working.

Disabled MCP tools cannot be called directly or through a batch. These settings are not a Windows sandbox and do not limit CLI commands. Enabled tools can still use their own input methods and may achieve similar outcomes.

Security and tool access settings | Privacy

Known limitations

  • Accessibility coverage varies by application. WinForms, WinUI 3, Electron, Edge, and Chrome have integration coverage, not a guarantee for every app.
  • Browser page controls are the stronger path. Support for browser toolbars and browsers other than Edge and Chrome is more limited.
  • Standard file-dialog helpers currently depend on English Windows labels.
  • An agent without administrator rights cannot control an app running as administrator. Windows security prompts need human approval.
  • You and all connected agents share one desktop. Separate connections do not create separate desktops.

Security | Privacy | Detailed limitations

Related projects

Documentation

Website | Feature reference | CLI guide | Token benchmarks | Contributing | Release setup

License

MIT

将 MCP Windows MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 MCP Windows 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 MCP Windows 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 MCP Windows MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "mcp-windows": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 MCP Windows MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 MCP Windows MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 MCP Windows 帮我完成这项任务吗?
MCP Windows
当然。我已阅读。
以下是我使用 MCP Windows 得到的结果。

常见问题

MCP Windows MCP 服务器有什么用途?

MCP Windows 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 MCP Windows MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 MCP Windows,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 MCP Windows MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 MCP Windows 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 MCP Windows MCP 连接到 TypingMind?

MCP Windows 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

MCP Windows MCP 在 TypingMind 中提供哪些工具?

MCP Windows 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 MCP Windows MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 MCP Windows 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇