Skip to content

MCP v1.7.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 08:37
· 18 commits to master since this release
2f2f041

Added

  • get_cluster_nodes returns availabilityZone and shardId for each node
    on Valkey 9.1 and later. On older versions availabilityZone is returned
    for nodes listed in the connection's zone map.
  • get_hot_shards: the hot shards open on a cluster, each with its top
    slots, hot keys and a suggested slot rebalance (which slot ranges to move
    to which shards, and the projected load), or the reason no move is
    suggested. Read-only; nothing is moved.
  • get_hot_shards returns advice.hashTags for each hot shard: the hash tag
    most of the sampled keys of a top slot share, and the slots holding at
    least keyCountOutlierFactor (20) times the median key count and at
    least 1000 keys. It needs no LFU policy.
  • get_anomalies, get_incident_timeline and get_hot_shards name the
    cluster node an event or hot shard is about in node: its id, address,
    role, shard and zone when known, and collected, which is false when no
    connection of the monitor points at that node.
  • get_cluster_nodes returns collected for each node, with the
    connectionId of the connection that collects it.
  • get_placement_status: the slot placement mode of a cluster (Observe or
    Recommend), the reasons it can't take slot moves, such as a managed
    service or a server before Valkey 9.0, and each shard's CPU against the
    median shard. Read-only.
  • get_topology_disagreements: where the nodes of a cluster disagree about
    slot owners, config epochs, failure flags or membership, with the number
    of views on each side, and one line per shard. Built for large clusters:
    lines that differ only in the node they are about are merged, node lists
    are capped at 25 and coverage says how many nodes answered. Returns the
    disputed shards and the totals of all of them; shards: "all" returns
    one line per shard. fullCheck carries the last check that set out to
    ask every node, when one was run from the Cluster page; the tool reads
    it and cannot start one.

Changed

  • get_cluster_nodes returns a state for each node: failed for a node
    flagged fail, suspect for one flagged fail? (PFAIL), handshake or
    noaddr, and healthy otherwise. A node its peers only suspect was
    reported as healthy before.

Deprecated

  • The healthy boolean on get_cluster_nodes nodes: use state. It is
    still returned and is now true only when state is healthy.

Fixed

  • start_monitor and --autostart with SQLite storage install
    better-sqlite3 next to the monitor, which npx did not install on its own,
    and wait up to 90 seconds for a first start that downloads the monitor.
  • stop_monitor recognises a monitor started this way, also in the MCP
    Docker image, where BusyBox ps could not read its command line.
  • A monitor that can't be launched (for example npx missing from PATH)
    is reported as a failed start instead of crashing the MCP server.
  • The Docker image moves to node:26-alpine with current Alpine patches and
    keeps npx, which start_monitor needs.