mcp
v0.9.2Cloak's MCP server: let an AI agent launch tokens with sealed bids and trade them privately on Elysium, with spending limits, testnet by default and a local…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
cloak_info Cloak setup and limits
Network, contract addresses, the configured wallet and its public balances, dry-run mode, and spending limits with what's left today.
list_launches List launches
Cloak launches, newest first, with phase, timing, prices and whether private trading is on.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many (default 10) |
phase | string | Only launches in this phase |
get_launch Launch details
Everything about one launch: phase, timing, prices, caps, results once settled, revealed demand once bids open, and whether private trading is on.
| Parameter | Type | Description |
|---|---|---|
auction * | string | 0x address |
quote_bid Quote a sealed bid
What a bid would cost: the price tick it lands on, its cost, and the rounded deposit that hides its size (the unused part is refunded).
| Parameter | Type | Description |
|---|---|---|
auction * | string | 0x address |
max_price * | string | Highest price you'd pay, in HYPE per token, in whole units (e.g. "0.5") |
quantity * | string | Tokens wanted, in whole units (e.g. "0.5") |
quote_swap Quote a private swap
Expected output of a private buy (HYPE in) or sell (tokens in), after the vault's withdrawal fee, plus the relayer's fee.
| Parameter | Type | Description |
|---|---|---|
amount * | string | HYPE to spend (buy) or tokens to sell (sell), in whole units (e.g. "0.5") |
side * | string | |
token * | string | Launch token symbol or address |
vault_stats Private vault totals
How much sits in each private vault (HYPE, USDC and every launch token). Totals are public; who owns what isn't.
list_drops List NFT drops
Sealed NFT drops and WL spot sales, newest first, with phase, floor, WL boost and results.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many (default 10) |
live_only | boolean | Only drops still minting or taking bids |
get_drop Drop details
One NFT drop, WL spot sale or auction of existing NFTs: phase, timing, floor, WL boost, results once settled, whether a wallet is on its GTD list or WL, and for a spot sale the whitelist so far.
| Parameter | Type | Description |
|---|---|---|
drop * | string | 0x address |
wallet | string | A wallet to check against the drop's GTD list and WL |
create_launch Create a sealed-bid launch
Start a token launch: a sealed-bid auction that ends in one clearing price, with liquidity seeded at that price. Counts against the daily launch limit.
| Parameter | Type | Description |
|---|---|---|
min_price * | string | Lowest price, in HYPE per token, in whole units (e.g. "0.5") |
name * | string | |
sale_supply * | string | Tokens sold in the auction, in whole units (e.g. "0.5") |
symbol * | string | |
bidding_minutes | number | How long bidding stays open (default 60) |
creator_fees | boolean | Lock the LP forever and pay the pool's 0.3% trading fees to the creator (default true; false burns the LP) |
creator_share | string | Tokens for the creator, at most 20% of supply, vesting linearly, in whole units (e.g. "0.5") |
dry_run | boolean | Return what would happen without signing or sending anything. |
lp_lock_days | number | Lock the LP for this many days, after which the creator can take it (overrides creator_fees) |
lp_percent | number | Share of the raise that seeds the pool (default 50) |
lp_tokens | string | Tokens paired with that HYPE (default: same as sale_supply), in whole units (e.g. "0.5") |
metadata_uri | string | |
price_ticks | integer | Number of price ticks (default 100) |
reveal_minutes | number | Time for bids to open after bidding closes (default 10) |
tick_size | string | Price step between ticks, in HYPE, in whole units (e.g. "0.5") |
vest_days | number | Vesting length for the creator share (default 90) |
place_sealed_bid Place a sealed bid
Commit a sealed bid: only a hash and a timelocked ciphertext go on chain, so nobody (other bidders, bots, the sequencer) sees price or size until bidding closes. It opens by itself afterwards. Spends the rounded deposit from the wallet; the unused part is refunded at settlement.
| Parameter | Type | Description |
|---|---|---|
auction * | string | 0x address |
max_price * | string | Highest price you'd pay, in HYPE per token, in whole units (e.g. "0.5") |
quantity * | string | Tokens wanted, in whole units (e.g. "0.5") |
dry_run | boolean | Return what would happen without signing or sending anything. |
my_bids My bids
The wallet's bids on a launch: deposit, whether each has opened, and once settled the tokens won, refund and any penalty.
| Parameter | Type | Description |
|---|---|---|
auction * | string | 0x address |
claim Claim tokens and refunds
After bids open, settle the launch if nobody has yet, then claim the wallet's tokens and refunds. Won tokens go straight into the private balance (privately: true, the default) when the launch supports it, so later trades can't be linked to the bid; refunds go to the wallet. Cloak's keeper pushes unclaimed bids to wallets publicly about an hour after bidding closes.
| Parameter | Type | Description |
|---|---|---|
auction * | string | 0x address |
dry_run | boolean | Return what would happen without signing or sending anything. |
privately | boolean | Claim won tokens into the private balance (default true where supported) |
enable_private_trading Enable private trading
Open a private vault for a settled launch's token so it can be traded from private balances. Anyone can do this once per token; it costs only gas.
| Parameter | Type | Description |
|---|---|---|
auction * | string | 0x address |
dry_run | boolean | Return what would happen without signing or sending anything. |
unlock Unlock the private account
Derive the private account from one local signature (no transaction, nothing sent anywhere) and return its cloak: address, which others use to pay it privately.
private_balance Private balances
Balances only this account can see: HYPE, USDC and every launch token held privately.
| Parameter | Type | Description |
|---|---|---|
include_zero | boolean |
shield Shield into a private balance
Deposit HYPE, USDC or a new launch token (one in the shared launch-token vault) from the wallet into the private balance. This is the one public step: it lands on a one-time key, so it can't be linked to what comes next.
| Parameter | Type | Description |
|---|---|---|
amount * | string | Amount, in whole units (e.g. "0.5") |
asset * | string | "HYPE", "USDC" or a launch token in the shared vault |
dry_run | boolean | Return what would happen without signing or sending anything. |
private_swap Private swap
Buy a launch token with private HYPE, or sell it for private HYPE. Proven on this machine and sent by a relayer, so the wallet never appears on the trade. The output lands back in the private balance.
| Parameter | Type | Description |
|---|---|---|
amount * | string | HYPE to spend (buy) or tokens to sell (sell); "max" for the whole balance, in whole units (e.g. "0.5") |
side * | string | |
token * | string | Launch token symbol or address |
dry_run | boolean | Return what would happen without signing or sending anything. |
slippage_bps | integer | Max slippage in basis points (default 100 = 1%) |
batch_order Batch order (hides size)
Trade in the next batch round: the amount is split into standard sizes everyone uses, buys and sells cross at the round's average price, and only the net hits the pool. Observers can't tell how much any one trader moved. Fills when the round settles (about 30 s on testnet). A round only settles if its net trade moves the pool less than 5%, so keep orders small next to the pool; a round that can't settle is refunded after a delay.
| Parameter | Type | Description |
|---|---|---|
amount * | string | HYPE to spend (buy) or tokens to sell (sell), in whole units (e.g. "0.5") |
side * | string | |
token * | string | Launch token symbol or address |
dry_run | boolean | Return what would happen without signing or sending anything. |
private_send Send privately
Pay someone's cloak: address from the private balance. The chain sees that a private transaction happened, but not who sent it, who got it or how much. For tokens in the shared launch-token vault it can't even tell which token (the relayer is paid from private HYPE, so keep a little private HYPE).
| Parameter | Type | Description |
|---|---|---|
amount * | string | Amount, or "max", in whole units (e.g. "0.5") |
asset * | string | "HYPE", "USDC" or a launch token |
to * | string | Recipient cloak: address |
dry_run | boolean | Return what would happen without signing or sending anything. |
withdraw Withdraw to an address
Move funds from the private balance to a normal 0x address or .ely name (public on purpose). A brand-new address keeps the most privacy. Cloak keeps 0.25%, and the relayer takes a small fee for gas.
| Parameter | Type | Description |
|---|---|---|
amount * | string | Amount, or "max", in whole units (e.g. "0.5") |
asset * | string | "HYPE", "USDC" or a launch token |
to * | string | 0x address or a .ely name (looked up when sending) |
dry_run | boolean | Return what would happen without signing or sending anything. |
create_payment_link Send money as a link
Put HYPE or USDC from the private balance into a link anyone can claim: into their private balance, or straight to any wallet with no gas (the relayer takes its fee from the link). Optional: a message, a passcode (with a riddle shown to whoever opens it), or several equal shares that different people each claim (a red envelope). Treat the link like cash and keep it: it is the only way to the money, and take_back works with it until someone claims.
| Parameter | Type | Description |
|---|---|---|
amount * | string | Total the link holds (split evenly across shares), in whole units (e.g. "0.5") |
asset * | string | |
cover_claim_fee | boolean | Add the relayer's claim fee so they get the full amount (default true) |
dry_run | boolean | Return what would happen without signing or sending anything. |
from | string | A name to show as the sender |
hint | string | A riddle or hint shown on the claim page, whose answer is the passcode |
message | string | A message shown to whoever opens it |
passcode | string | Lock it: the link alone then opens nothing |
shares | integer | Split into this many equal shares (default 1) |
check_payment_link Check a payment link
What a claim link still holds (and how many shares are left), without claiming it.
| Parameter | Type | Description |
|---|---|---|
link * | string | The claim link (https://…/claim#…) |
passcode | string |
claim_payment_link Claim a payment link
Claim the money in a claim link: into this account's private balance (default), or out to any 0x address. Also how a sender takes back a link nobody claimed. The relayer submits it and takes its fee from the link, so no gas is needed. On a link split into shares, it claims one share.
| Parameter | Type | Description |
|---|---|---|
link * | string | The claim link |
dry_run | boolean | Return what would happen without signing or sending anything. |
passcode | string | |
to | string | "private" (default), a 0x address or a .ely name |
request_payment_link Request a payment with a link
A link that asks to be paid HYPE or USDC, with an optional amount (leave it out for a tip jar), note and name. By default it pays this account's cloak: address privately; pass a 0x address to be paid there instead. Nothing goes on chain until someone pays.
| Parameter | Type | Description |
|---|---|---|
asset * | string | |
amount | string | Amount in whole units, e.g. "25" |
name | string | |
note | string | |
to | string | A 0x address or cloak: address to be paid at (default: this account's cloak: address) |
pay_payment_request Pay a request link
Pay a request link (https://…/pay#to=…) from the private balance: a private transfer to a cloak: address, or a withdrawal to a 0x address that covers Cloak's fee so the payee gets the exact amount.
| Parameter | Type | Description |
|---|---|---|
link * | string | The request link |
amount | string | Needed when the request leaves the amount to the payer |
dry_run | boolean | Return what would happen without signing or sending anything. |
place_drop_bid Bid on an NFT drop
Seal a bid on an NFT drop or WL spot sale: up to max_price HYPE each for quantity NFTs (or spots). Nobody can read it until bidding closes; it opens by itself afterwards. A wallet on the drop's WL bids with its boost automatically. Spends the deposit from the wallet; whatever isn't paid at the clearing price comes back.
| Parameter | Type | Description |
|---|---|---|
drop * | string | 0x address |
max_price * | string | Most you'd pay for each, in HYPE (at least the floor), in whole units (e.g. "0.5") |
dry_run | boolean | Return what would happen without signing or sending anything. |
quantity | integer | How many (default 1) |
my_drop_bids My drop bids
This wallet's bids on a drop: sealed or opened, and once settled what each won, paid and gets back.
| Parameter | Type | Description |
|---|---|---|
drop * | string | 0x address |
claim_drop Claim from a drop
Once a drop settles, take this wallet's NFTs and refunds now instead of waiting for the keeper (which delivers about an hour after settling). to sends the NFTs to another wallet, a fresh one say; refunds always come back to the bidding wallet.
| Parameter | Type | Description |
|---|---|---|
drop * | string | 0x address |
dry_run | boolean | Return what would happen without signing or sending anything. |
to | string | Where the NFTs go (default: this wallet) |
set_whitelist_wallets Name wallets for WL spots
In a WL spot sale this wallet won, name the Elysium wallets to whitelist, one per spot won (a fresh wallet is fine). Calling again replaces them, until the sale's deadline.
| Parameter | Type | Description |
|---|---|---|
drop * | string | 0x address |
wallets * | array | One 0x wallet per spot won, in order |
dry_run | boolean | Return what would happen without signing or sending anything. |