Skip to main content
Glama

💻 mcp-vnc

Node.js Version License: MIT npm version

Ein Model Context Protocol (MCP)-Server, der es KI-Agenten ermöglicht, Windows, Linux, macOS oder alles andere, das einen VNC-Server ausführen kann, remote zu steuern (keine Sorge, es ist wahrscheinlich in Ordnung).

Screenshot

🚀 Schnellstart

Von NPM installieren

npm install -g @hrrrsn/mcp-vnc

Aus dem Quellcode installieren

git clone https://github.com/hrrrsn/mcp-vnc
cd mcp-vnc
npm install
npm run build

Related MCP server: mcp-vnc

⚙️ Konfiguration

Claude Desktop

  1. Suchen und öffnen Sie Ihre Konfigurationsdatei für Claude Desktop:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

    • Windows: %APPDATA%\Claude\claude_desktop_config.json

    • Linux: ~/.config/Claude/claude_desktop_config.json

  2. Fügen Sie die folgende Konfiguration hinzu:

Bei Installation über 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"
      }
    }
  }
}

Bei Installation aus dem Quellcode:

{
  "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 (optional) legt fest, wie lange jeder Tool-Aufruf auf die Verbindung zum VNC-Server und die Bereitstellung des ersten Frames wartet, in Millisekunden. Standardwert ist 30000.

VS Code

Bitte lesen Sie die VS Code-Dokumentation

HTTP-Transport (Streamable HTTP)

Standardmäßig verwendet der Server stdio. Um ihn stattdessen über HTTP bereitzustellen:

# 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 3000

Der MCP-Endpunkt ist dann unter http://localhost:3000/mcp verfügbar. Beispiel für eine Client-Konfiguration:

{
  "mcpServers": {
    "vnc-controller": {
      "type": "http",
      "url": "http://localhost:3000/mcp"
    }
  }
}

Setting

Default

Description

MCP_TRANSPORT

stdio

Auf http setzen, um HTTP-Transport zu aktivieren

MCP_PORT

3000

HTTP-Listener-Port

🛠️ Verfügbare Tools

Der MCP-Server stellt die folgenden Tools zur Fernsteuerung des Desktops bereit:

🖱️ Maussteuerung

Parameter

Required

Type

Description

Default

x

number

X-Koordinate

-

y

number

Y-Koordinate

-

button

string

Maustaste (left, right, middle)

left

double

boolean

Doppelklick statt Einzelklick

false

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

Parameter

Required

Type

Description

x

number

X-Koordinate

y

number

Y-Koordinate

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

⌨️ Tastatursteuerung

Parameter

Required

Type

Description

key

string

Zu drückende Taste oder Tastenkombination

Unterstützte Tasten:

  • Einzeltasten: a, Enter, F1, Escape, Up, Down, Tab, Space

  • Tastenkombinationen: Ctrl+c, Alt+F4, Ctrl+Alt+Delete, Shift+Tab

  • Modifikatoren: Ctrl, Alt, Shift, Super/Win, Meta/Cmd

Beispiele:

  • vnc_key_press(key="Enter")

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

📝 Texteingabe

Parameter

Required

Type

Description

Default

text

string

Einzugebender Text

-

enter

boolean

Nach der Eingabe Enter drücken

false

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

Parameter

Required

Type

Description

lines

string[]

Array der einzugebenden Zeilen

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

📸 Bildschirmaufnahme

Parameter

Required

Type

Description

Default

delay

number

Verzögerung vor dem Screenshot (0-300000ms)

0

Beispiel: vnc_screenshot(delay=1000) - 1 Sekunde vor der Aufnahme warten

🤝 Mitwirken

Beiträge sind willkommen! Reichen Sie gerne einen Pull Request ein.

📄 Lizenz

Dieses Projekt ist unter der MIT-Lizenz lizenziert - siehe die Datei LICENSE für Details.

A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    A
    quality
    D
    maintenance
    An 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.
    6
    527
    55
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables MCP-compatible LLMs to interact with any desktop accessible over VNC, providing tools for screen reading (OCR), mouse and keyboard control, and automation.
    13
    AGPL 3.0
  • A
    license
    B
    quality
    D
    maintenance
    Empowers 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.
    21
    1
    MIT

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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