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. The tmux server this process drives: its socket, version, daemon pid, and totals. Check the version before using a feature that needs a recent tmux.

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

Protocol data#

Use the complete advertised contract for validation and client integration.

Input schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"type": "object"
}
Output schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"panes": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"pid": {
"type": [
"string",
"null"
]
},
"sessions": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"socketPath": {
"type": [
"string",
"null"
]
},
"version": {
"type": "string"
},
"windows": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"panes",
"pid",
"sessions",
"socketPath",
"version",
"windows"
],
"type": "object"
}
Esc

Type to search.

Reference previewOpen reference