Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

CometBFT validator ops

Latest version: v0.4.6

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
MCP server Transport: stdio Publisher: wookja-0
2 Stars
0 Forks
9 Versions
Go Repo language

Scan summary

CometBFT validator ops was last scanned on 27 Nov 2026 at version 0.4.6. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 9 versions; the latest was published on 27 Nov 2026.
  • Findings: No rules fired in version 0.4.6.
  • MCP server: Runs over stdio.

Versions

9 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.4.6 LATEST 27 Nov 2026 No rules fired
0.4.5 6 Nov 2026 No rules fired
0.4.4 6 Nov 2026 No rules fired
0.4.3 6 Nov 2026 Not shown
0.4.2 5 Nov 2026 Not shown

No rules fired in 0.4.6

Findings

Findings for v0.4.6. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.4.6; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Ask your agent "Is my validator signing?", "How close is it to jail?", "Why did the chain stop?" or "Are we ready for the upgrade?" and get an answer grounded in your own nodes and the chain's own slashing state — judged the way an operator would judge them, and unable to change anything.

Works with any CometBFT chain (Cosmos Hub, Osmosis, any Cosmos SDK chain, non-SDK CometBFT apps) and any MCP client (Claude Code, Claude Desktop, Cursor, VS Code, Codex, Gemini CLI, …).

[!WARNING] Early release (v0.4). The tool API may still change.

Contents: What you can ask · Quick start · Install · Connect a client · Configuration · Tools · Security model · How it decides · Troubleshooting · FAQ · Development

What you can ask

Real output from the bundled local network.

Is my validator signing — and how far is it from jail?

"Is val3 signing? How long until it gets jailed?"

val3 [critical]: signed 26/30 blocks (88–117), missed 4 (13.33%), 4 missed in a row at the head;
21 more misses until downtime jail (~37s at the current rate)

Read from commit signatures (works while the validator itself is down) and the chain's own x/slashing counter, with the jail threshold computed exactly as the SDK does.

Why did blocks stop?

"The chain isn't producing blocks. Why?"

height 115 round 0 (Prevote) for 60s [critical]: prevotes 50.1%, precommits 0.0% of power —
no_quorum; not voting: val3, val2

Tells "not enough voting power online — and who is missing" apart from "validators online but not committing" (an upgrade halt, an app hash error). The 50.1% is not a typo: val2 had been slashed 1% for downtime earlier in the run.

Are we ready for the upgrade?

"Is there an upgrade coming? Are all nodes on the same version?"

localnet-1 [ok]: upgrade <untrusted>v2-e2e</untrusted> at height 10000000 in ~164d20h (9999969 blocks)

The x/upgrade plan with an ETA from the measured block time, upgrade proposals still in voting, and version skew across nodes. <untrusted> marks text that came from the chain — here a governance proposal — so the agent treats it as data.

Is everything ok?

"Run a daily check" — or use the daily_check prompt.

[critical] 5 nodes (4 ok, 1 critical), 4 validators (3 ok, 1 critical); localnet-1 [ok]: no upgrade scheduled — needs attention: val3

Also: "Is val0 really behind its sentry?" (peer_health flags validators with public-address peers), "Is any node falling behind?", and incident_triage for an evidence-first diagnosis of one node.

Quick start (1 minute, public RPC)

No access to your nodes needed: point it at a public RPC and watch any validator by its consensus address.

go install github.com/wookja-0/cometbft-mcp/cmd/cometbft-mcp@latest

cat > hub.yaml <<'EOF'
cosmos:
  rest: https://cosmos-rest.publicnode.com
nodes:
  - name: public
    role: full
    rpc: https://cosmos-rpc.publicnode.com:443
  - name: my-validator
    role: validator
    validator_address: cosmosvalcons1...   # yours, or any validator's
EOF

cometbft-mcp check --config hub.yaml
claude mcp add cometbft -- cometbft-mcp --config "$PWD/hub.yaml" --concurrency 8

Then ask: "Is my-validator signing? How far is it from jail?"

validator_address is the consensus address (…valcons1… or 40-char hex), not a wallet (cosmos1…) or operator (cosmosvaloper1…) address. Get it with <appd> comet show-address on the validator, from /status → validator_info.address, or from an explorer.

Install

Method
Binary Linux and macOS (amd64/arm64) from Releases, with build-provenance attestations: gh attestation verify <file> --repo wookja-0/cometbft-mcp
Go go install github.com/wookja-0/cometbft-mcp/cmd/cometbft-mcp@latest
Container ghcr.io/wookja-0/cometbft-mcp — distroless, non-root; the only host access it needs is your config, mounted read-only
MCP Registry listed as io.github.wookja-0/cometbft-mcp
Glama glama.ai/mcp/servers/wookja-0/cometbft-mcp

Connect a client

Use absolute paths: most clients do not expand ~.

claude mcp add cometbft -- cometbft-mcp --config /Users/you/.config/cometbft-mcp/config.yaml

~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

{
  "mcpServers": {
    "cometbft": {
      "command": "cometbft-mcp",
      "args": ["--config", "/Users/you/.config/cometbft-mcp/config.yaml"]
    }
  }
}

~/.cursor/mcp.json:

{
  "mcpServers": {
    "cometbft": {
      "command": "cometbft-mcp",
      "args": ["--config", "/Users/you/.config/cometbft-mcp/config.yaml"]
    }
  }
}

.vscode/mcp.json:

{
  "servers": {
    "cometbft": {
      "type": "stdio",
      "command": "cometbft-mcp",
      "args": ["--config", "/Users/you/.config/cometbft-mcp/config.yaml"]
    }
  }
}

~/.codex/config.toml:

[mcp_servers.cometbft]
command = "cometbft-mcp"
args = ["--config", "/Users/you/.config/cometbft-mcp/config.yaml"]

~/.gemini/settings.json:

{
  "mcpServers": {
    "cometbft": {
      "command": "cometbft-mcp",
      "args": ["--config", "/Users/you/.config/cometbft-mcp/config.yaml"]
    }
  }
}
{
  "mcpServers": {
    "cometbft": {
      "command": "docker",
      "args": ["run", "-i", "--rm",
               "--mount", "type=bind,src=/Users/you/.config/cometbft-mcp/config.yaml,dst=/config/config.yaml,readonly",
               "ghcr.io/wookja-0/cometbft-mcp:0.4.6"]
    }
  }
}

Or skip the mount and pass the config inline: "-e", "COMETBFT_MCP_CONFIG_YAML={nodes: [...]}" before the image name.

Inside a container 127.0.0.1 is the container itself: point the config at host.docker.internal (Docker Desktop) or add --network host (Linux) to reach SSH tunnels on the host.

Configuration

Where the config comes from, first match wins:

  1. --config <path>
  2. $COMETBFT_MCP_CONFIG_YAML — the YAML itself, for places that take environment variables but not files (containers, hosted MCP runners). Flow style fits on one line:
    COMETBFT_MCP_CONFIG_YAML='{cosmos: {rest: "https://cosmos-rest.publicnode.com"}, nodes: [{name: public, role: full, rpc: "https://cosmos-rpc.publicnode.com:443"}]}'
  3. $COMETBFT_MCP_CONFIG — a path
  4. ~/.config/cometbft-mcp/config.yaml

Start from the commented config.example.yaml.

# Optional: the Cosmos SDK layer (jail status, slashing margin, upgrades, monikers).
# Chain state is the same on every node: use a sentry's or full node's REST API.
cosmos:
  rest: http://127.0.0.1:1317

nodes:
  - name: sentry-1
    role: sentry                     # validator | sentry | full
    rpc: http://127.0.0.1:26657      # CometBFT RPC
  - name: val-1
    role: validator
    rpc: http://127.0.0.1:36657
    validator_address: cosmosvalcons1...   # keeps validator_health working while it is down
  - name: val-2
    role: validator                  # no rpc: watched by address only
    validator_address: cosmosvalcons1...
Field
cosmos.rest Cosmos SDK REST (app.toml [api], port 1317) of any synced node. Omit for non-SDK chains.
nodes[].name Lowercase name the agent uses to refer to the node.
nodes[].role validator, sentry or full. Commits are read from sentries and full nodes first, keeping load off validators.
nodes[].rpc CometBFT RPC (port 26657). Optional for a validator that has validator_address.
nodes[].validator_address Validators only: consensus address, hex or bech32 …valcons1….

There is deliberately no place for keys, mnemonics or tokens; fields that look like secrets are rejected.

Reaching nodes. Only port 26657 (and optionally 1317 on one node) is used. CometBFT binds RPC to 127.0.0.1 by default, so an SSH tunnel needs no node changes and no open ports: ssh -N -L 36657:127.0.0.1:26657 val-1. Do not open RPC to the internet for this.

Flag Default
--config see above Path to the config
--concurrency 4 In-flight requests across all nodes. Gentle on your own nodes; 8 suits most public RPCs, less for rate-limited ones (HTTP 429).
--timeout 10s Per-request timeout
--reveal-network off Show raw peer IPs, node IDs and transport errors to the model

cometbft-mcp check prints a node_status report locally, without an MCP client, to verify a config.

Without a usable config the server still starts: its tools and prompts stay listed, and each call explains what to create, ending with a one-line public Cosmos Hub config to try first (it never echoes the config's contents, which may hold internal addresses). Fix the config and restart the MCP server.

Tools

All tools are read-only (readOnlyHint). Every result has a summary, a level (ok / warn / critical / unknown) and findings with stable codes.

One line per node with its issues, one summary per validator (last 50 blocks), the consensus round, and the upgrade status. The starting point for "is everything ok?".

No arguments.

Height, seconds since the last block, catching_up, blocks behind the highest node in the fleet, CometBFT and app versions; for validators the consensus address and voting power.

Argument
node Node name; omit for every node

Findings: unreachable, catching_up, stale_head, behind_fleet, no_voting_power, address_mismatch.

Peer count, inbound/outbound, peers on public addresses, peers on another chain, and a peer list (longest-lived first, at most 40) with addresses shown only as a class.

Argument
node Node name; omit for every node

Findings: no_peers, few_peers, no_outbound_peers, not_listening, validator_public_peers (a validator meant to sit behind sentries has public peers), peers_on_other_chain.

Signed / nil-vote / missed / not-in-set over the last N canonical blocks, consecutive misses at the head, last signed height, voting power, rank and share of the set, average block time. Blocks the node could not serve are counted as unreadable and make the result unknown. With cosmos.rest: jailed / tombstoned / bonding status, the chain's missed-block counter, max_missed, misses_until_jail, and time_to_jail when the validator is not signing right now. A validator outside the bonded set gets no jail margin, and on a chain without x/slashing (an ICS consumer) it is judged on liveness alone.

Argument
node Validator name; optional when only one validator is configured
window Blocks to scan, 10–500 (default 100)

Findings: not_signing, missed_blocks, left_active_set, not_in_active_set, partial_data, no_data; with Cosmos: jail_risk, jail_imminent, time_to_jail, jailed, tombstoned, not_bonded, jail_after_grace, no_signing_info, no_slashing_module, staking_unavailable (status and moniker missing; the CometBFT set decides the margin), cosmos_unavailable.

The live round as one node sees it: height, round, step, time at this height, each validator's prevote and precommit in the current round (block / nil / missing), and whether more than 2/3 of voting power is voting. Validators are labeled by config name or staking moniker.

Argument
node Node to read from; default a synced sentry or full node

Findings: no_quorum (names who is not voting — at the prevotes, or at the precommits when a validator went down after prevoting), stuck_with_quorum, many_rounds, vote_set_mismatch. On a stalled height a new round starts every few seconds with no votes yet; then the previous round's votes are judged, and votes_round says which round they are from.

The x/upgrade plan (name, height, blocks remaining, ETA), software-upgrade proposals in their voting period, and each node's app and CometBFT version. Registered only when cosmos.rest is configured (or when the server has no config yet, so directories list every tool). It cannot see whether the new binary is staged on each host, and says so.

No arguments.

Findings: upgrade_soon, upgrade_height_reached, upgrade_halt, version_skew, plan_unavailable, proposals_unavailable, no_gov_v1 (no governance module, as on authority-run chains: only the plan is checked).

Prompts: daily_check (sweep, drill into what is flagged, report as an operator briefing) and incident_triage (arguments node, optional symptom: evidence-first diagnosis ending with what to check on the host).

Security model

Validator operators should not have to trust an LLM with their infrastructure, so this server is built so that it cannot do damage, rather than promising it won't:

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.wookja-0/cometbft-mcp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229