Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP2TERM_SHELL | No | Shell executable used for commands. | /bin/bash |
| MCP2TERM_PLUGINS | No | Comma-separated dotted module paths to load as plugins. | |
| MCP2TERM_WORKDIR | No | Working directory for commands. | Current directory |
| MCP2TERM_EXTRA_ENV | No | JSON object merged into the command environment. | {} |
| MCP2TERM_INHERIT_ENV | No | When `true`, inherit the parent environment. | true |
| MCP2TERM_COMMAND_TIMEOUT | No | Default timeout in seconds for commands. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| run_command | Execute a shell command with live stdout/stderr streaming. |
| cancel_command | Send a signal to a running command. |
| send_stdin | Forward input to a running command's stdin pipe. |
| manage_file | Create, edit, and inspect files on the remote host including line-based operations. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |