> ## Documentation Index
> Fetch the complete documentation index at: https://docs.murmur.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# version

> MCP tool that returns the client version, the API host the session is connected to, and the server's version for compatibility checks.

Returns the MCP client version and the API host the session is connected to. Use this to verify which environment a session targets and which client build is running.

Equivalent to [`murmur version`](/cli/version) in the CLI.

## Parameters

None. This tool takes no arguments.

## Response

Returns a JSON object with the client build information and API host.

| Field            | Type   | Description                                                             |
| ---------------- | ------ | ----------------------------------------------------------------------- |
| `client_version` | string | The client version string (e.g. `80.2`).                                |
| `client_commit`  | string | The commit SHA the client was built from (e.g. `a1b2c3d4`).             |
| `api_host`       | string | The API address the session is connected to (e.g. `api.murmur.sh:443`). |

## Examples

### Check the current version

```json theme={null}
{}
```

Response:

```json theme={null}
{
  "client_version": "80.2",
  "client_commit": "a1b2c3d4",
  "api_host": "api.murmur.sh:443"
}
```

## Errors

| Code              | Meaning                                 | What to do                                                                     |
| ----------------- | --------------------------------------- | ------------------------------------------------------------------------------ |
| `UNAUTHENTICATED` | The session has no valid configuration. | Re-authenticate or check your [workspace](/concepts/workspaces) configuration. |

## Related

* [`murmur version`](/cli/version) — equivalent CLI command
* [`status`](/mcp-server/status) — check an agent's current state
