MCPconceptTools

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

tool MCPlatest

get_server_info

get_server_info()
tool [source]

Inspect tmux metadata; accepts no client-supplied executable input. Reports whether the pinned server exists and its version.

MCP request method
tools/call Send get_server_info as the tool name, with the arguments below.

Arguments#

No named arguments.

Result#

Returns object

No other properties are accepted.

Annotations#

destructiveHint
true
idempotentHint
false
openWorldHint
true
readOnlyHint
false
title
"Get server info"

Protocol data#

Use the complete advertised contract for validation and client integration.

Input schema
{
"additionalProperties": false,
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"alive": {
"type": "boolean"
},
"attachedClients": {
"items": {
"additionalProperties": false,
"properties": {
"controlMode": {
"type": "boolean"
},
"name": {
"type": "string"
},
"session": {
"type": "string"
},
"tty": {
"type": "string"
}
},
"required": [
"name",
"controlMode"
],
"type": "object"
},
"type": [
"array"
]
},
"callerPaneId": {
"type": "string"
},
"clients": {
"type": "integer"
},
"insideThisServer": {
"type": "boolean"
},
"messages": {
"items": {
"type": "string"
},
"type": [
"array"
]
},
"messagesUnavailable": {
"type": "string"
},
"minimumVersion": {
"type": "string"
},
"panes": {
"type": "integer"
},
"sessions": {
"type": "integer"
},
"socketPath": {
"type": "string"
},
"truncated": {
"type": "boolean"
},
"truncatedBytes": {
"type": "integer"
},
"truncatedLines": {
"type": "integer"
},
"version": {
"type": "string"
},
"versionRefusal": {
"description": "why this tmux is refused and how to fix it; set when the selected tmux is older than minimumVersion, and the counts are then unavailable",
"type": "string"
},
"windows": {
"type": "integer"
}
},
"required": [
"socketPath",
"version",
"minimumVersion",
"alive",
"sessions",
"windows",
"panes",
"clients",
"attachedClients",
"insideThisServer",
"truncated"
],
"type": "object"
}
Esc

Type to search.

Reference previewOpen reference