screen-mcp
A local MCP server for Windows that gives Claude control of your screen, enabling screen viewing, image-based element finding, clicking/typing, macro recording and replaying, and scheduled automation with failsafe safety features.
README
screen-mcp
MCP local (stdio) que dá ao Claude controle da sua tela no Windows: ver, achar por imagem, clicar/digitar, gravar e repetir macros, e agendar. Sem porta exposta.
Veja SPEC.md pro design completo.
Instalar
python -m venv .venv
.venv\Scripts\python.exe -m pip install -r requirements.txt
Registre no seu ~/.claude.json:
{
"mcpServers": {
"screen-mcp": {
"command": "<caminho>\\.venv\\Scripts\\python.exe",
"args": ["<caminho>\\screenmcp\\cli.py", "serve"]
}
}
}
Reinicie o Claude Code pra ele carregar o server. Depois é só pedir em linguagem natural ("tira um print", "acha o botão X e clica", "grava uma macro", etc.).
Ferramentas
- Ver/achar:
list_monitors,screenshot,screen_info,find_image,wait_for_image - Agir:
move,click,drag,type_text,press_keys,scroll - Macros:
list_macros,record_macro,replay_macro,delete_macro - Agendar:
schedule_macro,list_schedules,unschedule
Os 4 modos
- Ao vivo — eu uso as ferramentas vendo a tela e decidindo.
- Macro gravada —
record_macro("nome")abre uma janela; você faz as ações; F9 salva. Depoisreplay_macro("nome", times=N). - Loop com condição —
wait_for_image(...)+ ação, repetido (ex: refresh até um botão aparecer). - Agendado —
schedule_macro("nome", "DAILY:09:00")cria tarefa no Agendador do Windows (MINUTE:N|HOURLY|DAILY:HH:MM|ONLOGON); roda sem o Claude presente.
Achar por imagem (o jeito robusto)
Salve um recorte (.png) do elemento em templates/ e use find_image("botao.png") → devolve x,y globais do centro pra click. Resistente a janela que se move, melhor que chutar coordenada.
Segurança
- Mouse no canto superior-esquerdo aborta tudo na hora (failsafe).
- F12 aborta um replay em andamento.
- Teto de loops + pausa entre ações. Log em
logs/actions.jsonl.
Rodar standalone (sem Claude)
.venv\Scripts\python.exe screenmcp\cli.py list
.venv\Scripts\python.exe screenmcp\cli.py record minha_macro
.venv\Scripts\python.exe screenmcp\cli.py replay minha_macro --times 5
Reinstalar deps
.venv\Scripts\python.exe -m pip install -r requirements.txt
Coordenadas / multi-monitor
Tudo em coords globais do virtual desktop (monitor primário = origem; monitores à esquerda têm x negativo). Processo é per-monitor DPI aware. Em setups com DPI mista entre monitores, prefira find_image a chutar coordenada.
Licença
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.