Registry / devops / meshcentral

meshcentral

JSON →
library1.2.0jsnpmunverified

MeshCentral is an open-source remote computer management web server, enabling remote desktop, terminal, file access, and KVM control. The current stable version is 1.2.0, with monthly releases. It supports Intel AMT, 2FA, and granular user permissions. Unlike TeamViewer or RDP, it is self-hosted, free, and extensible via plugins. Requires Node.js >=20.0.0.

npm install meshcentral
INSTALL
IMPORT
SIG · MESHCENTRAL
M
meshcentral
devopsjavascriptv1.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Express
import express from 'express';
const express = require('express');
MeshCentral uses ES modules; CommonJS require may fail in certain contexts.
meshcentral
import { StartMeshCentral } from 'meshcentral';
const meshcentral = require('meshcentral');
The main export is a default class; named export StartMeshCentral available since 1.0.
AmtManager
import { AmtManager } from 'meshcentral/amt';
const AmtManager = require('meshcentral').AmtManager;
AMT module is separate; ensure correct path.

Starts a MeshCentral server with configurable port, TLS, and MongoDB URI.

import { StartMeshCentral } from 'meshcentral'; const server = new StartMeshCentral({ port: process.env.PORT || 443, tlsOffload: process.env.TLS_OFFLOAD || '', mongodb: process.env.MONGODB_URI || 'mongodb://localhost:27017/meshcentral', }); server.start(); console.log('MeshCentral started on port', server.port);
Debug
Known issues
breakingNode.js >=20.0.0 required; earlier versions cause ENOTSUP errors.
fix
Upgrade Node.js to v20+.
affects: <1.0
deprecatedUsing 'require' instead of import may break in ESM mode.
fix
Use ES module import syntax.
affects: >=1.0
gotchaMongoDB must be running before starting the server; otherwise it hangs.
fix
Start MongoDB service first or set MONGODB_URI correctly.
affects: all
Errors
Common errors & fixes
Error: Cannot find module 'meshcentral'
Missing meshcentral package in node_modules.
fix
Run 'npm install meshcentral' in your project directory.
Error: listen EADDRINUSE :::443
Port 443 already in use by another process.
fix
Change the port via environment variable PORT or kill the conflicting process.
Upgrade
Version history
1.2.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Bingbot
1
Resources
meshcentral — npm install meshcentral · libregistry