Repository navigation
MCP v1.7.0
·
18 commits
to master
since this release
Added
get_cluster_nodesreturnsavailabilityZoneandshardIdfor each node
on Valkey 9.1 and later. On older versionsavailabilityZoneis 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_shardsreturnsadvice.hashTagsfor each hot shard: the hash tag
most of the sampled keys of a top slot share, and the slots holding at
leastkeyCountOutlierFactor(20) times the median key count and at
least 1000 keys. It needs no LFU policy.get_anomalies,get_incident_timelineandget_hot_shardsname the
cluster node an event or hot shard is about innode: its id, address,
role, shard and zone when known, andcollected, which is false when no
connection of the monitor points at that node.get_cluster_nodesreturnscollectedfor each node, with the
connectionIdof 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 andcoveragesays how many nodes answered. Returns the
disputed shards and the totals of all of them;shards: "all"returns
one line per shard.fullCheckcarries 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_nodesreturns astatefor each node:failedfor a node
flaggedfail,suspectfor one flaggedfail?(PFAIL),handshakeor
noaddr, andhealthyotherwise. A node its peers only suspect was
reported as healthy before.
Deprecated
- The
healthyboolean onget_cluster_nodesnodes: usestate. It is
still returned and is nowtrueonly whenstateishealthy.
Fixed
start_monitorand--autostartwith SQLite storage install
better-sqlite3next 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_monitorrecognises a monitor started this way, also in the MCP
Docker image, where BusyBoxpscould not read its command line.- A monitor that can't be launched (for example
npxmissing fromPATH)
is reported as a failed start instead of crashing the MCP server. - The Docker image moves to
node:26-alpinewith current Alpine patches and
keepsnpx, whichstart_monitorneeds.