Skip to main content
Glama
experimental-cardano-pool

experimental-cardano-pool

by BEACNLabs

Experimental Cardano Pool MCP

Unmaintained — September 2026. BEACN's own pool retired at epoch 656, so this starter will not receive updates. It stays public as a reference; read the safety notes below before adapting any of it. BEACN archive

v0.1.0-experimental — reference implementation, not a turnkey mainnet product.

An MCP server for inspecting the design of guarded pool maintenance and adapting it to your own infrastructure. Built from work on a private BEACN deployment. This distribution contains no private deployment configuration or Git history.

The default is a local simulation in SAFE mode. It does not contact Cardano, read real signing keys, use SSH, or control system services. Every successful simulation response is labeled. Its health values are synthetic.

The included Linux/SSH adapters can affect a live block producer only after separate operator integration. Bugs, wrong configuration or failed recovery can interrupt block production. No independent security audit or production acceptance is claimed for this public version. Validate an isolated testnet deployment before considering mainnet.

Start here, SPOs

Download the experimental starter, unzip it, and open the extracted folder in a terminal. Follow the quickstart below to try the local simulation first. Fork the repository to adapt it. Do not point an AI at your production node and ask it to install this blindly.

For a deeper review: three-mode simulation, architecture and safeguards, production integration requirements, and what the tests establish.

Related MCP server: dsh-sim

Try it locally

Linux with Python 3.12 or newer. Use an ordinary user, not sudo.

python3 -m venv .venv
.venv/bin/python -m pip install -r requirements.lock
.venv/bin/python -m pip install --no-deps .
.venv/bin/python scripts/smoke_mcp.py

The smoke test uses the actual MCP SDK/stdio transport. It reads simulated health, creates an inert plan and verifies that SAFE mode refuses execution. It neither enables maintenance nor connects to a real node.

Register the following with an MCP client, replacing only the executable path:

{
  "mcpServers": {
    "experimental-cardano-pool": {
      "command": "/absolute/path/to/checkout/.venv/bin/cardano-pool-mcp",
      "args": []
    }
  }
}

No API token is required for this local MCP. The client may have its own model provider/account requirements. The default demo is temporary and resets when the server exits. Persistent simulation and mode exercises demonstrate assisted approval, experimental execution and failure recovery.

Three modes

Mode

Authority

SAFE (default)

Observation and inert plan/audit writes; no node maintenance.

ASSISTED

A separate operator approves an exact, expiring plan digest.

EXPERIMENTAL

Explicit opt-in, accepted backend/release, allowed periods and an expiring grant. Disabled by default; maximum 90 days.

Neither approvals nor mode changes are MCP tools. In production they must be controlled by an independent operator identity. The demo uses your local user for both sides to make experimentation convenient; it does not prove OS privilege isolation. An agent with that user's shell access can change demo policy. An administrator can also bypass a production MCP using separate access.

Six tools

Tool

Effect

pool_status

Read health, authority, KES coverage and transaction state.

pool_checks

Read backend diagnostics; demo results are explicitly synthetic.

pool_audit

Read a hash-chain-verified operational event log.

rotation_plan

Write an inert plan for a pre-signed KES period.

rotation_status

Read the outcome for the same transaction ID.

rotation_execute

Execute only an authorized plan; SAFE refuses it.

No shell tool, arbitrary file reader, cold-key path, approval flag or mode setter is accepted in an MCP request. Strict schemas and runtime validation reject unexpected fields, invalid types, duplicate JSON keys and oversized frames.

Rotation and signing boundary

The engine records intent, stages a verified pair, rechecks authority, stops the services, atomically switches the credential generation, restarts, checks health and commits. Failure attempts a checked rollback. Unsafe recovery ends in RECOVERY_REQUIRED with startup inhibited. See architecture.

Fresh cold-key signing is not implemented. The signer interface returns SIGNER_REQUIRED; a finite pre-signed inventory is the only autonomous source. Do not copy someone else's KES ladder, counter, genesis anchors or acceptance record. This adapter supports a conservative same-counter ladder whose counter matches the observed chain state. Unknown counters and fresh issuance require a separate operator review. Integration limits.

What's included

  • Runnable stdio MCP simulation, three modes and operator-only demo controls.

  • Durable transaction engine, atomic generation logic, approval and audit code.

  • Signature verification and a signer abstraction that refuses fresh signing.

  • Linux/SSH/broker/launcher/monitor reference adapters and invalid-by-default example configuration; no production installer.

  • Synthetic tests for input rejection, approval tampering, commit/rollback, process death, storage failure, startup guards and protocol boundaries.

  • MIT license and security reporting guidance.

The private deployment's dashboard, personal host automation, VM power helpers, real certificates, logs, operational receipts and credentials are excluded. pool_status and pool_checks provide the monitoring interface for an optional dashboard. No public website, HTTP listener or automatic cron is installed.

.venv/bin/python -m pytest -q
.venv/bin/python scripts/release_check.py

See validation for what was actually tested. Passing tests does not establish safety for another operator's production setup.

Available Tools

6 tools
pool_auditA
Read-onlyIdempotent

Read integrity-checked sanitized audit events.

Inputs: no named parameters.

pool_checksA
Read-onlyIdempotent

Read-only readiness checks: binary pins, public certificate signature, clock, storage, relay and standby witnesses. Never rotates, starts the vault or signs.

Inputs: no named parameters.

pool_statusA
Read-onlyIdempotent

Read BP health, versions, KES, policy and ladder coverage. Never starts a vault.

Inputs: no named parameters.

rotation_executeA
DestructiveIdempotent

May restart the live BP and Mithril. Disabled in SAFE. Requires independent human approval or explicitly enabled EXPERIMENTAL AUTONOMOUS policy. Never signs with a cold key.

Inputs: id (required).

rotation_planA

Persist an inert rotation plan. No key access, signing or node changes.

Inputs: period (required).

rotation_statusA
Read-onlyIdempotent

Read transaction outcome. Use after any timeout; never assume no change.

Inputs: id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 6 tools

    Disambiguation4/5

    pool_status, pool_checks, and pool_audit are all read-only but distinguish themselves by focus: live health/versions, readiness gates, and sanitized audit events. The rotation_plan/rotation_status/rotation_execute tools form a clear lifecycle, so an agent can generally select the right tool without confusion.

    Naming Consistency4/5

    Tool names consistently use a domain_suffix snake_case pattern, split into pool_ and rotation_ families. The main deviation is rotation_execute being verb-last while the other suffixes are noun-like, but the overall pattern is predictable.

    Tool Count5/5

    Six tools is a well-scoped set for a specialized Cardano pool operations server. Each tool covers a distinct operational need without redundancy.

    Completeness4/5

    The read side covers status, checks, and audit events, while the rotation side covers plan, execute, and status. Minor gaps exist, such as no explicit cancel/abort or plan inspection, but the core operational workflow is covered.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Agent-safe management of independent Solana validators and RPC nodes over MCP and CLI: Solana-aware status, in-place upgrades, and DNS failover. Every change is dry-run by default, policy-gated, and audited, and it never touches keypairs.
      15
      Apache 2.0
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables CAE simulation agents to manage tasks and runs through 12 restricted MCP tools, governed by a five-dimension state machine with human-only approval gates, evidence hashing, and executor/reviewer monitoring panels.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables users to run a simulated Alexa+ conversation that checks incident status, plans missing evidence, prepares and confirms bounded AWS recovery repairs, applies approved fixes, and reports verified signed evidence. It also provides read-only proof-frontier and acquisition-planning tools while enforcing confirmation and verification gates.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI assistants to inspect assets and alarms and to create, assign, and transition work orders through a role-checked life cycle with an audit trail. Runs locally over MCP stdio against seeded fictional plant data, with optional read-only and persistent-database modes.
      10
      MIT