marker-watch-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@marker-watch-mcp wait for the next build to finish and show its output"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
marker-watch-mcp
marker-watch-mcp is an MCP server for one long-running command. It watches
that command's output for a start and end marker, then saves the enclosed
output as a numbered build result.
Use it when another tool already reruns your build or check command. This server does not watch files or restart processes.
Install
Node.js 20+ and pnpm are required.
pnpm install
pnpm build
pnpm link -gEnsure pnpm's global bin directory is on your PATH, then configure your MCP
client to run the linked command:
{
"mcpServers": {
"marker-watch": {
"command": "marker-watch-mcp",
"args": [
"--cwd", "/absolute/path/to/project",
"--start-marker", "@@build:start@@",
"--end-marker", "@@build:end@@",
"--",
"your-watcher", "--", "your-check-command"
]
}
}
}Everything after -- is the command to run, with its arguments unchanged.
You can instead use --command and --args, or the corresponding
MARKER_WATCH_MCP_* environment variables. --log-file /tmp/marker-watch.log
keeps a raw output log.
Related MCP server: runkeep-mcp
How it works
The command must stay running and write a start marker followed by an end marker for each run. Markers match literal text in complete output lines after terminal color codes are removed. The saved result keeps the original output.
The server keeps the latest 20 completed results. It exposes these MCP tools:
get_build_status— current process and build state.get_build— a saved result; omitversionfor the latest.await_build— wait for the next result after a version.start_build_waitandget_build_wait— start and poll a non-blocking wait.debug_get_live_output— recent raw output for diagnosing a stuck run.
Typical use
get_build_status() -> latestCompletedVersion: 41
edit files -> your watcher runs the check
await_build({ afterVersion: 41 }) -> version 42 and its outputFor a long check, call start_build_wait({ afterVersion: 41 }) and poll the
returned ID with get_build_wait.
Available Tools
6 toolsawait_buildC
Await the build result of the first completed version after afterVersion.
Inputs: timeoutMs, afterVersion.
debug_get_live_outputA
Return recent raw stdout and stderr from build processes. Meant only for debugging stuck builds.
Inputs: tailChars.
get_buildC
Return the build result of the specified version.
Inputs: version.
get_build_statusB
Return the build process state and latest completed version.
Inputs: no named parameters.
get_build_waitC
Return the state or final result of a non-blocking build wait.
Inputs: id (required).
start_build_waitC
Start a non-blocking wait for the first completed version after afterVersion.
Inputs: afterVersion (required), timeoutMs.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Most tools have clearly distinct purposes: status, specific version result, blocking wait, non-blocking wait state, and debug output. The only mild ambiguity is between get_build_status, get_build_wait, and await_build, which all involve build state/results and require reading descriptions carefully.
The tool names consistently use snake_case and mostly follow a get_/await_/start_ verb pattern. The compound debug_get_live_output deviates slightly, and the repeated get_build_* prefix creates some similarity, but overall the naming is predictable and readable.
Six tools is a well-scoped size for a build-monitoring server. Each tool covers a distinct aspect of querying or waiting for build results without redundancy or bloat.
The surface covers the key workflows: checking overall status, fetching a specific build result, waiting for the next completed build, starting a non-blocking wait, polling that wait, and debugging unresponsive builds. No critical missing operation is apparent for the stated purpose.
Maintenance
Related MCP Connectors
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Hosted MCP runtime where your agent publishes its own tools by tool call and keeps working.
Coordinate and verify OpenCode workers over MCP Streamable HTTP.
Remote MCP for Android CLI agent build gate, structured receipts, audit logs, and reviewer-ready evi
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA lightweight build daemon that exposes project build flows as MCP tools, enabling AI assistants to drive builds, check status, and react to results.MIT
- AlicenseNot gradedqualityCmaintenanceEnables management of long-running development processes (such as dev servers, compilers, and watchers) from MCP hosts. Provides tools to start, stop, restart, check status, view logs, and send input to managed processes.MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for running long-running processes in PTY with real-time output streaming, enabling interactive dev servers, watch modes, and CLI tools.21 npmMIT
- FlicenseAqualityCmaintenanceA local STDIO MCP server for running one bounded command and waiting for its final result, eliminating model-driven polling. Designed for builds, test suites, and other trusted foreground commands.32-