resource templateMCPlatest
get_sessions
-
tmux://sessions{?socket_name}resource template¶ -
List all tmux sessions.
- MCP request method
resources/readSend the resource URI shown above.- MIME type
application/json
URI parameters#
socket_name#tmux socket name. Defaults to LIBTMUX_SOCKET env var.
- Binding
- Query variable
Result#
Returns resource contents for the requested URI with MIME type
application/json.str JSON array of session objects (MIME:
application/json).Protocol data#
Use the complete advertised contract for validation and client integration.
Registration
{"_meta": {"fastmcp": {"tags": []}},"description": "List all tmux sessions.\n\nParameters\n----------\nsocket_name : str, optional\n tmux socket name. Defaults to LIBTMUX_SOCKET env var.\n\nReturns\n-------\nstr\n JSON array of session objects (MIME: ``application/json``).","mimeType": "application/json","name": "get_sessions","title": "All Sessions","uriTemplate": "tmux://sessions{?socket_name}"}