Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
MCP_HOST | No | Host address to bind to | 0.0.0.0 |
MCP_PORT | No | Port number for the server | 8000 |
MCP_LOG_FILE | No | Path to log file | mcp_terminal_server.log |
MCP_LOG_LEVEL | No | Log level (debug, info, warning, error, critical) | info |
MCP_MAX_LOG_SIZE_MB | No | Maximum log file size in MB | 10 |
MCP_LOG_BACKUP_COUNT | No | Number of log backup files to keep | 5 |
MCP_TERMINAL_API_KEY | Yes | API key for authentication | |
MCP_WORKING_DIRECTORY | No | Working directory for the server | |
MCP_RESTART_ON_FAILURE | No | Whether to restart the server on failure | true |
MCP_MAX_RESTART_ATTEMPTS | No | Maximum number of restart attempts | 5 |
MCP_RESTART_DELAY_SECONDS | No | Delay between restart attempts | 10 |
MCP_SHUTDOWN_TIMEOUT_SECONDS | No | Timeout for graceful shutdown | 30 |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
No tools |