dockhand-gitops
Portable Agent Plugin (Agent Plugins v1.0.0, Google Antigravity v1, and Claude Code) 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). |
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 mcp_config.json and Claude Code / Copilot 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 skills/dockhand-gitops/references/tools-and-guardrails.md).
Contents
plugin.json— Agent Pluginsv1.0.0manifest..antigravity-plugin/plugin.json— Google Antigravityv1manifest withdisplayNameandsuggestedPrompts.mcp_config.json— Antigravity Streamable HTTP config (serverUrl,AuthorizationBearer header,variables,enabledTools)..mcp.json— Claude Code HTTP MCP config (${DOCKHAND_MCP_URL}and${DOCKHAND_MCP_AUTH_TOKEN}).skills/dockhand-gitops/SKILL.md— End-to-end GitOps validation and confirmation-gated container lifecycle workflow.skills/dockhand-gitops/references/tools-and-guardrails.md— Verifiedv1.19.038-tool allowlist and excluded high-risk tools.skills/dockhand-gitops/references/gitops-validation.md— GitOps topology, desired-vs-live validation checklist, and report template.
Changelog
1.0.1 (2026-11-25)
- Improved prompting hygiene in
SKILL.mdandreferences/gitops-validation.mdwith positive framing, explicit rationale for confirmation gating, secret redaction, and prompt-injection defense, plusinspect_containerpost-recovery verification. - Generalized GitOps repository and host topology discovery in
SKILL.md,references/gitops-validation.md, and.antigravity-plugin/plugin.jsonsuggestedPrompts. - Added copy-pasteable
MCP_TOOLS_ALLOW38-tool list inreferences/tools-and-guardrails.mdand fixed the Antigravity CLI label inREADME.md.
1.0.0 (2026-11-25)
- Initial release of
dockhand-gitopswith dual plugin manifests (plugin.jsonand.antigravity-plugin/plugin.json), Antigravitymcp_config.json, Claude Code.mcp.json, and thedockhand-gitopsskill with one-level-deep reference guides. - Scoped
enabledToolsinmcp_config.jsonto 33 read/diagnostic tools and 5 confirmation-gated container lifecycle tools (start_container,stop_container,restart_container,pause_container,unpause_container) verified againststrausmann/mcp-dockhandv1.19.0.