Logo de MCP Windows

MCP Windows

Comunidade
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.

Publicado porsbroenne
Repositóriomcp-windows
IdiomaC#
Forks
17
Estrelas
101
Ferramentas disponíveis
0
Tipo de transportestdio
LicençaMIT
Links
  • Conecte ferramentas a fluxos de trabalho de IA

    MCP Windows disponibiliza recursos MCP que podem ser usados por clientes e agentes de IA compatíveis.

  • 0 ferramentas disponíveis

    Confira abaixo as ações que podem ser chamadas, incluindo nomes e descrições quando fornecidos pelo servidor.

  • Configuração pronta para copiar

    Use os exemplos de instalação para configurar este servidor no seu cliente MCP preferido.

  • Indicadores da comunidade de código aberto

    101 estrelas e 17 forks no repositório vinculado.

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

Use o MCP de MCP Windows com vários modelos de IA

O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho. Assim, após conectar MCP Windows, é possível usá-lo com diferentes modelos de IA no TypingMind, em vez de configurá-lo separadamente para cada modelo. Este MCP é executado localmente no seu dispositivo por meio do conector MCP do TypingMind.

Guia de configuração para usar o conector local

Use esta opção quando o servidor MCP precisar acessar arquivos locais, aplicativos ou recursos privados no seu computador.

1

Abra as configurações de MCP

No TypingMind, vá até Configurações, Configurações avançadas e depois Model Context Protocol e selecione Configurar conector.

  1. Abra o TypingMind no navegador.
  2. Clique no ícone de Ajustes.
  3. Acesse Configurações avançadas.
  4. Abra a seção Model Context Protocol.
  5. Clique em Configurar conector e selecione Este dispositivo.
Tela de configuração do conector MCP do TypingMind com a opção Este dispositivo selecionada
2

Execute o comando do conector

Selecione Este dispositivo, copie o comando do TypingMind e execute-o no Terminal. Mantenha o processo em execução enquanto usa o MCP.

  1. Copie o comando de configuração exibido pelo TypingMind.
  2. Abra o Terminal no macOS ou o Windows Terminal no Windows.
  3. Cole e execute o comando.
  4. Autorize a instalação do pacote se o Terminal pedir confirmação para continuar.
  5. Mantenha o processo em execução na janela do Terminal enquanto usa as ferramentas MCP.
3

Adicione MCP Windows como servidor

Quando o status do conector for Pronto, clique em Editar e cole a configuração do servidor MCP.

  1. Aguarde até que o status do conector mostre Pronto.
  2. Clique em Editar.
  3. Cole a configuração do servidor MCP de MCP Windows.
  4. Salve a lista de servidores.
  5. Atualize para confirmar se o conector ainda está pronto para uso.
Configurações de MCP do TypingMind mostrando um servidor ativo e o botão Editar
{
  "mcpServers": {
    "mcp-windows": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use a conexão com diferentes modelos

Salve a lista de servidores, abra Plugins, ative as ferramentas MCP de MCP Windows, selecione qualquer modelo de IA compatível no TypingMind e use as ferramentas no chat ou atribua-as a um agente de IA.

  1. Abra a página Plugins no TypingMind.
  2. Ative as ferramentas MCP de MCP Windows.
  3. Inicie um chat e escolha o modelo de IA que deseja usar.
  4. Use as ferramentas MCP no chat ou atribua-as a um agente de IA.
  5. Mude para outro modelo de IA sempre que necessário, sem reconectar o MCP.
Chat do TypingMind usando ferramentas MCP ativadas com um modelo de IA selecionado
Pode usar MCP Windows para me ajudar nesta tarefa?
MCP Windows
Claro. Já li.
Veja o que encontrei usando MCP Windows.

Perguntas frequentes

Para que serve o servidor MCP MCP Windows?

MCP Windows é um servidor MCP que permite que aplicativos de IA compatíveis se conectem a ferramentas externas e informações de contexto. No TypingMind, basta adicionar esse servidor MCP uma vez para disponibilizar suas ferramentas no seu espaço de trabalho com IA.

Posso usar o MCP MCP Windows com vários modelos de IA no TypingMind?

Sim. O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho, permitindo usar MCP Windows com diferentes modelos de IA, como Claude, ChatGPT, Gemini ou outros modelos configurados no TypingMind, sem configurar o servidor MCP separadamente para cada modelo.

Por que usar o MCP MCP Windows com o TypingMind?

O TypingMind é uma das melhores interfaces de chat com LLMs porque reúne vários modelos de IA, prompts, plugins, agentes de IA, chaves de API e ferramentas MCP em um só espaço de trabalho. Com MCP Windows conectado, é possível usar suas ferramentas MCP nos seus modelos preferidos e manter seu fluxo de trabalho de chat organizado no TypingMind.

Como conecto o MCP MCP Windows ao TypingMind?

MCP Windows funciona por meio do conector MCP local do TypingMind. Essa é a melhor opção quando o servidor MCP precisa acessar arquivos locais, apps de desktop, ferramentas de linha de comando ou recursos privados no seu computador.

Quais ferramentas o MCP MCP Windows oferece no TypingMind?

MCP Windows disponibiliza recursos MCP que podem ser ativados na página Plugins do TypingMind e usados no chat ou atribuídos a agentes de IA.

Preciso compartilhar minhas chaves de API com o TypingMind para usar o MCP MCP Windows?

Não. O TypingMind prioriza o uso local e permite manter seus provedores de modelos, chaves de API, prompts e configuração MCP sob seu controle. Se MCP Windows exigir autenticação, adicione os cabeçalhos, as configurações OAuth ou a configuração local exigidos por esse servidor MCP ao criar a conexão.

Servidores MCP relacionados

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇