# io.github.terradev-cloud/entropy

> Cryptographically sound randomness for agents, with verifiable commit-reveal.

- name: io.github.terradev-cloud/entropy
- version: 0.1.1
- connection class: R0 (autonomous)
- trust: 94/100
- quality: 79/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.terradev-cloud%2Fentropy
- tools: https://api.protogrid.dev/v1/servers/io.github.terradev-cloud%2Fentropy/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "entropy": {
      "type": "http",
      "url": "https://entropy-mcp.terradev.cloud/mcp"
    }
  }
}
```


## Trust

- hygiene: 100
- liveness: 100
- freshness: 100
- provenance: 80
- drivers: +repository +namespace-matches-repo +reachable +uptime-100% +updated-23d-ago
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 79/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 71 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- fail `tools.annotations`: no tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: random (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); commitment (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); test (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …
- pass `tools.token_cost`: about 903 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: 100 (weight 15)

- pass `stability.changes`: no tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 4, about 903 tokens to load them all
- tool set hash: c4bce8172e309c08ba231ac8dde00832
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.terradev-cloud/entropy.svg)](https://protogrid.dev/servers/io.github.terradev-cloud/entropy)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

_No tool definition changes recorded._

## Remotes

- https://entropy-mcp.terradev.cloud/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

_none_

## Tools (4)

- `commitment`: Verifiable commit-reveal. operation selects the step:
  commit -- hash a seed, bind it to draw_spec {operation, params}, attest via Stamp. The seed is returned to the caller and never stored.
  reveal -- verify a seed against commitment_id, re-execute the draw deterministically, attest the outcome.
draw   -- commit + execute + reveal in one call. Pass draw_spec, or operation + params directly.
verify -- pure third-party verification of commitment_record + reveal_record. No local state.
list   -- read-only view of the local commitment log (limit, since).
- `explore`: Bandit arm selection: epsilon_greedy, thompson, or ucb1. Stateless -- caller passes state in as {arm: {pulls, successes, total_reward}} and gets a selection back. params: {epsilon} for epsilon_greedy.
- `random`: Direct randomness. operation selects the primitive:
  bytes       -- raw CSPRNG bytes. params: {count<=4096, encoding: hex|base64}
  int         -- unbiased integers in [min,max] via rejection sampling. params: {min, max, count<=10000}
  shuffle     -- Fisher-Yates; permutation[i] is the original index now at position i. params: {items, return_permutation}
  choose      -- k items, weighted or not, with/without replacement. params: {items, k, weights, replacement}
  sample      -- named distributions: uniform, normal, lognormal, exponential, triangular, beta. params: {distribution, params, n<=10000}
  constrained -- records with independently sampled attributes + chi-squared conformance proof. params: {attributes: {attr: {value: prop}}, n}
seed (top level) makes any operation reproducible.
- `test`: Statistical battery over a sequence: frequency, chi-squared, runs, longest run, serial correlation, Shannon entropy, KS, gap test. Informed by NIST SP 800-22; no certification claimed. sequence is a list of numbers, list of strings, or a hex/base64 byte string.
