linux-mcp-toolkit

v1.0.16
linux-mcp-toolkit Checked 1 day ago Published 1 year ago

Enhanced Linux MCP Toolkit with Interactive Shell Support

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

connect_default_host

使用环境变量或MCP配置自动连接到默认主机

ping_host

Ping host to check connectivity (cross-platform) - 支持环境变量和MCP配置自动加载

ParameterTypeDescription
countinteger
hoststring

create_interactive_session

Create a persistent interactive SSH session - 支持环境变量和MCP配置自动加载

ParameterTypeDescription
ip_addressstring
passwordstring
portinteger
usernamestring

execute_interactive_command

Execute command in interactive session with persistent state

ParameterTypeDescription
command *string
ip_address *string
timeoutinteger

send_interactive_input

Send input to interactive command (for commands requiring user input)

ParameterTypeDescription
input_text *string
ip_address *string

get_real_time_output

Get real-time output from interactive session

ParameterTypeDescription
ip_address *string
durationinteger

execute_command

Execute single Linux command (non-interactive) - 支持环境变量和MCP配置自动加载

ParameterTypeDescription
command *string
ip_addressstring
timeoutinteger

list_active_sessions

List all active interactive sessions

close_session

Close interactive session

ParameterTypeDescription
ip_address *string

file_operations

Enhanced file operations - 支持环境变量和MCP配置自动加载

ParameterTypeDescription
operation *string
path *string
contentstring
ip_addressstring

service_control

Service control with status information

ParameterTypeDescription
action *string
ip_address *string
service *string