server_file_read
Reads a text file from a Docker host over SSH or locally while hiding secret values and truncating oversized files for safe inspection.
Instructions
Read a text file on the Docker host. Secret values are hidden.
Files that hold secrets (.env, *.env, keys, credentials) are never shown. Big files are cut (SERVER_MCP_MAX_FILE_KB, default 1024 KB).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| path | Yes | ||
| as_root | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |