# get_server_info

Source: https://libtmux.org/en/go/latest/mcp/tools/get_server_info/

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

tool MCPlatest

MCP concept example

A working example of the core library. It can change without notice.

[What concept means](https://libtmux.org/en/meta/support/#concept-and-alpha)

* **get_server_info**()

  tool \[[source](https://github.com/libtmux/libtmux-go/blob/068da4f165ba859294dac4cfbd77ee3f660ad78a/mcp/manifest_catalog.go#L151)][¶](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info)

  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[#](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.parameters)

  No named arguments.

  ## Result[#](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.result)

  Returns [object](https://json-schema.org/understanding-json-schema/reference/object "object (JSON Schema)")

  * **[`alive`](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.output%2Fproperties%2Falive)** ([boolean](https://json-schema.org/understanding-json-schema/reference/boolean "boolean (JSON Schema)"))

  * **[`attachedClients`](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.output%2Fproperties%2FattachedClients)** ([Array](https://json-schema.org/understanding-json-schema/reference/array "array (JSON Schema)")<[object](https://json-schema.org/understanding-json-schema/reference/object "object (JSON Schema)")>)

    * **[Items](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.output%2Fproperties%2FattachedClients%2Fitems)** ([object](https://json-schema.org/understanding-json-schema/reference/object "object (JSON Schema)"))

      * **[`controlMode`](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.output%2Fproperties%2FattachedClients%2Fitems%2Fproperties%2FcontrolMode)** ([boolean](https://json-schema.org/understanding-json-schema/reference/boolean "boolean (JSON Schema)"))

      * **[`name`](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.output%2Fproperties%2FattachedClients%2Fitems%2Fproperties%2Fname)** ([string](https://json-schema.org/understanding-json-schema/reference/string "string (JSON Schema)"))

      * **[`session`](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.output%2Fproperties%2FattachedClients%2Fitems%2Fproperties%2Fsession)**? ([string](https://json-schema.org/understanding-json-schema/reference/string "string (JSON Schema)"))

      * **[`tty`](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.output%2Fproperties%2FattachedClients%2Fitems%2Fproperties%2Ftty)**? ([string](https://json-schema.org/understanding-json-schema/reference/string "string (JSON Schema)"))

      No other properties are accepted.

  * **[`callerPaneId`](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.output%2Fproperties%2FcallerPaneId)**? ([string](https://json-schema.org/understanding-json-schema/reference/string "string (JSON Schema)"))

  * **[`clients`](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.output%2Fproperties%2Fclients)** ([integer](https://json-schema.org/understanding-json-schema/reference/numeric "numeric (JSON Schema)"))

  * **[`insideThisServer`](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.output%2Fproperties%2FinsideThisServer)** ([boolean](https://json-schema.org/understanding-json-schema/reference/boolean "boolean (JSON Schema)"))

  * **[`messages`](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.output%2Fproperties%2Fmessages)**? ([Array](https://json-schema.org/understanding-json-schema/reference/array "array (JSON Schema)")<[string](https://json-schema.org/understanding-json-schema/reference/string "string (JSON Schema)")>)

  * **[`messagesUnavailable`](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.output%2Fproperties%2FmessagesUnavailable)**? ([string](https://json-schema.org/understanding-json-schema/reference/string "string (JSON Schema)"))

  * **[`minimumVersion`](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.output%2Fproperties%2FminimumVersion)** ([string](https://json-schema.org/understanding-json-schema/reference/string "string (JSON Schema)"))

  * **[`panes`](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.output%2Fproperties%2Fpanes)** ([integer](https://json-schema.org/understanding-json-schema/reference/numeric "numeric (JSON Schema)"))

  * **[`sessions`](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.output%2Fproperties%2Fsessions)** ([integer](https://json-schema.org/understanding-json-schema/reference/numeric "numeric (JSON Schema)"))

  * **[`socketPath`](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.output%2Fproperties%2FsocketPath)** ([string](https://json-schema.org/understanding-json-schema/reference/string "string (JSON Schema)"))

  * **[`truncated`](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.output%2Fproperties%2Ftruncated)** ([boolean](https://json-schema.org/understanding-json-schema/reference/boolean "boolean (JSON Schema)"))

  * **[`truncatedBytes`](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.output%2Fproperties%2FtruncatedBytes)**? ([integer](https://json-schema.org/understanding-json-schema/reference/numeric "numeric (JSON Schema)"))

  * **[`truncatedLines`](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.output%2Fproperties%2FtruncatedLines)**? ([integer](https://json-schema.org/understanding-json-schema/reference/numeric "numeric (JSON Schema)"))

  * **[`version`](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.output%2Fproperties%2Fversion)** ([string](https://json-schema.org/understanding-json-schema/reference/string "string (JSON Schema)"))

  * **[`versionRefusal`](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.output%2Fproperties%2FversionRefusal)**? ([string](https://json-schema.org/understanding-json-schema/reference/string "string (JSON Schema)"))

    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

  * **[`windows`](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.output%2Fproperties%2Fwindows)** ([integer](https://json-schema.org/understanding-json-schema/reference/numeric "numeric (JSON Schema)"))

  No other properties are accepted.

  ## Annotations[#](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.annotations)

  * [`destructiveHint`](https://libtmux.org/en/go/latest/mcp/reference/glossary/#destructiveHint)

    `true`

  * [`idempotentHint`](https://libtmux.org/en/go/latest/mcp/reference/glossary/#idempotentHint)

    `false`

  * [`openWorldHint`](https://libtmux.org/en/go/latest/mcp/reference/glossary/#openWorldHint)

    `true`

  * [`readOnlyHint`](https://libtmux.org/en/go/latest/mcp/reference/glossary/#readOnlyHint)

    `false`

  * [`title`](https://libtmux.org/en/go/latest/mcp/reference/glossary/#title)

    `"Get server info"`

  ## Protocol data[#](https://libtmux.org/en/go/latest/mcp/tools/get_server_info/#mcp.tool.get_server_info.schemas)

  Use the complete advertised contract for validation and client integration.

  Input schema

  ```json
  {
    "additionalProperties": false,
    "type": "object"
  }
  ```

  Output schema

  ```json
  {
    "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"
  }
  ```
