Labsco
hrrrsn logo

VNC

โ˜… 53

from hrrrsn

Remotely control any system running a VNC server, including Windows, Linux, and macOS, through an AI agent.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredNeeds API keys

๐Ÿ’ป mcp-vnc

Node.js Version License: MIT npm version

A Model Context Protocol (MCP) server that enables AI agents to remotely control Windows, Linux, macOS or anything else that can run a VNC server (don't worry, it's probably fine).

Screenshot

๐Ÿ› ๏ธ Available Tools

The MCP server provides the following tools for remote desktop control:

๐Ÿ–ฑ๏ธ Mouse Control

vnc_click - Click at specified coordinates
ParameterRequiredTypeDescriptionDefault
xโœ…numberX coordinate-
yโœ…numberY coordinate-
buttonโŒstringMouse button (left, right, middle)left
doubleโŒbooleanDouble-click instead of single clickfalse

Example: vnc_click(x=100, y=200, button="right", double=true)

vnc_move_mouse - Move mouse cursor
ParameterRequiredTypeDescription
xโœ…numberX coordinate
yโœ…numberY coordinate

Example: vnc_move_mouse(x=500, y=300)

โŒจ๏ธ Keyboard Control

vnc_key_press - Send keys and key combinations
ParameterRequiredTypeDescription
keyโœ…stringKey or key combination to press

Supported Keys:

  • Single keys: a, Enter, F1, Escape, Up, Down, Tab, Space
  • Key combinations: Ctrl+c, Alt+F4, Ctrl+Alt+Delete, Shift+Tab
  • Modifiers: Ctrl, Alt, Shift, Super/Win, Meta/Cmd

Examples:

  • vnc_key_press(key="Enter")
  • vnc_key_press(key="Ctrl+Alt+Delete")

๐Ÿ“ Text Input

vnc_type_text - Type single-line text
ParameterRequiredTypeDescriptionDefault
textโœ…stringText to type-
enterโŒbooleanPress Enter after typingfalse

Example: vnc_type_text(text="Hello World!", enter=true)

vnc_type_multiline - Type multiple lines
ParameterRequiredTypeDescription
linesโœ…string[]Array of lines to type

Example: vnc_type_multiline(lines=["Line 1", "Line 2", "Line 3"])

๐Ÿ“ธ Screen Capture

vnc_screenshot - Capture screen
ParameterRequiredTypeDescriptionDefault
delayโŒnumberDelay before screenshot (0-300000ms)0

Example: vnc_screenshot(delay=1000) - Wait 1 second before capture

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.