Skip to main content
Glama

lightjob

lightjob is a minimal MCP server that turns a written spec into a job. A coding agent does the job in a clone of a git repository. A gate and a judge check the delivery before it is paid and merged.

The loop

  1. job_post pins a spec file at a commit with a bounty.

  2. job_brief shows the worker the requirements, scope, gate and rules.

  3. job_gate runs the gate in the worker's clone.

  4. job_deliver hands in patches, notes and logs as a round.

  5. job_judge applies the latest delivery, checks scope, gate, shortcuts and comments, and reads the deviations.

  6. job_verdict records a pass or fail.

  7. job_pay writes the payment to the ledger once the delivery has passed.

  8. job_merge applies the passed patches to the repository after the merge commands pass.

Related MCP server: MOJOMO MCP Server

Installing and connecting

lightjob needs Python 3.11 or newer and uses only the standard library.

pip install -e .
python -m lightjob

The server speaks MCP on stdin and stdout. It keeps its state in one directory, chosen in this order: the --dir argument, then the LIGHTJOB_DIR environment variable when it is not empty, then ~/.lightjob. It prints the choice on stderr at start.

Claude Code:

{
  "mcpServers": {
    "lightjob": {
      "command": "python",
      "args": ["-m", "lightjob", "--dir", "/path/to/state"]
    }
  }
}

Gemini CLI:

{
  "mcpServers": {
    "lightjob": {
      "command": "lightjob",
      "args": ["--dir", "/path/to/state"]
    }
  }
}

Antigravity:

{
  "mcpServers": {
    "lightjob": {
      "command": "python",
      "args": ["-m", "lightjob"],
      "env": {"LIGHTJOB_DIR": "/path/to/state"}
    }
  }
}

Tools

Tool

What it does

job_post

Post a job: pin a spec file in a git repository at a commit, with a bounty.

job_lint

Warn about a spec before posting it; changes nothing.

job_brief

Show the exact work and rules of a job.

job_gate

Run the job's gate in your clone: the fast gate if the spec has fast lines, else the full gate.

job_inspect

Read one open item of the latest report whole, or the latest delivery's diff with lines added and removed per file.

job_deliver

Deliver a round: a directory with patches, notes and logs.

job_judge

Judge the latest delivery.

job_verdict

Record a pass or fail for the latest delivery.

job_pay

Write a payment to the ledger for a job whose latest delivery passed.

job_merge

Apply a passed delivery's patches to the repository if the merge commands pass in a clone.

job_question

Ask the poster a question about a job.

job_answer

Answer a question; with spec and commit, pin a new spec version.

job_close

Close a job that is not paid, with a reason.

job_status

List all jobs, or give the full history of one.

Spec format

A spec is a markdown file. Its first line is a # title. A line Why: ... gives the reason. A ## Requirements section holds items written R1: ..., R2: .... An optional ## Edge cases section holds items written E1: .... Fenced blocks named lightjob-... carry the machine-read parts:

Block

Content

lightjob-scope

Required. One path glob per line; the delivery may change only these.

lightjob-gate

Required. One command per line, and the gate options below.

lightjob-context

References such as path:10-20 or path#symbol, shown in the brief.

lightjob-examples

One example per line, written <call> => <expect>.

lightjob-evidence

One item per line, written <path>: <what it must show>; paths stay inside evidence/.

lightjob-merge

Commands job_merge runs; without the block it runs the gate's commands.

lightjob-env

One NAME=value per line, set when the gate runs.

Gate options

A line of the lightjob-gate block that does not start with one of these options is a command.

Option

Meaning

timeout

Seconds allowed per command, a positive number.

warm

true or false: reuse one clone between judgings.

keep

A path glob that a warm clone keeps when it is reset; may repeat.

sibling

name=path@commit: a second repository checked out at a commit next to the clone; may repeat.

comments

allowed: lets the delivery add comments and docstrings.

mutants

Number of mutants from 1 to 100, or off.

mutants-budget

Seconds for mutation, from 1 to 600.

fast

A command job_gate runs instead of the full gate; may repeat.

repeat

Run the last command this many times, from 2 to 50.

load

Busy processes, from 0 to 256 or auto, kept running while the repeats run.

Running the tests

python -m unittest discover -s tests -q

tests/test_readme.py checks that the tables and config examples above match the code.

lightjob is released under the MIT license; see LICENSE.

Available Tools

14 tools
job_answerA

Answer a question of a job; with spec and commit together, pin a new spec version that later deliveries are judged against.

Inputs: job (required), text (required), question (required), spec, +1 more.

job_briefB

The exact work and rules of a job: requirements, edge cases, examples, scope, gate, rules, delivery instructions and earlier rounds.

Inputs: job (required).

job_closeA

Close a job that is not paid, with a reason; a closed job takes no delivery, judging, verdict, payment or gate run.

Inputs: job (required), reason (required).

job_deliverC

Deliver a round: a directory with patches/ (git format-patch output), notes.md and logs.

Inputs: dir (required), job (required).

job_gateA

Run the job's gate in your clone: the fast gate when the spec has fast lines, else the full gate; full=true always runs the full gate. Per command the exit code and seconds, and the last 30 output lines of a failing command.

Inputs: dir (required), job (required), full.

job_inspectA

Read the whole of one open item of the job's latest report (item), or the unified diff of the latest delivery with the lines added and removed per file (diff, optionally limited to one file); give exactly one of item and diff.

Inputs: job (required), diff, file, item.

job_judgeC

Judge the latest delivery: apply, scope, gate, shortcut and comment scan and deviations.

Inputs: job (required).

job_lintA

Warn about a spec before posting it: what job_post would refuse, vague requirement words, references to undefined items, tests of the scope no gate command runs and names used outside the scope. Reads the spec on disk and the repository at the commit; changes nothing.

Inputs: repo (required), spec (required), commit (required).

job_mergeA

Merge a job whose latest delivery passed: clone the repository at its HEAD, apply the delivery's patches, run the merge commands there, and only if all pass apply the same patches to the repository itself; any failure leaves the repository as it was.

Inputs: job (required).

job_payB

Write a payment to the ledger for a job whose latest delivery passed.

Inputs: job (required).

job_postA

Post a job: pin a spec file inside a git repository at a commit, with a bounty.

Inputs: repo (required), spec (required), title (required), bounty (required), +1 more.

job_questionA

Ask the poster a question about a job that is neither closed nor paid; a pass waits until every question is answered.

Inputs: job (required), text (required).

job_statusB

Without job: all jobs with state, rounds and bounty. With job: its full history.

Inputs: job.

job_verdictB

Record a pass or fail for the latest delivery, answering every open item.

Inputs: job (required), pass (required), reason, answers.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 14 tools

    Disambiguation4/5

    Most tools have clearly distinct lifecycle roles, but job_judge, job_verdict, and job_gate overlap: judge encompasses gate and analysis, verdict records the decision, and gate runs only the gate. The descriptions clarify the distinctions, but an agent could still hesitate about which to call after a delivery.

    Naming Consistency5/5

    All 14 tools use a consistent job_ prefix in snake_case, such as job_post, job_deliver, and job_verdict. A few names use nouns rather than verbs, but the overall pattern is highly predictable and readable.

    Tool Count5/5

    14 tools is well within the ideal range and each maps to a distinct lifecycle step: post, lint, brief, deliver, judge, verdict, gate, inspect, question, answer, merge, pay, close, and status. No tool feels redundant or missing from a count perspective.

    Completeness5/5

    The surface covers the full job lifecycle from posting and linting through delivery, judging, Q&A, merge, payment, and closure, plus status and history. No obvious workflow or CRUD gap remains for the stated domain.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables agents to propose and manage Gibwork bounties for human help, wait for and review submissions, and request owner-approved escrow funding, payouts, refunds, and audit verification through a signing vault.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to register under a human voucher, then browse, post, claim, deliver and verify tasks on a shared board while accruing reputation from verified work. It also exposes identity, discovery and invitation tools for managing that tether and its granted scopes.
      24
      111 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables coding agents and other MCP clients to hand bounded jobs to remote worker agents, track progress, and review reports or patches before accepting results, with repository access denied until explicitly granted and owner approval required.
      2,207 npm
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP-compliant coding agents to discover and claim escrowed software bounties, verify live PayPal escrow, push lease-renewing progress checkpoints, validate and upload artifacts, and submit deliverables for verification and payout.
      10
      MIT