Logo MCP Windows

MCP Windows

Cộng đồng
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.

Nhà phát hànhsbroenne
Kho mãmcp-windows
Ngôn ngữC#
Bản fork
17
Sao
101
Công cụ có sẵn
0
Phương thức truyền tảistdio
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    MCP Windows cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    101 sao và 17 bản fork từ kho mã được liên kết.

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

Dùng MCP MCP Windows với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối MCP Windows, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm MCP Windows làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của MCP Windows.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "mcp-windows": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của MCP Windows, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của MCP Windows.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng MCP Windows giúp tôi làm việc này không?
MCP Windows
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng MCP Windows.

Câu hỏi thường gặp

Máy chủ MCP MCP Windows dùng để làm gì?

MCP Windows là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP MCP Windows với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng MCP Windows với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP MCP Windows với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối MCP Windows, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP MCP Windows với TypingMind?

MCP Windows hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP MCP Windows cung cấp những công cụ nào trong TypingMind?

MCP Windows cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP MCP Windows không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu MCP Windows yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇