🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@midscene/computer

Package Overview
Dependencies
Maintainers
4
Versions
485
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@midscene/computer

Midscene.js Computer Desktop Automation

latest
Source
npmnpm
Version
1.9.7
Version published
Weekly downloads
13K
56.12%
Maintainers
4
Weekly downloads
 
Created
Source

@midscene/computer

Midscene.js Computer Desktop Automation - AI-powered desktop automation for:

  • local desktop control on Windows, macOS, and Linux
  • remote Windows desktop control over the RDP protocol

See https://midscenejs.com/computer-introduction.html.

RDP support

Use agentForRDPComputer():

import { agentForRDPComputer } from '@midscene/computer';

const agent = await agentForRDPComputer({
  host: '10.0.0.10',
  username: 'Admin',
  password: 'secret',
  ignoreCertificate: true,
});

When the machine running Midscene has multiple outbound routes, pass localAddress to bind the RDP TCP connection to a specific local source IP:

const agent = await agentForRDPComputer({
  host: '10.0.0.10',
  username: 'Admin',
  password: 'secret',
  localAddress: '10.0.0.20',
  ignoreCertificate: true,
});

RDP usage requires:

  • a reachable Windows machine with RDP enabled
  • FreeRDP installed on the machine running your script

If you need to rebuild the native helper locally from source:

pnpm --filter @midscene/computer run build:native

Run RDP AI tests:

pnpm --filter @midscene/computer run test:ai:rdp

FAQs

Package last updated on 17 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts