palchukovsky

just-mcp-work

Community palchukovsky
Updated

Save your coding agent's context for code: discover and run tasks across Just, Go, Make, CMake, and Docker through one local MCP server, with compact run results and full logs on demand. Put guardrails around your coding agents' commands.

just-mcp-work

VerifyReleaseLatest releaseGoLicense: MIT

Just work with your workspace - over MCP.

Your coding agent spends context reading build files and re-reading logs italready ran. just-mcp-work is a small local MCP server that gives it one wayto find and run everything a workspace can run, and answers with a short receiptinstead of a wall of output.

  • No build files in context. Go modules, Just, CMake, Docker, GNU Make, andGit repositories for fixed CLI coding-agent tasks nested anywhere in theworkspace are discovered on demand. The agent asks for one task and gets thatone task.
  • Output only when it is wanted. A run answers with its status, exit code,and short output tails. The full stdout and stderr stay one call away - forthe failures where they matter.
  • Long runs stay out of the way. Anything slow moves to the background witha run ID the agent can follow, wait on, or stop.
  • Genuinely ad-hoc commands still run. A plain shell command is only forwork outside both the discovered tasks and any task surface withheld by arunner mode. The workspace owner can switch the shell tools off.
  • Writes can be bounded per launch. On macOS, a caller can declare thepaths a run may write; JMW refuses a scoped launch where it cannot enforcethat boundary.

The agent gets the usage rules from the server itself, so there is nothing hereyou have to teach it.

Each runner has a default mode and exposes the following task surface:

Runner Default safe all
go safe build, test, vet, mod download; no args +fmt, mod tidy; go:any: any Go argv
just safe Public; no [confirm], + or required params; no args Every recipe; positional recipe values
agent safe Fixed agent CLI tasks; declared args -
cmake safe Presets; targets of configured Ninja trees except install and clean; no args +install and clean targets; args passed to cmake, ctest, cpack
docker safe build, compose up, compose up <service>, compose down; no args Same tasks; caller arguments as docker build / docker compose options
make safe Listed literal targets; no args Same targets; args after the target as goals or assignments

Every runner also has disabled, which constructs and exposes nothing.

Tasks and shell commands otherwise run with your privileges and unrestrictedfilesystem access: runner modes reduce the task surface but are not a sandbox,and the shell tools bypass them unless the workspace policy switches them off.Read SECURITY.md before pointing this at a workspace.

Install

Download an archive from the latest GitHub Release:

Platform Download
Linux x86_64 just-mcp-work_linux_amd64.tar.gz
Linux arm64 just-mcp-work_linux_arm64.tar.gz
macOS Apple Silicon just-mcp-work_darwin_arm64.tar.gz (opening notes)
Windows x86_64 just-mcp-work_windows_amd64.zip

Extract it and put just-mcp-work (or just-mcp-work.exe) on PATH. Therelease checksums.txt verifies the archive. From source:

go install github.com/palchukovsky/just-mcp-work/cmd/just-mcp-work@latest

The Go toolchain, just 1.39.0 ornewer, CMake, Docker with theCompose v2 plugin,GNU Make,codex, andclaude are neededonly for the project types you actually have. A tool missing on this host isreported as a warning, and everything else in the workspace keeps working.

Set it up

Run this once in the workspace:

just-mcp-work init

It asks whether the workspace takes part in the JMW beta test, where themanaged instruction block goes, what mode each runner gets, which directoriesproject discovery skips, which AI families to declare, whether the shell toolsare offered at all and, when they are, whether they may run without a clientconfirmation.Then it writes those surfaces, the runner policy, and the generated agentguide. A terminal that can draw it shows the questions as one keyboard-drivenform; anywhere else they come one at a time as text. Every question has a flagfor a scripted run; init --help lists them.

A workspace whose policy predates the shell member must rerun init with--keep-recorded --shell enabled|disabled; seeAfter an update for the other flags to pass.

Set up a workspace covers the questions, the files initowns, and when a later release asks you to run it again.

Clients configured by init start serve from the generated entry. ForCline CLI, register the server in Cline.

serve accepts these options:

Flag Environment Default
--root JMW_ROOT Current directory
--ai - None
--timeout JMW_TIMEOUT 15m (0 disables the timeout)
--sync-deadline JMW_SYNC_DEADLINE 1m
--retention JMW_RETENTION 72h
--exclude - None

--sync-deadline and --retention must be positive, including when set throughtheir environment variables.

Run data is kept under .just-mcp-work/log/ in the selected workspace.

Build and release

With Just:

just setup
just verify
just build-all
just package

just setup installs the pinned verification tools into ignored directories inthis checkout: golangci-lint under .tmp/bin/ and Semgrep under .venv/.just verify checks formatting, dependencies, strict lint, vet, race-enabledtests, build, and the MCP smoke flow. just build-all produces the Linux,macOS, and Windows binaries; just package creates the release archives andchecksums. just build-run <arguments> builds the command for this machineand runs it, for example just build-run init --dir ~/work/my-project.

just release <patch|minor|major> <notes_file> verifies the project, commits therelease notes from an absolute path and pushes the current branch, then createsand pushes the next tag. GitHub Actions then builds and publishes the release.just release-dry [patch|minor|major] runs the same checks and starts apipeline dry run without creating a tag; it needs authenticated GitHub CLIaccess.

Documentation

docs/ is the documentation index. Start with theagent guide: the object model, discovery rules, task IDsper runner, the run lifecycle, and the MCP tool reference.

License

MIT

MCP Server ยท Populars

MCP Server ยท New

    postgres-ai

    PostgresAI

    postgresai โ€“ Postgres observability built for humans and AI agents

    Community postgres-ai
    auto-mobile-oss

    AutoMobile

    Mobile automation suite of tools including an MCP and libraries for test authoring & execution

    Community auto-mobile-oss
    clearframes

    MCP Observatory

    Free, MIT-licensed MCP security testing from ClearFrame. Scan, audit, compare, and review locally; continue in the ClearFrame CLI or Mac app.

    Community clearframes
    umutkeltek

    healthsave-observatory

    Self-hosted health-data observatory: sync Apple Health, early wearable plugins, and Garmin/Samsung imports into a canonical TimescaleDB record; view baseline-linked findings and query a private API. Docker-ready, local-first, default-deny egress.

    Community umutkeltek
    atilaahmettaner

    TradingMCP: Market Data & Technical Analysis for AI Assistants

    MCP server for market analysis in AI assistants: quotes, options, smart-money analysis, walk-forward backtests and news sentiment for stocks, crypto, FX and metals. 13 tools. Self-host free, or use the hosted version, TradingMCP.

    Community atilaahmettaner