# get_server_info

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

> Inspect tmux metadata; accepts no client-supplied executable input. Read the tmux server's version and how many sessions, windows and panes it holds. Use to confirm a socket is alive and which tmux is running it.

MCP is in development

Server behavior and tool contracts may change. Tool availability depends on the server configuration.

Inspect tmux metadata; accepts no client-supplied executable input. Read the tmux server’s version and how many sessions, windows and panes it holds. Use to confirm a socket is alive and which tmux is running it.

[All C# tools](https://libtmux.org/en/csharp/latest/mcp/tools/) · [JSON](https://libtmux.org/en/csharp/latest/mcp/tools/get_server_info.json) · [Source](https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux.Mcp/Policy/CapabilityModel.cs#L572)

## Arguments

This tool has no top-level named arguments. Consult its schema below.

## Schemas

The schema defines required fields, nested values, defaults, and validation constraints.

Input schema

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

Output schema

```json
{
  "properties": {
    "callerPaneId": {
      "type": [
        "string",
        "null"
      ]
    },
    "callerPaneSocket": {
      "type": [
        "string",
        "null"
      ]
    },
    "paneCount": {
      "type": "integer"
    },
    "sessionCount": {
      "type": "integer"
    },
    "socketName": {
      "type": [
        "string",
        "null"
      ]
    },
    "socketPath": {
      "type": [
        "string",
        "null"
      ]
    },
    "version": {
      "type": [
        "string",
        "null"
      ]
    },
    "windowCount": {
      "type": "integer"
    }
  },
  "required": [
    "socketName",
    "socketPath",
    "version",
    "sessionCount",
    "windowCount",
    "paneCount",
    "callerPaneId",
    "callerPaneSocket"
  ],
  "type": "object"
}
```

Tool annotations

```json
{
  "destructiveHint": true,
  "idempotentHint": false,
  "openWorldHint": true,
  "readOnlyHint": false,
  "title": "Get server info"
}
```
