mcp-vnc
💻 mcp-vnc
Un servidor de Model Context Protocol (MCP) que permite a los agentes de IA controlar de forma remota Windows, Linux, macOS o cualquier otra cosa que pueda ejecutar un servidor VNC (no te preocupes, probablemente esté bien).

🚀 Inicio Rápido
Instalar desde NPM
npm install -g @hrrrsn/mcp-vncInstalar desde el código fuente
git clone https://github.com/hrrrsn/mcp-vnc
cd mcp-vnc
npm install
npm run buildRelated MCP server: mcp-vnc
⚙️ Configuración
Claude Desktop
Localiza y abre tu archivo de configuración de Claude Desktop:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Añade la siguiente configuración:
Usando la instalación desde NPM:
{
"mcpServers": {
"vnc-controller": {
"type": "stdio",
"command": "mcp-vnc",
"env": {
"VNC_HOST": "192.168.1.100",
"VNC_PORT": "5900",
"VNC_PASSWORD": "your-vnc-password",
"VNC_TIMEOUT": "30000"
}
}
}
}Compilado desde el código fuente:
{
"mcpServers": {
"vnc-controller": {
"type": "stdio",
"command": "node",
"args": ["dist/index.js"],
"cwd": "/path/to/mcp-vnc",
"env": {
"VNC_HOST": "192.168.1.100",
"VNC_PORT": "5900",
"VNC_PASSWORD": "your-vnc-password",
"VNC_TIMEOUT": "30000"
}
}
}
}VNC_TIMEOUT (opcional) establece cuánto tiempo espera cada llamada a una herramienta a que el servidor VNC se conecte y entregue el primer fotograma, en milisegundos. El valor predeterminado es 30000.
VS Code
Consulta la documentación de VS Code
Transporte HTTP (Streamable HTTP)
Por defecto, el servidor usa stdio. Para exponerlo a través de HTTP en su lugar:
# Via environment variables
VNC_HOST=192.168.1.100 VNC_PORT=5900 VNC_PASSWORD=secret \
MCP_TRANSPORT=http MCP_PORT=3000 mcp-vnc
# Or via CLI arguments
mcp-vnc --http --port 3000El endpoint de MCP está entonces disponible en http://localhost:3000/mcp. Ejemplo de configuración del cliente:
{
"mcpServers": {
"vnc-controller": {
"type": "http",
"url": "http://localhost:3000/mcp"
}
}
}Setting | Default | Description |
|
| Configúralo en |
|
| Puerto de escucha HTTP |
🛠️ Herramientas disponibles
El servidor MCP proporciona las siguientes herramientas para el control remoto del escritorio:
🖱️ Control del ratón
Parámetro | Obligatorio | Tipo | Descripción | Por defecto |
| ✅ | number | Coordenada X | - |
| ✅ | number | Coordenada Y | - |
| ❌ | string | Botón del ratón ( |
|
| ❌ | boolean | Doble clic en lugar de un solo clic |
|
Ejemplo: vnc_click(x=100, y=200, button="right", double=true)
Parámetro | Obligatorio | Tipo | Descripción |
| ✅ | number | Coordenada X |
| ✅ | number | Coordenada Y |
Ejemplo: vnc_move_mouse(x=500, y=300)
⌨️ Control del teclado
Parámetro | Obligatorio | Tipo | Descripción |
| ✅ | string | Tecla o combinación de teclas a pulsar |
Teclas admitidas:
Teclas individuales:
a,Enter,F1,Escape,Up,Down,Tab,SpaceCombinaciones de teclas:
Ctrl+c,Alt+F4,Ctrl+Alt+Delete,Shift+TabModificadores:
Ctrl,Alt,Shift,Super/Win,Meta/Cmd
Ejemplos:
vnc_key_press(key="Enter")vnc_key_press(key="Ctrl+Alt+Delete")
📝 Entrada de texto
Parámetro | Obligatorio | Tipo | Descripción | Por defecto |
| ✅ | string | Texto a escribir | - |
| ❌ | boolean | Pulsar Enter después de escribir |
|
Ejemplo: vnc_type_text(text="Hello World!", enter=true)
Parámetro | Obligatorio | Tipo | Descripción |
| ✅ | string[] | Array de líneas a escribir |
Ejemplo: vnc_type_multiline(lines=["Line 1", "Line 2", "Line 3"])
📸 Captura de pantalla
Parámetro | Obligatorio | Tipo | Descripción | Por defecto |
| ❌ | number | Retraso antes de la captura de pantalla (0-300000ms) |
|
Ejemplo: vnc_screenshot(delay=1000) - Espera 1 segundo antes de capturar
🤝 Contribuciones
¡Las contribuciones son bienvenidas! No dudes en enviar un Pull Request.
📄 Licencia
Este proyecto está licenciado bajo la Licencia MIT; consulta el archivo LICENSE para más detalles.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI to remotely control macOS systems via VNC with full desktop capabilities including screenshots, mouse control, keyboard input, and application management. Includes a web-based chat interface for natural language control.89MIT
- AlicenseAqualityDmaintenanceAn MCP server that allows AI agents to remotely control Windows, Linux, and macOS systems via VNC. It provides tools for mouse and keyboard interaction, text input, and screen capturing.652755MIT
- AlicenseNot gradedqualityDmaintenanceEnables MCP-compatible LLMs to interact with any desktop accessible over VNC, providing tools for screen reading (OCR), mouse and keyboard control, and automation.13AGPL 3.0
- AlicenseBqualityDmaintenanceEmpowers AI agents to see, reason, and control computers via VNC, providing advanced vision features like OCR and image search, human-like input control, and optional SSH remote command execution.211MIT
Related MCP Connectors
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Eyes and hands on real Windows PCs — observe, click, type via Glasswarp API.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/robotic-wings/vnc-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server