Get Environment Variables
get_environment_variablesRetrieve environment variables from the LinuxMCP process and optionally mask secrets by default, so you can inspect runtime configuration without exposing sensitive values.
Instructions
Environment variables of the linuxmcp process.
mask_secrets redacts vars whose name contains KEY/TOKEN/SECRET/ PASSWORD/PWD - set False to see raw values.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_environment_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mask_secrets | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |