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.

MoreLess about this notice

Concept example A working example of the core library. It can change without notice. What concept means

tool MCP

get_server_info

get_server_info()

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

MCP request method
tools/call Send get_server_info as the tool name, with the arguments below.
Wraps
io.github.libtmux.Server.Server.snapshotThe library call this tool makes: libtmux-mcp/src/main/java/io/github/libtmux/mcp/Operations.java:39.

Arguments

No named arguments.

Result

Returns object

No other properties are accepted.

Annotations

Advertised by the server

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

Capability

Toolset
Inspect Request tmux state and terminal output.
Process reach
none
tmux effects
observe

Every Java 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": {},
"required": [],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"identity": {
"type": "string"
},
"running": {
"type": "boolean"
},
"sessions": {
"type": "integer"
},
"version": {
"type": "string"
}
},
"required": [
"running",
"identity",
"version",
"sessions"
],
"type": "object"
}
Esc
Search in

Type to search.

Reference previewOpen reference