@angrythundrwafl/dockhand-gitops-opencode
v1.0.4
Published
Observe and validate multi-host GitOps Docker stacks via mcp-dockhand with read-only monitoring and confirmation-gated container lifecycle controls.
Maintainers
Readme
dockhand-gitops
Portable Agent Plugin (Agent Plugins v1.0.0, Google Antigravity v1, Claude Code, OpenCode, and Pi) for observing, validating, and safely managing multi-host GitOps Docker stacks via strausmann/mcp-dockhand.
Prerequisites
- A running
mcp-dockhand(v1.19.0+) Streamable HTTP endpoint (for example,https://intel-nuc.<tailnet>.ts.net/mcpfronted by Tailscale Serve). - Environment variables (or Antigravity plugin variables) available to the agent runtime:
DOCKHAND_MCP_URL— full/mcpendpoint URL.DOCKHAND_MCP_AUTH_TOKEN— Bearer token matchingMCP_AUTH_TOKENonmcp-dockhand.
- Access to the GitOps Compose repository (local checkout or
ghCLI) for desired-state comparison.
Per-Harness Setup
| Harness | Manifest / MCP Config | Setup Notes |
| --- | --- | --- |
| Google Antigravity (agy) | .antigravity-plugin/plugin.json + mcp_config.json | Installs disabled until DOCKHAND_MCP_URL and DOCKHAND_MCP_AUTH_TOKEN are configured under /plugin or Customizations UI. mcp_config.json enforces the 38-tool enabledTools allowlist (33 read/diagnostic + 5 container lifecycle tools). |
| Claude Code | .claude-plugin/marketplace.json + .mcp.json | Reads ${DOCKHAND_MCP_URL} and ${DOCKHAND_MCP_AUTH_TOKEN} directly from environment variables. |
| GitHub Copilot | plugin.json (skills-only MCP) | Agent Plugins 1.0.0 mcp.json forbids credential headers and ${VAR} URL placeholders, so mcp.json is intentionally omitted. Configure the MCP server in ~/.copilot/mcp-config.json (see below). |
| OpenCode | opencode.json + .opencode/skills/ | Reads {env:DOCKHAND_MCP_URL} and {env:DOCKHAND_MCP_AUTH_TOKEN} from environment variables via remote MCP config. |
| Pi (@earendil-works/pi-coding-agent) | extensions/index.js + skills/ | Reads DOCKHAND_MCP_URL and DOCKHAND_MCP_AUTH_TOKEN from process.env; validates HTTPS (or loopback HTTP) and skips registration cleanly when either variable is absent or invalid. |
GitHub Copilot Manual MCP Configuration
Add the dockhand server to ~/.copilot/mcp-config.json:
{
"mcpServers": {
"dockhand": {
"type": "http",
"url": "https://intel-nuc.<tailnet>.ts.net/mcp",
"headers": {
"Authorization": "Bearer ${DOCKHAND_MCP_AUTH_TOKEN}"
}
}
}
}Optional Server-Side Filtering (mcp-dockhand Newer Than v1.19.0)
mcp-dockhand v1.19.0 exposes the full Dockhand API on the server side, so Antigravity relies on enabledTools in overrides/google.antigravity.app/mcp_config.json and Claude Code / Copilot / OpenCode / Pi rely on skill guardrails. When running a newer mcp-dockhand release that supports MCP_TOOLS_ALLOW, you can mirror the exact 38-tool allowlist on the server via MCP_TOOLS_ALLOW (see agent-plugin/skills/dockhand-gitops/references/tools-and-guardrails.md).
Contents
agent-plugin/plugin.json— Agent Pluginsv1.0.0manifest.overrides/google.antigravity.app/.antigravity-plugin/plugin.json— Google Antigravityv1manifest withdisplayNameandsuggestedPrompts.overrides/google.antigravity.app/mcp_config.json— Antigravity Streamable HTTP config (serverUrl,AuthorizationBearer header,variables,enabledTools).overrides/anthropic.claude-code.cli/.mcp.json— Claude Code HTTP MCP config (${DOCKHAND_MCP_URL}and${DOCKHAND_MCP_AUTH_TOKEN}).overrides/opencode.opencode.cli/opencode.json— OpenCode remote MCP config ({env:DOCKHAND_MCP_URL}and{env:DOCKHAND_MCP_AUTH_TOKEN}).overrides/earendil.pi.package/extensions/index.js— Pi MCP extension readingDOCKHAND_MCP_URL(validated HTTPS or loopback HTTP) andDOCKHAND_MCP_AUTH_TOKENfromprocess.env.agent-plugin/skills/dockhand-gitops/SKILL.md— End-to-end GitOps validation and confirmation-gated container lifecycle workflow.agent-plugin/skills/dockhand-gitops/references/tools-and-guardrails.md— Verifiedv1.19.038-tool allowlist and excluded high-risk tools.agent-plugin/skills/dockhand-gitops/references/gitops-validation.md— GitOps topology, desired-vs-live validation checklist, and report template.
Changelog
See CHANGELOG.md for the full release history.
