kill_server
- kill_server( socket_name?: string | null, )
-
Kill the tmux server and all its sessions.
Destroys ALL sessions, windows, and panes on this server. Use kill_session to remove a single session instead. Self-kill protection prevents killing the server running this MCP process.
- MCP request method
tools/callSendkill_serveras the tool name, with the arguments below.- Wraps
libtmux.Server.killThe library call this tool makes:src/libtmux_mcp/tools/server_tools.py:175.
Arguments
-
socket_name? =null(string | null)tmux socket name. Defaults to LIBTMUX_SOCKET env var.
No other arguments are accepted.
Result
Returns object
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalse
Capability
- Toolset
- Teardown Delete tmux objects or retained scrollback. Not reversible.
Every Python tool advertises the same annotations, so a host that approves by annotation cannot tell tools apart. The capability row is what tells them apart.
Protocol data
Use the complete advertised contract for validation and client integration.
Input schema
{"additionalProperties": false,"properties": {"socket_name": {"anyOf": [{"type": "string"},{"type": "null"}],"default": null,"description": "tmux socket name. Defaults to LIBTMUX_SOCKET env var."}},"type": "object"}Output schema
{"properties": {"result": {"type": "string"}},"required": ["result"],"type": "object","x-fastmcp-wrap-result": true}