MCPVault

get_stack_env

MCP tool from MCP Dockhand by strausmann

Read environment variables

How to use it

get_stack_env is exposed by the MCP Dockhand MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_stack_env tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

FULL MCP DOCKHAND LISTING

Other tools in MCP Dockhand (39)

batch_update_containers

Batch update containers

check_container_updates

Check for image updates

chmod_container_file

Change file permissions

create_container

Create a new container

create_container_file

Create an empty file or directory in container (no content — use writecontainerfilecontent for that)

create_stack

Create and optionally deploy a stack

delete_container_file

Delete file in container

delete_stack

Delete a stack

down_stack

Take down a stack (compose down)

exec_container

Create a terminal exec session (execId + WS connectionInfo); does NOT run a one-shot command or return output — no such endpoint exists in the Dockhand API

execute_batch

Run a bulk lifecycle operation (start/stop/restart/remove/etc.) across containers, images, volumes, networks, or stacks

get_container

Get container details

get_container_file_content

Read file from container

get_container_logs

Get container logs

get_container_shells

List available shells

get_container_sizes

Get container disk sizes

get_container_stats

Get resource usage stats

get_container_top

Get running processes

get_containers_stats

Get aggregated stats

get_pending_updates

Get pending updates

get_stack

Get stack details

get_stack_compose

Read compose file

inspect_container

Docker inspect (full details)

list_container_files

Browse files inside container

list_containers

List all containers in an environment

list_stacks

List all stacks

pause_container

Pause a container

rename_container

Rename a container

rename_container_file

Rename file in container

restart_container

Restart a container

restart_stack

Restart a stack

start_container

Start a container

start_stack

Start a stack (compose up)

stop_container

Stop a container

stop_stack

Stop a stack (compose stop)

unpause_container

Unpause a container

update_container

Update container settings

update_stack_compose

Update compose file

update_stack_env

Update environment variables (merge by default — safe for partial updates; use mode="replace" to overwrite all)