marker-watch-mcp
Click on "Install 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-mcpwait 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 runs one long-lived command and turns its output into
versioned snapshots. A start marker opens a version; an end marker closes it.
The server keeps the last 20 completed versions and exposes them over stdio
MCP.
It does not watch files, restart commands, or parse diagnostics. Use any external watcher that emits markers and forwards its child command's output.
Install
pnpm install
pnpm build
pnpm testRelated MCP server: Run Command MCP Server
Command contract
The configured command must remain running and write both markers to stdout or stderr. It must not overlap runs: one start marker, all output for that run, then one end marker.
Markers are literal substrings matched against complete output lines after ANSI control sequences are removed. Returned snapshots retain the original text.
Configuration
Pass server options before --; everything after it becomes the command and
its exact arguments.
node dist/index.js \
--cwd /absolute/path/to/repo \
--start-marker '@@build:start@@' \
--end-marker '@@build:end@@' \
-- watcher --watch-paths 'src/**/*.ts' -- clyde lint tsc --no-watch appMCP client example:
{
"mcpServers": {
"marker-watch": {
"command": "node",
"args": [
"/absolute/path/to/marker-watch-mcp/dist/index.js",
"--cwd", "/absolute/path/to/repo",
"--start-marker", "@@build:start@@",
"--end-marker", "@@build:end@@",
"--",
"watcher", "--watch-paths", "src/**/*.ts", "--",
"clyde", "lint", "tsc", "--no-watch", "app"
]
}
}
}Environment alternatives are MARKER_WATCH_MCP_COMMAND,
MARKER_WATCH_MCP_ARGS (a JSON string array), MARKER_WATCH_MCP_CWD,
MARKER_WATCH_MCP_START_MARKER, and MARKER_WATCH_MCP_END_MARKER.
Pass --log-file /tmp/marker-watch.log or set
MARKER_WATCH_MCP_LOG_FILE to write raw received output to a file. The file is
truncated when the server starts.
MCP tools
get_build_statusreturns process state, active version, and latest version.get_build({ version? })returns a cached snapshot; omitversionfor the latest.await_build({ afterVersion?, timeoutMs? })waits up to two minutes. WhenafterVersionis omitted, it uses the current completed version and waits for the next one.start_build_wait({ afterVersion, timeoutMs? })returns a wait ID immediately;get_build_wait({ id })returns itspendingstate or result. Background waits last up to one hour.get_live_output({ tailChars? })returns recent raw stdout and stderr, including an active version that has not reached its end marker yet.
Client flow
get_build_status() -> latestCompletedVersion: 41
change files (the external watcher starts a run)
await_build({ afterVersion: 41 }) -> version 42 and full outputFor long runs, replace the final call with start_build_wait, then query its
ID later. On SIGINT, SIGTERM, or MCP transport shutdown, the server stops
the command and its Unix process group.
Manual Inspector check
pnpm build
pnpm dlx @modelcontextprotocol/inspector \
node /absolute/path/to/marker-watch-mcp/dist/index.js \
--cwd /absolute/path/to/repo \
--start-marker '@@build:start@@' \
--end-marker '@@build:end@@' \
-- watcher --watch-paths 'src/**/*.ts' -- clyde lint tsc --no-watch appThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that enables coding agents to execute and manage long-running shell commands asynchronously with capabilities for process monitoring, interaction, and lifecycle management.713MIT
- AlicenseNot gradedqualityDmaintenanceProvides tools for executing shell commands both synchronously and asynchronously with real-time output streaming and process management capabilities. It enables users to start background tasks, monitor progress, and manage long-running processes via Stdio or HTTP transports.230MIT
- AlicenseNot gradedqualityBmaintenanceA 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 gradedqualityBmaintenanceEnables 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
Related MCP Connectors
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Remote MCP for Android CLI agent build gate, structured receipts, audit logs, and reviewer-ready evi
Remote MCP server for RunComfy Serverless API (ComfyUI): deployments and async inference.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/foxfirecodes/marker-watch-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server