Skip to content

Plugin Job Server

Hiromichi Yokoyama edited this page Nov 27, 2026 · 2 revisions

Plugin: Job Server

Job Server is a shared job queue for one PC on your network. Trusted users submit calculations from Job Manager, the browser or Python, and an administrator runs the server from MoleditPy or the command line. Jobs keep running when MoleditPy closes or the daemon restarts.

Never expose Job Server to the public internet. Use localhost, a private LAN over HTTPS, or a private Tailscale tailnet only — not Tailscale Funnel, router port forwarding, a public reverse proxy or an internet tunnel. Jobs execute arbitrary commands under the service OS account: admit only trusted users, restrict tailnet access, and run it under a low-privilege account. Authentication is not an OS sandbox.

Repository moleditpy_job_server
Author HiroYokoyama
Supported OS Windows, Linux, WSL
Supported Python >=3.11
Supported MoleditPy >=5.0.0, <6.0.0
First-party plugin license LGPL-3.0-or-later
Menu location Extensions ▸ Job Server...
Extra dependencies fastapi, uvicorn, cryptography, psutil, packaging

See Official Plugins for the full catalogue.


1. What it does

  • Queue: CPU and memory budgets, priorities, dependencies, pause and force run. A job that only waits (a script watching for a file) can ask for 0 cores and 0 memory and takes no share of the budget. A waiting job can be held by its owner or an administrator; a held job does not start, even when forced.
  • Durable jobs: jobs run in detached supervisors tracked by a SQLite ledger, so closing MoleditPy or restarting the daemon does not stop a calculation.
  • Accounts: users and administrators, device keys, password changes and resets, enable, disable and delete, with an activity log.
  • Job folders: open a job's folder in File Explorer on the server PC, or browse and download it from the Web UI or Job Manager.
  • Local by default: no listener starts until you ask, and it binds 127.0.0.1. LAN and Tailscale access are explicit opt-ins.

CPU and memory budgets are advisory: they decide when jobs start, not what a job may use, and all jobs share the service OS account.


2. Quick start

  1. Install the latest Job Server ZIP with the Plugin Installer.
  2. Open Extensions ▸ Job Server.... If Python libraries are missing, it names them.
  3. On first use, the setup guide asks for a resource budget and an administrator, then starts the server and signs this window in. A new server's budget starts at this PC's size.
  4. To reach it from another PC, follow Connecting from another PC.
  5. In Job Manager, add a Job Server host and choose Sign in / register device.

Closing the window does not stop the daemon. Server ▸ Stop stops it and preserves running jobs. A portable MoleditPy build needs a Python selected in Settings ▸ Daemon Python runtime.


3. Ways to use it

  • Desktop window: the administrator's console — live CPU and memory dials beside the reservations, the job list, and tabs for users and devices, the activity log and settings. Right-click a job, user or device for its actions.

  • Web UI: http://127.0.0.1:8766/ on the server PC, or the address set up for other PCs. Users submit jobs, follow output, browse job folders and manage their account; administrators also get queue controls and user administration.

  • Headless server and command line (Python 3.11+, no Qt or MoleditPy needed):

    python -m pip install moleditpy-job-server
    moleditpy-job-server init --tls --admin admin
    moleditpy-job-server serve

    The same commands (start, stop, drain, login, queue, jobs, users, ...) administer the server from a terminal, also as moleditpy -r job_server .... The command line signs in as a device of its own and never takes a password as an argument.

  • Python client: job_server.client.JobServerClient submits jobs with resumable, hash-verified uploads and downloads.

  • AI agents reach the server through Job Manager's script command line; the operating procedure is the moleditpy-job-manager skill.


4. Documentation

The repository's docs/ folder covers accounts, LAN access, HTTPS and Tailscale, connecting from a Mac, the headless server, WSL, execution and limits and security.


5. See also


This page documents Job Server v1.7.5, and was last updated on 2026-11-27. See REGISTRY/plugins.json for the current version.

Clone this wiki locally