linux-mcp
by techdive76
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_FILE | No | Also write JSON logs to this file, with rotation. Unset by default. In Docker, mount a directory writable by UID 5678. | |
| MCP_HOST | No | Bind address. Only used when started with the `linux-mcp` command; the Docker image always binds `0.0.0.0:8000`. | 0.0.0.0 |
| MCP_PORT | No | Bind port. Only used when started with the `linux-mcp` command. | 8000 |
| LOG_LEVEL | No | `DEBUG`, `INFO`, `WARNING`, `ERROR`. `WARNING` keeps only rejected requests, blocked commands and failures. | INFO |
| SSH_KEY_DIR | No | Directory where relative `key_file` values and `known_hosts` are resolved (default `./ssh`, `/ssh` in Docker). | ./ssh |
| CLIENTS_CONFIG | No | Path to the clients file (default `./config/clients.yaml`, `/config/clients.yaml` in Docker). | ./config/clients.yaml |
| SERVERS_CONFIG | No | Path to the servers file (default `./config/servers.yaml`, `/config/servers.yaml` in Docker). | ./config/servers.yaml |
| TRUSTED_PROXIES | No | Comma-separated IPs/CIDRs of reverse proxies. `X-Forwarded-For` / `X-Real-IP` are honored only when the request comes from one of these. Leave empty if clients connect directly. Default is empty. | |
| LOG_FILE_BACKUPS | No | Number of rotated `LOG_FILE` backups to keep. | 5 |
| ACCESS_LOG_FORMAT | No | `json` gives structured `http.request` events with client alias and real IP. `plain` gives uvicorn's standard access log. Audit events are JSON either way. | json |
| LOG_FILE_MAX_BYTES | No | Rotation size for `LOG_FILE` (10 MB). | 10485760 |
| LOG_MAX_OUTPUT_CHARS | No | Max characters of each command's `stdout` / `stderr` written to the audit log. `0` means no limit. | 10000 |
| SSH_STRICT_HOST_KEYS | No | `true` rejects any SSH host not listed in `${SSH_KEY_DIR}/known_hosts`. Recommended in production. With `false`, unknown host keys are accepted automatically. | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues