Redeal

dev.redealPublished by redeal.devOfficial publisherv0.7.0Updated Oct 28, 2026

Neutral fairness computation for agents: fair division, verifiable random, Shapley shares.

VerifiedStreamable HTTPWeb executableFinanceAI & ML

Overview

AI-generated overview

Redeal runs neutral, verifiable fairness computations for agents: fair division, random selection, Shapley shares and sealed-bid auctions, with signed…

What you can do
  • Create deals and invite counterparties with per-party tokens, then read public deal state and deadlines
  • Commit sealed inputs as hashes, reveal them later, and validate inputs against the algorithm contract before committing
  • Run algorithms: split.v1 fair division, random.v1 verifiable random selection, shapley.v1 shares and auction.v1 sealed-bid second-price auctions
  • Finish random deals using a pre-declared public drand beacon round and compute the draw
  • Fetch signed fairness certificates and verify their signature and transparency-log inclusion
  • Compute commitment strings locally and obtain a free API key
When to use it
Use it when several agents or people need a mutually trusted, auditable result — splitting a budget, drawing a random winner, allocating Shapley shares or running a sealed-bid auction — without trusting a single party or the server itself.
Requirements
Remote streamable HTTP endpoint at api.redeal.dev; no local package. A free API key from create_key (no signup or email), passed as api_key in create_deal. Invite tokens must be distributed to each counterparty. Network access to the service and the public drand beacon.
Before you install
The API key is shown only once and must be stored; anyone holding a deal's invite token can act as that party. Commitments bind exact input bytes, so an invalid input cannot be corrected and the deal can go VOID at the reveal deadline. Deal inputs are revealed to the service at reveal time, and public certificates expose the outcome.

Installation

In SourceWeft

  1. Open Redeal in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/dev.redeal%2Fredeal/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "redeal": {
      "type": "http",
      "url": "https://api.redeal.dev/mcp"
    }
  }
}

README

This repository has no README.

Tools

12

commit_input

Commit your sealed input as a hash (sealed mode). Nobody — including redeal — can see your input until all parties have committed. After the last commitment the deal opens for reveals immediately.

Parametersdeal_idrequiredcommitmentrequiredinvite_tokenrequiredidempotency_key

compute_commitment_tool

Compute a commitment string for (input, salt): sha256(JCS(input) ++ salt_bytes), prefixed 'sha256:'. Convenience only — the rule is public and you can compute it yourself.

Parameterssaltrequiredinputrequired

create_deal

Create a fairness deal. You are party 0 (initiator). Returns a deal id and one invite token per party — give each counterparty their own token. Sealed mode: everyone commits a hash, then reveals; certificate is issued automatically when the deal computes or goes VOID.

Parametersmodeapi_keyrequiredalgorithmrequiredretentionsupersedesterms_hashvisibilityexternal_refparty_labelsrequiredcommit_deadlinerequiredidempotency_keyreveal_deadlinerequired+1 more

create_key

Get a free redeal API key. No signup, no email — this is the entire onboarding. The key is shown once; store it. Use it as api_key in create_deal.

Takes no parameters.

get_certificate

Fetch the signed fairness certificate for a finished deal (state CERTIFIED). Includes the labelled signature (es256 or ed25519) and transparency-log inclusion proof. Verify it with verify_certificate.

Parametersdeal_idrequiredcredentialrequired

get_deal

Read a deal's public state: protocol state (OPEN/COMMITTING/REVEALING/CERTIFIED/VOID/EXPIRED), who has committed/revealed, deadlines, result, and certificate_id once issued. Inputs of other parties are never exposed.

Parametersdeal_idrequiredcredentialrequired

get_entropy

Finish a random.v1 deal once every party has revealed: redeal fetches the deal's pre-declared drand round from the public League of Entropy beacon (fixed at creation, publicly cross-checkable), computes the draw, and issues the certificate. Call this after the last reveal_input; the deal rests in REVEALING until you do. Idempotent — safe to retry.

Parametersdeal_idrequiredcredentialrequired

get_public_certificate

Fetch a certificate's full JSON (outcome included) by id. Works for public deals (the default). Parties-only deals and unknown ids both return NOT_FOUND. To re-verify the computation itself, use verify_certificate (checks) or the CLI re-runner with the parties' inputs.

Parameterscert_idrequired

list_algorithms

List redeal's algorithms (split.v1 fixed-budget fair division, random.v1 verifiable random selection, shapley.v1 Shapley shares, auction.v1 sealed-bid second-price auctions) with their input contracts and the published test vectors (served inline — the same fixtures the engine test suite runs). Read this before creating a deal.

Takes no parameters.

reveal_input

Reveal your committed input. It must hash to your earlier commitment. When the last party reveals, the deal computes and the fairness certificate is issued automatically — fetch it with get_certificate.

Parameterssaltinputrequireddeal_idrequiredinvite_tokenrequiredidempotency_key

validate_input

Validate your algorithm input against the deal's contract BEFORE you commit. A commitment binds the exact input bytes — a contract-violating input (e.g. split.v1 valuations not summing to exactly 1000) can never be corrected afterwards and the deal will VOID at the reveal deadline. Always validate first, then compute_commitment_tool, then commit_input. Read-only: nothing is stored or changed.

Parametersinputrequireddeal_idrequiredinvite_tokenrequired

verify_certificate

Verify a redeal certificate by id: signature check (current or published legacy key) + transparency-log inclusion check, reported per check. Free, no credential required, always.

Parameterscert_idrequired

Version history

1
  1. v0.7.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • License10 pts

    Declare a license in the repository or the registry entry.