ActionD
ActionD exposes an MCP server for controlling and inspecting a local CI/CD engine.
Check server status and list/inspect recent CI/CD jobs
Wait for job completion, cancel running jobs, and retry failed/cancelled jobs
Read server logs and diagnose failed jobs with root causes and fix suggestions
List, recommend, enable, disable, and hot-reload CI/CD plugins
Get or set execution profiles:
fast,full,releaseStart, stop, or restart the ActionD daemon when lifecycle control is enabled, with protection for running jobs
Generate goal run reports and agent handoff packages
Run an end-to-end dev cycle: commit/push, trigger CI, wait for results, summarize, and optionally roll back on failure
Clean up old terminal jobs and their artifacts
Listens to Git events (push, tag) and automatically triggers CI/CD plugin workflows.
ActionD
Local AI Action Execution Engine for LGH (Local Git Hub)
ActionD is a lightweight local CI/CD engine designed for AI agents. It listens to Git events from LGH and automatically triggers plugins to run code checks, tests, builds, and more.
Features
🔌 Dynamic plugin discovery — plugins are discovered automatically via
manifest.json, no code changes required🤖 MCP integration — a built-in MCP server lets AI assistants query and control CI/CD directly
📡 Event-driven — reacts to
git.push,git.tag, and other LGH events🖥️ Web console — live monitoring dashboard at
http://localhost:3000🔄 Real-time streaming output — live logs over SSE (Server-Sent Events)
⚡ Hot reload — reload plugins without a restart
🔄 End-to-end workflow —
dev_cycle_rundoes it all in one call: commit → CI → results⏮️ Rollback — automatically roll back to the previous commit on failure
Related MCP server: GitHub Actions MCP Server
Terminology
Job — one CI/CD execution record produced when a plugin reacts to a Git event. Some tool names (
actiond_action_get,actiond_actions_list) carry the legacy word action; it refers to the same object as theactiond_job_*tools.Plugin — the executable unit registered via
manifest.jsonthat runs on trigger events (git.push,git.tag); one plugin run yields one job.Profile — the CI scope preset (
fast/full/release) controlling which plugins run per push.
Installation
macOS / Linux (Homebrew)
brew install JoeGlenn1213/tap/actiondInstall LGH the same way (brew install JoeGlenn1213/tap/lgh) — ActionD listens to its git events.
The builtin plugin bundle (30+ check plugins) is embedded in the binary.
actiond setupmaterializes it into~/.localgithub/plugins, so a Homebrew or release-download install runs the same checks as a source checkout — no extra asset download needed. The web console is optional: without it the API still runs (see actiond-web or pass--web-dir).
Prerequisites
Go 1.25+ (only when building from source)
Python 3.8+ (used by plugins)
LGH running locally
Build from source
git clone https://github.com/JoeGlenn1213/ActionD.git
cd ActionD
make buildNote: ActionD uses SQLite for storage (the pure-Go modernc.org/sqlite build) — no CGO is needed and
make buildcross-compiles freely.
Quick Start
1. One-command setup (recommended)
If this is your first run, use setup to install the builtin plugin bundle (embedded in the binary), check dependencies, create the directory layout, and verify the environment:
actiond setupRe-running setup is safe: already-installed plugins and your local edits are never overwritten (use --force to reset them to the bundled version, --skip-plugins to skip installation entirely).
To also start the daemon in the background right after setup:
actiond setup --start2. Start the service and check it
# 1. Make sure LGH is running
lgh serve -d
# 2. Start ActionD (daemon mode; reads LGH mappings automatically)
actiond start -d
# 3. Check status
actiond doctor3. Open the web console
open http://localhost:3000Start on boot
ActionD and LGH can be configured to start automatically when you log in. This is optional and does not require root/sudo.
Prerequisites
Python 3.8+ recommended for ActionD plugins (warning if missing, core works without it)
lghandactiondinstalled via Homebrew (or on PATH):
brew install JoeGlenn1213/tap/lgh
brew install JoeGlenn1213/tap/actiondInstall autostart services
scripts/autostart.sh installThis creates:
macOS: LaunchAgents in
~/Library/LaunchAgents(loaded vialaunchctl bootstrap)Linux: systemd
--userunits in~/.config/systemd/user(enabled viasystemctl --user enable --now)
Services are started immediately after installation. Existing service files are never overwritten unless you pass --force (which creates a timestamped backup first).
Homebrew: if brew services already registered LGH or ActionD, install skips that service and prints the label, instead of adding a second agent. status reports it. --ignore-homebrew installs our agent anyway (two managers can start two copies). uninstall does not stop or delete the Homebrew unit.
Names checked, from current Homebrew service.rb: default sh.brew.lgh / sh.brew.actiond, plus legacy homebrew.mxcl.lgh / homebrew.mxcl.actiond (macOS launchd) and homebrew.lgh / homebrew.actiond (Linux systemd). A match is the plist or unit in the user service directory, the root service directory (/Library/LaunchDaemons or /usr/lib/systemd/system), or a label already loaded in launchd / systemd --user.
Install options
scripts/autostart.sh install [options]
Options:
--dry-run Preview changes without writing files
--force Overwrite existing service files (backs up first)
--ignore-homebrew Install our agent even if brew services already registered it
--lgh-bin PATH Use specified lgh binary instead of PATH lookup
--actiond-bin PATH Use specified actiond binary instead of PATH lookup
--path PATH Set PATH for both services (colon-separated)
--lgh-log-dir DIR LGH log directory (macOS; default: ~/Library/Logs)
--actiond-log-dir DIR ActionD log directory (macOS; default: ~/Library/Logs)
--log-dir DIR Log directory for both services (macOS shorthand)
--lgh-env KEY=VALUE Add environment variable for LGH only (can be repeated)
--actiond-env KEY=VAL Add environment variable for ActionD only (can be repeated)
--env KEY=VALUE Add environment variable for both services (can be repeated)Example with per-service environment:
scripts/autostart.sh install \
--actiond-env ACTIOND_MCP_ALLOW_LIFECYCLE=1 \
--actiond-log-dir ~/.localgithub/actions \
--lgh-log-dir ~/.localgithub/logsPATH handling: By default, a minimal PATH is computed (binary dir + brew prefix + system paths). Use --path to set it explicitly. With --force, existing PATH from the current plist/unit is preserved unless --path is given; if the existing plist had no PATH, a minimal one is added.
Crash loop prevention: Services use KeepAlive/SuccessfulExit=false (macOS) or Restart=on-failure (Linux), and actiond start exits 0 when another instance is already running. This prevents infinite restart loops if ActionD is started manually before the service manager launches it. Trade-off: if actiond start exits 0 because a manually-started instance was running, launchd will not relaunch ActionD if that manual instance later dies — run launchctl kickstart gui/$UID/com.localgithub.actiond to restart it, or stop the manual instance and let launchd manage it.
Check status
scripts/autostart.sh statusShows whether LGH and ActionD are loaded (not just file exists), their configured binary paths, and whether they are actually running (with PID). Also reports a Homebrew-managed service when sh.brew.* or the legacy homebrew.mxcl.* / homebrew.* unit is registered, and warns if that and our agent are both present.
Uninstall
scripts/autostart.sh uninstall [--dry-run]Stops and removes the service definitions this script installed. A unit registered by brew services is left in place.
Linux: start at boot without login
By default, systemd user services only start when you log in. To have them start at boot (without logging in), run:
loginctl enable-linger $USERLogs
macOS:
<log-dir>/lgh.launchd.out,<log-dir>/lgh.launchd.err,<log-dir>/actiond.launchd.out,<log-dir>/actiond.launchd.errLinux:
journalctl --user -u lgh.service/journalctl --user -u actiond.service
Default directories and auto-detection
Plugin directories are probed in order:
<binary dir>/plugins→<working dir>/plugins→~/.localgithub/pluginsWeb static assets are auto-detected in common locations; the recommended target is publishing
ActionD-Web'sout/to:~/.localgithub/actiond-web/outWithout an explicit
--repo-root, ActionD resolves repositories through LGH mappings first, then falls back to current-directory semantics.
CLI Commands
Command | Description |
| One-command environment initialization (v1.2+) |
| Start in the foreground |
| Start as a background daemon |
| Stop the daemon |
| Restart the service (v1.2+) |
| Show run status + directory info (v1.2+) |
| Re-enable the Go verification plugins |
| View server logs |
| Diagnose system dependencies (tiered checks) |
| Print version information |
| Start the MCP server |
One-command setup (v1.2+)
Recommended on first install:
actiond setupThis automatically:
Creates the directory layout (
~/.localgithub/*)Checks dependencies (Git, Python, Go, Node)
Detects web assets and plugin directories
Verifies the LGH connection
Doctor
actiond doctorRuns 8 categories of tiered checks:
📦 System environment (home/base directories)
🔧 Dependencies (Git, Python, Go, Node, golangci-lint)
🔌 Service status (LGH, ActionD)
🌐 Ports (3000, 8080)
📁 Directories (repos, actions, plugins, web, artifacts)
💾 Storage (DB writability, config files)
🔌 Plugins (directories, core plugin status)
🌐 Web assets
Results come in three levels:
FATAL — the system cannot work
WARN — some functionality is affected
INFO — informational only
If doctor reports that the Go plugins are disabled, restore them directly:
actiond plugins restore-goStatus (v1.2+)
actiond statusShows:
Service run status and PID
All directory paths and their status
LGH connection status
Web assets and plugin directories
Build Notes
make build uses CGO_ENABLED=0 (SQLite is the pure-Go modernc.org/sqlite build), so binaries cross-compile freely.
make release defaults to the current host platform; override RELEASE_PLATFORMS="linux/amd64 linux/arm64 darwin/arm64" to build for other targets.
Start options
actiond start --help
Flags:
-d, --daemon run in the background
--repo-root string repository root directory (optional; LGH mappings take priority when omitted)
--web-dir string web console static file directory (optional; auto-detected by default)Dynamic Plugin Discovery (V1.0.7+)
ActionD supports adding new plugins with zero code. Just create a manifest.json in a plugin directory. Step-by-step guide: docs/PLUGIN_GUIDE.md · contract: docs/PLUGIN_SPEC.md · schema: schemas/action-result.schema.json.
Plugin directories
ActionD scans existing directories in this order (DetectPluginDirs):
System plugins:
<binary-dir>/plugins(next to the executable)Development plugins:
<cwd>/plugins(current working directory)Legacy user path:
~/.localgithub/actiond/plugins(if present)User plugins:
~/.localgithub/plugins(actiond setupmaterializes the builtin bundle here)
manifest.json format
{
"apiVersion": "actiond.dev/v1",
"name": "my-plugin",
"version": "1.0.0",
"description": "My custom plugin",
"command": "python3",
"args": ["run.py"],
"triggers": ["git.push"],
"languages": ["python"],
"timeout": "5m",
"artifacts": ["report.json"]
}Field reference
Field | Required | Description |
| ✅ | Unique plugin identifier |
| ✅ | Command to execute |
| - | Command arguments |
| ✅ | Trigger events: |
| - | Supported languages: |
| - | Max runtime: |
| - | Ref matching: |
| - | Repository name glob |
| - |
|
| - | CWD relative to the manifest directory |
Creating a custom plugin
plugins/
└── my-plugin/
├── manifest.json # plugin metadata
└── run.py # execution scriptExample run.py:
#!/usr/bin/env python3
import json
import sys
# Read stdin input
input_data = json.load(sys.stdin)
event = input_data["event"]
repo_path = input_data["repo_path"]
artifact_dir = input_data.get("artifact_dir")
# Do the work...
print(f"Processing {event['type']} for {repo_path}", file=sys.stderr)
# Output the result (stdout)
result = {
"status": "success", # or "error"
"artifacts": ["report.json"]
}
print(json.dumps(result))Structured Result Protocol — ActionResult (v1.2+)
Plugins can return a standardized ActionResult structure that enables deep AI understanding and downstream decision gating (for example, the Policy Gate plugin reads signals produced by other plugins):
{
"action_id": "act_8a9b2c1d",
"plugin_id": "go-test-fast",
"capability": "test",
"language": "go",
"status": "success",
"decision": "pass",
"timing": {
"started_at": "2025-03-16T10:30:00Z",
"finished_at": "2025-03-16T10:30:02Z",
"duration_ms": 2300
},
"summary": {
"message": "All 25 tests passed",
"counts": {
"tests_run": 25
}
},
"signals": {
"tests_passed": true
},
"hints": [],
"artifacts": [{"name": "test-report.xml", "path": "test-report.xml"}]
}Result fields
Field | Type | Description |
| string | Unique execution ID |
| string |
|
| string |
|
| string | One-line summary |
| object | Core extracted features, e.g. |
| []string | AI/user-friendly fix suggestions |
| []object | Artifact file list |
Returning structured results from a plugin
A plugin can print JSON to stdout — ActionD parses and stores it automatically:
result = {
"status": "failure",
"summary": "Test suite failed",
"hints": ["Run tests locally to reproduce"]
}
print(json.dumps(result))Alternatively, write to $ARTIFACT_DIR/result.json.
Failure Interpreter (v1.2+)
ActionD has built-in failure-pattern recognition that automatically analyzes common errors and suggests fixes:
Recognized error patterns
Category | Pattern | Description |
Dependencies |
| npm install failure |
| package-lock.json out of sync | |
| module not found | |
| go.mod needs tidying | |
| missing Python module | |
| Maven build failure | |
Build |
| Go compile error |
| Gradle build failure | |
Tests |
| Jest test failure |
| Go test failure | |
| pytest failure | |
Generic |
| permission error |
| operation timed out | |
| out of memory | |
| command not found |
Analysis API
Failure analysis is implemented on the Go side in internal/interpreter (failure.go) and produces the category/type classification shown above. There is no actiond Python package — use one of these real interfaces instead:
AI side (recommended): the MCP tool
actiond_diagnose(job_id=...), which returns root cause and fix suggestions.HTTP side: the REST API (see the "API endpoints" section below).
Hot-reloading plugins
# Option 1: API
curl -X POST http://localhost:3000/api/plugins/reload
# Option 2: MCP
# An AI assistant can call the actiond_plugins_reload toolBuilt-in Plugins
Plugin | Trigger | Language | Description |
| all | * | Debug plugin, echoes event info |
|
| Go | golangci-lint code checks |
|
| Go | Fast unit tests |
|
| Go | Cross-platform builds |
|
| Java | Smart test selection |
|
| Java | Checkstyle code style |
|
| Python | pytest + coverage |
|
| Web/Node | Frontend lint checks |
|
| Web/Node | Frontend test script |
|
| Web/Node | Frontend build validation |
MCP Server Integration
ActionD ships with an MCP (Model Context Protocol) server so AI assistants (such as Claude) can query and control CI/CD directly.
Starting the MCP server
actiond mcpTo let the AI start/stop/restart ActionD itself over MCP, set this before launching:
ACTIOND_MCP_ALLOW_LIFECYCLE=1 actiond mcpAvailable tools
Tool | Description |
| Get server status and statistics |
| List all plugins and their configuration |
| List recent CI/CD jobs |
| Get details of a single job |
| Hot-reload plugins |
| Recommend plugins by project profile (language/framework detection + confidence) |
| Enable a plugin for the current project |
| Disable a plugin for the current project |
| View server logs, filterable by job_id and plugin_name |
| Get the current execution profile (fast/full/release) |
| Set the execution profile, controlling which plugins each push triggers |
| Start the ActionD service (requires the lifecycle switch) |
| Stop the ActionD service (protects running jobs by default) |
| Restart the ActionD service (protects running jobs by default) |
| Block until a job finishes and return its result; supports a timeout parameter |
| Cancel a job (validates state; terminal jobs are rejected) |
| Retry a failed job |
| AI failure diagnosis: root-cause analysis + classification + fix suggestions (the first tool to reach for when CI fails) |
| Delete old completed/failed jobs and their artifact directories (retention window or all terminal jobs) |
| Goal run report: what changed / why / verified or not (pass-fail-unknown per job) / how trustworthy / handoff status / rollback evidence — one honest JSON, unknowns explicit |
| Handoff package: everything the next human or agent needs to continue (envelope + payload + self-contained Markdown) |
| End-to-end dev loop: commit → CI → results (V1.0.8+; tri-state |
To approve a blocked job, use the CLI
actiond approve <job_id>or RESTPOST /api/actions/{id}/approve(there is no MCP tool for this).
The dev_cycle_run end-to-end workflow (V1.0.8+)
dev_cycle_run is an aggregate tool that completes the full development loop in a single MCP call:
edit code → lgh up → wait for CI → return structured resultsParameters:
Parameter | Required | Description |
| ✅ | Git commit message |
| - | Repository path (defaults to the current directory) |
| - | Wait timeout in seconds (default 300 = 5 minutes) |
| - | fast/full/release for this run (restored afterwards) |
| - | On a confirmed failed verdict, reset to the recorded pre-push commit (default false). Never fires on unverified ( |
Returns:
{
"success": true,
"verification": "pass",
"commit": "abc123",
"jobs": [
{"id": "job-1", "plugin": "go-test-fast", "status": "done", "duration": "2.3s"}
],
"summary": "✅ 全部通过 (2 个插件)"
}verification is tri-state and success is true only on pass — the same vocabulary and aggregation rule as actiond_run_report:
pass— at least one job ran and all of them passedfail— at least one job was observed failingunknown— zero jobs, a CI query error, or a timeout; never a pass
Jobs are associated to this run by LGH event id, or (fallback) by exact repo name plus commit sha — a green job from an older commit or a similarly named repo is never adopted as verification for the current change.
Typical usage:
User: AI, please fix the code and test it
AI: [edits the code...]
[calls dev_cycle_run(message="fix: address the failing case")]
Result: ✅ All passed (2 plugins)
- go-lint: ✅ 0.5s
- go-test-fast: ✅ 2.3sAvailable resources
actiond://status— server statusactiond://plugins— plugin listactiond://actions— execution records
Connecting your AI client
ActionD speaks standard MCP over stdio, so any MCP-capable client works (Claude Desktop/Code, Cursor, ZCode, Windsurf, ...). For clients that take a stdio command, the server is simply:
actiond mcpExample for Claude Code — add to ~/.claude/claude_desktop_config.json:
{
"mcpServers": {
"actiond": {
"command": "/path/to/actiond",
"args": ["mcp"],
"env": {
"ACTIOND_MCP_ALLOW_LIFECYCLE": "1"
}
}
}
}AI usage example
User: Check the recent CI jobs
AI: [calls actiond_actions_list]
There are 3 recent jobs:
- test-python (python-pytest): ✅ success (1.3s)
- ActionD (go-lint): ⛔ disabled
- demo-app (java-quicktest): ✅ success (45s)Configuration
Runtime config file: ~/.localgithub/actions/config.json (override path with ACTIOND_CONFIG_PATH).
Environment variables
Variable | Default | Purpose |
|
| HTTP listen address. Loopback-only by default (API is unauthenticated unless token is set). Use e.g. |
| (unset) | Optional shared secret for |
| (none) | Extra allowed browser |
| (unset) | Set to |
|
| LGH HTTP base URL when it is not on the default host/port. |
|
| User plugin config file. |
|
| Data directory (jobs DB, logs, artifacts); mainly for tests/custom layouts. |
Security model and reporting: SECURITY.md.
Disabling a plugin
{
"plugins": {
"java-quicktest": {
"enabled": false
}
}
}The core Go verification chain can also be restored directly via CLI:
actiond plugins restore-goOverriding triggers
{
"plugins": {
"go-lint": {
"triggers": ["git.tag"]
}
}
}Adding a custom plugin (no manifest.json needed)
{
"plugins": {
"my-custom-plugin": {
"enabled": true,
"type": "exec",
"command": "/usr/local/bin/my-script",
"args": ["--verbose"],
"triggers": ["git.push"]
}
}
}Architecture
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ LGH │────▶│ ActionD │────▶│ Plugins │
│ (Events) │ │ (Engine) │ │ (Actions) │
└─────────────┘ └─────────────┘ └─────────────┘
│
┌────────────────┼────────────────┐
▼ ▼ ▼
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Web Console │ │ MCP Server │ │ API │
│ (Dashboard) │ │(AI-integration)│ │ (RESTful) │
└─────────────┘ └─────────────┘ └─────────────┘API Endpoints
Endpoint | Method | Description |
| GET | List all plugins |
| POST | Create a custom plugin |
| POST | Hot-reload plugins |
| POST | Enable/disable a plugin |
| GET | List execution records |
| GET | Get job details |
| GET | SSE live log stream |
| GET | Download an artifact |
| POST | Cancel a running job (V1.0.8+) |
| POST | Retry a failed job (V1.0.8+) |
| POST | Manually approve a blocked job |
Layered Logging (v1.2+)
ActionD uses a layered logging architecture that targets different audiences with different formats:
Layer | Purpose | Example |
| Event log |
|
| Dispatch log |
|
| Plugin execution | plugin stdout/stderr output |
| User summary |
|
| AI structured summary | JSON, consumed by AI |
AI summary format
{
"timestamp": "2025-03-16T10:30:00Z",
"layer": "ai",
"level": "info",
"job_id": "abc123",
"repo": "my-project",
"plugin": "go-test-fast",
"message": "Tests passed",
"data": {
"status": "success",
"summary": "All 25 tests passed in 2.3s",
"hints": [],
"artifacts": ["test-report.xml"]
}
}File Locations
Path | Description |
| Data directory |
| SQLite job database |
| Daemon PID file |
| User configuration |
| User-defined plugin directory |
| Daemon log |
Development
# Build
go build ./...
# Run tests
go test ./...
# Install to GOPATH
go install ./cmd/actiondLicense
MIT License — see LICENSE
Security
See SECURITY.md for the trust model, hardening notes, and how to report vulnerabilities privately.
Contributing
See CONTRIBUTING.md. Plugin authors: docs/PLUGIN_GUIDE.md.
Related Projects
LGH — Local Git Hub
actiond-web — Web console UI
Available Tools
22 toolsactiond_action_getARead-onlyIdempotent
Fetch full detail for one CI/CD job by its ID. Returns id, repo, plugin_name, status, live progress line, created/started/ended timestamps, duration_ms, and the commit map (hash, message, author) that triggered the job. Works for running jobs (poll to watch progress) and for terminal jobs (done/failed/cancelled), whose records are kept for post-mortem review — pair with actiond_log to replay the job's log lines or actiond_diagnose for interpreted failure causes. Errors when the ID does not exist.
Inputs: id (required).
actiond_actions_listARead-onlyIdempotent
List the most recent CI/CD jobs executed by ActionD. Each row carries id, repo, plugin_name, status (done/failed/running/pending/cancelled), created_at, and duration_ms, so failures can be spotted at a glance and filtered client-side by status. Optional limit caps the number of rows (default 20). Use this for an overview; use actiond_action_get for one job's full detail, actiond_job_wait to block on a specific job, and actiond_diagnose for root-cause analysis of failures.
Inputs: limit.
actiond_cleanupADestructiveIdempotent
Reclaim disk space by deleting terminal CI/CD jobs (done/failed/cancelled) and their artifact directories. Pending and running jobs are never deleted. Default retention is 7 days; pass days=0 or all=true to delete every terminal job. Destructive and irreversible: deleted job records and artifacts cannot be recovered, so confirm intent — especially with all=true — before calling. Returns a summary with deleted_jobs, deleted_dirs, and the retention window applied.
Inputs: all, days.
actiond_diagnoseARead-onlyIdempotent
Diagnose failed CI/CD jobs and turn their logs into actionable fix suggestions. Pass job_id to analyze one job, or omit it to analyze the most recent failures (optional limit caps how many are analyzed, default 5). For each job it extracts the root-cause category (build/test/lint/dependency/permission/timeout/...), error code, severity, confidence, evidence lines, and the files most likely needing changes; the aggregate summary highlights the most common category with concrete next steps. Jobs without error output are reported explicitly as no_error_output instead of being silently dropped. Reach for this first whenever a job fails; use actiond_log for raw logs and actiond_action_get for job metadata.
Inputs: limit, job_id.
actiond_handoff_packARead-onlyIdempotent
Generate a handoff package that lets another agent (or human) resume this work with full context, aggregating git log, ActionD CI/CD verdicts, and — when task_id is given — the task report from the connected task management system. Choose actiond_run_report instead when the goal is verifying a completed run rather than transferring the work to a successor. Returns structured JSON plus a ready-to-use Markdown document covering: goal, current state (with evidence level), completed work (recent commits), pending work, known failures, decisions, verification state, and a suggested next action. The markdown field alone is designed to give the receiving agent everything it needs without reading the original session; missing information is marked unknown rather than guessed. Optional path (defaults to the current directory), task_id, project_id, from_agent/to_agent, goal, suggested_next_action, pending_work (comma-separated), and ttl_hours for the validity window (default 24).
Inputs: goal, path, task_id, to_agent, +5 more.
actiond_job_cancelA
Cancel a pending or running CI/CD job. Validates the job's state first and refuses terminal jobs (done/failed) with an explanatory error, so an accidental double-cancel is safe. On success the job transitions to cancelled and its record is kept for later review via actiond_action_get. Use actiond_job_retry to re-queue a cancelled or failed job.
Inputs: id (required).
actiond_job_retryA
Re-queue a failed or cancelled CI/CD job for execution. The job runs again as a fresh execution — every retry takes full time and may fail again, so repeated calls create repeated runs (this is not idempotent). Returns the job ID and plugin name; follow up with actiond_job_wait to block until the retry finishes, or actiond_diagnose if it fails the same way.
Inputs: id (required).
actiond_job_waitARead-onlyIdempotent
Block until the given CI/CD job reaches a terminal status (done/failed/error/cancelled), then return the full job detail. Call it right after a push surfaces job IDs — for example, immediately after "lgh up" reports triggered_job_ids. The optional timeout in seconds (default 300) aborts the wait with an error if the job is still unfinished; it never cancels the job itself. Prefer this over polling actiond_action_get; use actiond_job_cancel to abort a stuck job instead.
Inputs: id (required), timeout.
actiond_logARead-onlyIdempotent
Read recent ActionD server runtime log entries. Each entry carries timestamp, level (info/warn/error/plugin), and message; plugin execution results and system events appear here. Optional limit caps the number of entries returned (default 20). Read-only; use it to inspect raw output after actiond_actions_list or actiond_action_get surfaces a failure, and prefer actiond_diagnose when you want errors interpreted into root cause and fix steps.
Inputs: limit.
actiond_plugin_disableAIdempotent
Disable a CI/CD plugin for the current project. Once disabled, the plugin no longer triggers even when its event conditions are met — useful for skipping unnecessary checks or shortening CI. The plugin stays registered and can be re-enabled at any time with actiond_plugin_enable; discover exact names with actiond_plugins_list. For broad, preset scope changes prefer actiond_profile_set (fast/full/release).
Inputs: name (required).
actiond_plugin_enableAIdempotent
Enable a CI/CD plugin for the current project. Once enabled, the plugin fires on its configured trigger events (git.push/git.tag) on every subsequent push. The plugin must already be registered — discover exact names with actiond_plugins_list, or use actiond_plugins_recommend when you want guidance on what suits the project. To change the whole CI scope at once, switch the execution profile with actiond_profile_set instead of toggling many plugins individually.
Inputs: name (required).
actiond_plugins_listARead-onlyIdempotent
List every CI/CD plugin registered in ActionD, both enabled and disabled. Each entry includes name, trigger events (git.push/git.tag), supported languages, optional repo filter, type (built-in/custom exec), and current enabled state. Read-only; use it to discover valid plugin names before calling actiond_plugin_enable/actiond_plugin_disable, and actiond_plugins_recommend when you want suggestions instead of a raw inventory.
actiond_plugins_recommendARead-onlyIdempotent
Analyze a project directory and recommend which CI/CD plugins to enable or disable. Detects languages (Go, Python, Java, TypeScript, ...), frameworks (React, Next.js, Spring, ...), project type (frontend/backend/fullstack/monorepo), and features (tests, Docker, existing CI) by scanning config files, then returns per-plugin recommendations with category, reasoning, priority, and confidence, plus aggregate enable/disable suggestions and a workflow proposal. Read-only; apply the suggestions with actiond_plugin_enable / actiond_plugin_disable. Optional path defaults to the current directory.
Inputs: path.
actiond_plugins_reloadAIdempotent
Hot-reload the ActionD plugin registry without restarting the server. Scans the plugin directories for new or changed manifest.json files and updates the registry in place, so newly added plugins become available immediately. Use it after adding, editing, or removing a plugin manifest, then verify the result with actiond_plugins_list. Returns status, the number of loaded plugins, and the plugin list.
actiond_profile_getARead-onlyIdempotent
Get the execution profile that controls which CI/CD plugins run on each push. Returns the active profile name plus a description of what it triggers: "fast" runs minimal CI (core lint and test only, 2-3 jobs per push) for quick feedback during development; "full" adds security scan, coverage, and formatting checks (6-10 jobs) for pre-merge verification; "release" adds build, deploy, and release notes (10-15 jobs) for shipping. Read-only; switch profiles with actiond_profile_set and inspect the concrete plugin inventory with actiond_plugins_list.
actiond_profile_setAIdempotent
Switch the execution profile that controls which CI/CD plugins run on each push. Accepts exactly one of: "fast" (minimal CI — core lint and test only, recommended during active development for quick feedback), "full" (complete CI — adds security scan, coverage, and formatting; switch before merging), or "release" (full CI/CD — adds build, deploy, and release notes). The change applies globally and takes effect on the next triggered event. Returns the new profile; verify the current one any time with actiond_profile_get.
Inputs: profile (required).
actiond_run_reportARead-onlyIdempotent
Generate a goal run report for a repository: one structured JSON that reconstructs what a run changed and how well it was verified, without writing any new state. Choose actiond_handoff_pack instead when the goal is handing the work to another agent rather than verifying a completed run. Aggregates git log, ActionD CI/CD job verdicts, and — when a task management system report is available — the task's handoff status into sections that answer: what changed (commits), why (declared task intent), did it work (per-job verdicts pass/fail/unknown), how trustworthy the results are (verification depth and verifier provenance), can someone else continue the work, and can it be rolled back (recovery points with evidence levels). Anything not knowable is reported as an explicit "unknown" — never silently converted to pass/fail — and a Limitations list states what the report cannot yet guarantee. Optional path (defaults to the current directory), commit (focus the report on one commit), task_id/project_id (look up the task report), and limit (commits to include, default 10).
Inputs: path, limit, commit, task_id, +1 more.
actiond_server_restartA
Restart the ActionD server daemon (stop, then start again). Requires ACTIOND_MCP_ALLOW_LIFECYCLE=1 in the MCP server environment; the call is refused with a clear error otherwise. By default it protects in-flight work: it refuses and lists the pending/running jobs unless force=true is passed, which restarts even while jobs are executing (those jobs are interrupted). Use it to pick up server-level changes — plugin manifest changes only need actiond_plugins_reload. Returns an action/changed/running/message envelope with combined stop/start output.
Inputs: force.
actiond_server_startAIdempotent
Start the ActionD server in daemon mode. Refuses with a clear error unless ACTIOND_MCP_ALLOW_LIFECYCLE=1 is set in the MCP server environment (lifecycle control is disabled by default as a safety gate). Starting an already-running server is a no-op that reports the current state. Returns an action/changed/running/message envelope plus daemon output; verify health afterwards with actiond_status.
actiond_server_stopAIdempotent
Stop the ActionD server daemon. Requires ACTIOND_MCP_ALLOW_LIFECYCLE=1 in the MCP server environment; the call is refused with a clear error otherwise. By default it protects in-flight work: it refuses and lists the pending/running jobs unless force=true is passed, which stops the server even while jobs are executing (those jobs are interrupted). Stopping an already-stopped server is a no-op. Returns an action/changed/running/message envelope with the daemon output.
Inputs: force.
actiond_statusARead-onlyIdempotent
Check whether the ActionD CI/CD server is reachable and capture its vitals in one call. Returns JSON with running state, version, uptime, registered plugin count, and recent job count. Safe to call at any time with no side effects; use it first when diagnosing connectivity, and prefer actiond_log for execution errors or actiond_actions_list for job history.
dev_cycle_runA
Run the end-to-end development loop — commit, trigger CI, wait for results, return a summary — in a single aggregated call. Internally it: (1) commits and pushes the working tree via "lgh up" (requires the LGH daemon running), (2) waits for the ActionD CI/CD jobs triggered by that push, and (3) collects every job result into one structured output. Requires a message (the commit text); optional path (repo directory, defaults to the MCP client's working directory), timeout in seconds (default 300), profile (fast/full/release — switched temporarily for this run and restored afterwards; omit to keep the current profile), and auto_rollback (default false; on failure, resets the repo to the pre-push commit). Use it after editing code to commit, test, and verify in one step; the result reports success, the commit sha, per-job statuses with durations, artifacts, rollback info when applicable, and a human-readable summary.
Inputs: message (required), path, profile, timeout, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 22 tools
Most tools are clearly distinct resource+action pairs (enable/disable plugins, cancel/retry/wait jobs, get/set profiles, list/get actions), and descriptions cross-reference each other to guide selection. The one genuine overlap is actiond_handoff_pack vs actiond_run_report, which aggregate nearly identical sources (git log, CI/CD verdicts, task report) and differ mainly by intent rather than content.
The actiond_ prefix plus noun_verb pattern (actiond_job_cancel, actiond_plugins_list, actiond_profile_set) dominates and is highly predictable. Deviations include verb-only names (actiond_log, actiond_status, actiond_cleanup, actiond_diagnose), inconsistent singular/plural nouns (actiond_plugin_enable vs actiond_plugins_list), and dev_cycle_run, which breaks both the prefix and the word-order convention.
22 tools sits in the heavy range, but the scope genuinely spans server lifecycle, plugin registry management, job lifecycle, execution profiles, diagnostics, cleanup, and reporting. Each tool has a distinct role with little redundancy, so the count feels justified for a full CI/CD management surface rather than bloated.
The surface covers the full CI/CD lifecycle with no dead ends: configure (plugin enable/disable, profile_set), execute (dev_cycle_run), observe (actions_list, action_get, job_wait, status, log), diagnose, recover (retry, cancel), maintain (plugins_reload, server_restart), clean up, and report/handoff. Minor gaps like downloading artifacts or registering plugins via API are by design (filesystem manifests, event-driven triggers), and every workflow has a defined exit path.
Maintenance
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
AI-native git hosting — repos, PRs, issues, CI gates, and AI code review over MCP (60 tools).
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Control plane for autonomous software labor. Agents claim objectives over MCP with audit trail.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server that equips AI agents with dev workflow tools including GitHub project management, conventional commits, visual regression testing, Jira/Confluence integration, and a persistent memory knowledge graph.30 npmMIT
- FlicenseAqualityDmaintenanceAn intelligent MCP server that gives AI agents full control over GitHub Actions CI/CD pipelines, including real-time monitoring, log analysis, AI-powered failure diagnosis, and deployment management.131-
- AlicenseAqualityBmaintenanceLocal-first Git hosting for AI coding agents. lgh serve turns any directory into an HTTP Git remote (127.0.0.1:9418) with push events, commit-status reporting, smart .gitignore generation, secret/large-file detection, and optional LAN sharing with auth. The MCP server exposes 10 tools covering repo registration, one-command backup (lgh up), server control, and event access.131MIT
- AlicenseNot gradedqualityBmaintenanceEnables external MCP clients like Claude Desktop, Claude Code, Cursor and Zed to hand work to a local crew of AI agents that plan, write, check and fix code in a folder, while also acting as an MCP client that can use their tools. Runs locally with user-supplied keys, approval-gated commands, diffable and undoable runs.AGPL 3.0