Documentation
¶
Overview ¶
Package main implements dockhand-mcp, an MCP server and CLI for the containers and stacks a Dockhand manages.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package cli implements the dockhand-mcp command line interface: the cobra commands, flag and config handling, and the MCP server exposing Dockhand's tools to AI clients.
|
Package cli implements the dockhand-mcp command line interface: the cobra commands, flag and config handling, and the MCP server exposing Dockhand's tools to AI clients. |
|
lib
|
|
|
testenv
Package testenv is what the two live suites share: the Dockhand and the Docker hosts .scripts/testenv.sh started for them, and which of the two ways a Dockhand is run they stand for - open, as it comes, with no login, or with its login switched on and asked with an API token.
|
Package testenv is what the two live suites share: the Dockhand and the Docker hosts .scripts/testenv.sh started for them, and which of the two ways a Dockhand is run they stand for - open, as it comes, with no login, or with its login switched on and asked with an API token. |
|
sdk
|
|
|
dockhand
Package dockhand is a typed client for Dockhand API 1.0.51, generated by pandorest from the definitions in api-defs/dockhand-1.0.51, which were imported from api-defs/dockhand-openapi-1.0.51.json.
|
Package dockhand is a typed client for Dockhand API 1.0.51, generated by pandorest from the definitions in api-defs/dockhand-1.0.51, which were imported from api-defs/dockhand-openapi-1.0.51.json. |
|
dockhandtest
Package dockhandtest is a canned Dockhand for tests: it answers the API calls a test tells it to and records what it was asked.
|
Package dockhandtest is a canned Dockhand for tests: it answers the API calls a test tells it to and records what it was asked. |
|
pandorest
command
Command pandorest generates sdk/dockhand from the Dockhand API document, with github.com/katbyte/pandorest: the document is imported into definitions under api-defs, fixing what it gets wrong on the way (see workarounds), and the client is written from those.
|
Command pandorest generates sdk/dockhand from the Dockhand API document, with github.com/katbyte/pandorest: the document is imported into definitions under api-defs, fixing what it gets wrong on the way (see workarounds), and the client is written from those. |
|
pandorest/workarounds
Package workarounds is what is dockhand-mcp's own about generating its client: the one service pandorest generates here, and a named fix for each thing Dockhand's API document gets wrong.
|
Package workarounds is what is dockhand-mcp's own about generating its client: the one service pandorest generates here, and a named fix for each thing Dockhand's API document gets wrong. |
|
Package tools defines the MCP tools exposed by dockhand-mcp, split by the resource they act on (server.go, env.go, ...).
|
Package tools defines the MCP tools exposed by dockhand-mcp, split by the resource they act on (server.go, env.go, ...). |
Click to show internal directories.
Click to hide internal directories.