RunBeacon
RunBeacon provides durable lifecycle management for AI-agent jobs with secure credential handling, policy enforcement, and audit capabilities. You can:
Manage job lifecycle: start local or remote (SSH, Slurm, Apple-signing) jobs with configurable execution modes (
auto,direct,runner), idempotency keys, trace IDs, metadata, environment overrides, and output policies; wait for completion (job_wait); watch for changes (job_watch); read snapshots; list job history; cancel jobs; and open a live dashboard that auto-updates via long-polling.Ensure durability: use a remote Runner to survive disconnections, with automatic reconnection; manage the Runner by probing, installing, upgrading, uninstalling, and migrating host keys.
Handle credentials securely: create, list, delete, and set defaults for SSH and GitHub credential profiles; store SSH passwords and GitHub tokens in OS credential helpers, with options to use environment variables to avoid exposing secrets.
Control policies: read and update risk policy defaults, requiring approval for privileged, destructive, release, and credential actions (approval is performed via dashboard or CLI, not through the server).
Subscribe to events: manage persistent subscriptions for Codex, desktop, or HMAC-secured webhooks, referencing URLs and secrets via environment variables.
Audit activity: query verified, hash-chained audit records containing policy and lifecycle metadata, but never command bodies or credentials.
Publish to GitHub: start dashboard-tracked publish jobs, commit staged changes, push without force, and monitor GitHub Actions in the background.
Provides containerized workflow support, enabling console sessions and command execution within Docker containers.
Provides cloud platform support for Kubernetes, enabling console sessions and command execution within Kubernetes clusters.
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., "@RunBeaconrun 'npm run build' and track the job"
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.
RunBeacon
RunBeacon is a durable task lifecycle layer for AI agents. Codex starts one local, SSH, Slurm, Apple-signing, or GitHub publishing job, calls job_wait once, and resumes after a terminal event. Intermediate monitoring happens in the resident daemon, remote Runner, and single-task dashboard without repeated model turns.
Components
console-automation-mcp@3.0.0: lifecycle core, MCP server, CLI, credentials, GitHub publishing, policy, audit, and event subscriptions.runbeacon-runner@3.0.0: signed Linux/macOS x64/arm64 Runner installer. The Go binary requires no remote Node.js and opens no network port.remote-job-monitor@2.0.0: Codex plugin with MCP App, hooks, and themonitor-remote-jobsskill.
Node.js 22 and 24 are supported on Windows, Linux, and macOS coordinators. The remote Runner supports Linux and macOS.
Related MCP server: acp-mcp
Durable flow
sequenceDiagram
participant C as Codex
participant D as RunBeacon daemon
participant S as SSH
participant R as Remote Runner
participant P as Supervisor
participant U as Dashboard
C->>D: job_start(executionMode=auto)
D->>S: fixed-host-key Runner RPC
S->>R: submit(jobId, key, digest) via stdin
R->>P: independent supervisor
R-->>D: accepted
C->>D: job_wait(jobId) once
D->>R: watch(afterSequence)
P-->>R: output and state events
R-->>D: sequenced events
D-->>U: job_watch(afterVersion)
R-->>D: terminal state
D-->>C: terminal resultThe command body is sent through SSH stdin. It is not placed in the Runner argv, service definition, snapshot, audit log, or credential profile. A lost submit response is retried only with the same job ID, idempotency key, and command digest. Once the Runner may have accepted a task, RunBeacon never falls back to direct SSH.
Quick start
npm ci
npm run build
node dist/mcp/lifecycle-server.jsThe npm commands are:
console-automation-mcp: lifecycle MCP serverremote-job-monitor: compatibility alias for the same MCP serverrunbeacon: interactive jobs, events, approval, audit, policy, doctor, and loopback dashboard CLI
mcp-console and the old 40-tool interactive terminal surface moved to console-automation-mcp-legacy@2.0.x. They are not present in the 3.0 tarball.
Job modes
auto: prefer the Runner; use direct SSH only when probing fails before submission and durability is not required.runner: require a durable Runner.direct: execute through one SSH channel. This mode is not resumable and cannot verify remote process termination.
Set requireDurable: true when an uncertain disconnect is unacceptable. Snapshots expose backend, phase, connection state, durability, resumability, Runner version, reconnect count, and last remote event sequence.
Top-level states are queued, running, succeeded, failed, cancelled, timed_out, and lost. A daemon restart reattaches Runner tasks. Non-resumable active jobs become lost; RunBeacon never restarts them automatically.
Runner installation
Runner release assets contain SHA256 checksums, Sigstore bundles, provenance, and an SBOM. Linux installs a user systemd service. macOS installs an Aqua LaunchAgent and must be installed locally in the logged-in GUI session:
npx runbeacon-runner@3.0.0macOS installation over SSH is rejected. This preserves the GUI user's Keychain context for Developer ID and Notary operations. Uninstall refuses to proceed while any Runner job is active.
Runner state defaults to 7 days and 64 MiB output per task under owner-only directories. Output policy is tail, full, or none.
MCP tools
RunBeacon retains credential, GitHub publishing, and lifecycle tools and adds:
job_watch: dashboard long poll by local snapshot versionrunner_manage: Runner probe; signed installation is interactive CLI-onlypolicy_manage: inspect/update risk defaults, never approve jobsevent_subscription_manage: Codex, desktop, or HMAC HTTPS webhook subscriptions using environment references for URLs and secretsaudit_query: verified hash-chain audit events
Clients that advertise MCP Tasks can map a RunBeacon job ID directly to an experimental MCP Task and use tasks/get, tasks/result, tasks/list, or tasks/cancel. Clients without Tasks keep the same tools. The model-facing completion path remains job_start -> job_wait; the MCP App watches only the current job and pauses while hidden.
Adapters
generic: RE2 progress patterns and boundedRUNBEACON_EVENT <JSON>outputtraining: structured epoch, step, loss, ETA, checkpoint, and GPU fieldsslurm:sbatch --parsable,squeue/sacctstatus recovery, and verifiedscancelapple-signing: macOS Aqua Runner preflight for Developer ID identity, untimestamped/timestamped signing, and a Keychain Notary profile
Policy and audit
Privileged, private-key, release, and destructive commands enter awaiting_approval. Approval is bound to the job, command digest, target profile, and risk class for five minutes. The dashboard receives a one-use capability through App-private MCP metadata; it is excluded from model content, snapshots, persistence, and audit. Approval is available only through a user action in the dashboard or interactive CLI:
runbeacon approve <jobId>
runbeacon reject <jobId>The MCP tool catalog does not expose approval. Audit JSONL files are owner-only and hash chained. They record policy, approval, Runner management, cancellation, publication, terminal state, and event delivery, but never command bodies or credentials.
Credentials and SSH security
Credential profiles store safe references only. SSH passwords and GitHub PATs are stored through the OS credential helper; private keys remain at referenced paths or in an SSH agent. Inline secrets are memory-only.
Pin hostKeySha256 and hostKeyAlgorithm. Existing profiles without an algorithm can be migrated only after an explicit pinned-fingerprint probe:
runbeacon runner migrate-host-key --profile <profileId>The MCP equivalent is runner_manage(action="migrate-host-key", credentialProfile=..., confirm=true). A fixed algorithm fails closed and is never replaced after a mismatch. allowUnverifiedHostKey is an explicit insecure override and is never selected automatically.
Configuration migration
Use RUNBEACON_* variables. 3.x accepts corresponding RJM_* aliases with a deprecation warning; aliases are removed in 4.0. The default data directory migrates atomically from ~/.remote-job-monitor to ~/.runbeacon when possible.
See Migration to 3.0 and Security migration 2.0.
Development
npm run format:check
npm run lint
npm run typecheck
npm run build
npm run test:all
cd runner
go test -race ./...Release promotion is manual. Beta requires green main checks, zero open CodeQL High/Critical alerts, npm and Go vulnerability gates, Linux/macOS Runner tests, four signed assets, Developer ID/Notary validation, exact-workflow Sigstore bundles, provenance, and an SBOM. Stable promotes the tested npm versions only after the same commit has a public Beta for seven complete days and attested Linux training, Mac signing, and fresh Codex-task acceptance all pass.
License
MIT
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
- AlicenseNot gradedqualityFmaintenanceAn MCP server that enables programmatic management and monitoring of development servers through a unified interface and interactive TUI. It provides tools for process control, log streaming, and experimental browser automation via Playwright.1MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for remote machine operations via SSH, providing a single tool to execute any shell command on remote machines with real-time progress streaming.24MIT
- FlicenseNot gradedqualityCmaintenanceMCP server for infrastructure discovery and remote management, enabling SSH command execution, file transfer, log tailing, and machine/service inventory with a companion web dashboard.1
- AlicenseNot gradedqualityBmaintenanceA command execution MCP server supporting local execution, sandbox isolation via Docker/OpenSandbox, and SSH remote execution.MIT
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
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/Liyuchen0118/RunBeacon'
If you have feedback or need assistance with the MCP directory API, please join our Discord server