mcp

v0.9.2
@cloakely/mcp Checked 1 day ago Published 24 days ago

Cloak'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.

ParameterTypeDescription
limitintegerHow many (default 10)
phasestringOnly 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.

ParameterTypeDescription
auction *string0x 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).

ParameterTypeDescription
auction *string0x address
max_price *stringHighest price you'd pay, in HYPE per token, in whole units (e.g. "0.5")
quantity *stringTokens 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.

ParameterTypeDescription
amount *stringHYPE to spend (buy) or tokens to sell (sell), in whole units (e.g. "0.5")
side *string
token *stringLaunch 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.

ParameterTypeDescription
limitintegerHow many (default 10)
live_onlybooleanOnly 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.

ParameterTypeDescription
drop *string0x address
walletstringA 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.

ParameterTypeDescription
min_price *stringLowest price, in HYPE per token, in whole units (e.g. "0.5")
name *string
sale_supply *stringTokens sold in the auction, in whole units (e.g. "0.5")
symbol *string
bidding_minutesnumberHow long bidding stays open (default 60)
creator_feesbooleanLock the LP forever and pay the pool's 0.3% trading fees to the creator (default true; false burns the LP)
creator_sharestringTokens for the creator, at most 20% of supply, vesting linearly, in whole units (e.g. "0.5")
dry_runbooleanReturn what would happen without signing or sending anything.
lp_lock_daysnumberLock the LP for this many days, after which the creator can take it (overrides creator_fees)
lp_percentnumberShare of the raise that seeds the pool (default 50)
lp_tokensstringTokens paired with that HYPE (default: same as sale_supply), in whole units (e.g. "0.5")
metadata_uristring
price_ticksintegerNumber of price ticks (default 100)
reveal_minutesnumberTime for bids to open after bidding closes (default 10)
tick_sizestringPrice step between ticks, in HYPE, in whole units (e.g. "0.5")
vest_daysnumberVesting 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.

ParameterTypeDescription
auction *string0x address
max_price *stringHighest price you'd pay, in HYPE per token, in whole units (e.g. "0.5")
quantity *stringTokens wanted, in whole units (e.g. "0.5")
dry_runbooleanReturn 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.

ParameterTypeDescription
auction *string0x 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.

ParameterTypeDescription
auction *string0x address
dry_runbooleanReturn what would happen without signing or sending anything.
privatelybooleanClaim 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.

ParameterTypeDescription
auction *string0x address
dry_runbooleanReturn 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.

ParameterTypeDescription
include_zeroboolean

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.

ParameterTypeDescription
amount *stringAmount, in whole units (e.g. "0.5")
asset *string"HYPE", "USDC" or a launch token in the shared vault
dry_runbooleanReturn 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.

ParameterTypeDescription
amount *stringHYPE to spend (buy) or tokens to sell (sell); "max" for the whole balance, in whole units (e.g. "0.5")
side *string
token *stringLaunch token symbol or address
dry_runbooleanReturn what would happen without signing or sending anything.
slippage_bpsintegerMax 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.

ParameterTypeDescription
amount *stringHYPE to spend (buy) or tokens to sell (sell), in whole units (e.g. "0.5")
side *string
token *stringLaunch token symbol or address
dry_runbooleanReturn 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).

ParameterTypeDescription
amount *stringAmount, or "max", in whole units (e.g. "0.5")
asset *string"HYPE", "USDC" or a launch token
to *stringRecipient cloak: address
dry_runbooleanReturn 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.

ParameterTypeDescription
amount *stringAmount, or "max", in whole units (e.g. "0.5")
asset *string"HYPE", "USDC" or a launch token
to *string0x address or a .ely name (looked up when sending)
dry_runbooleanReturn what would happen without signing or sending anything.

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.

ParameterTypeDescription
link *stringThe request link
amountstringNeeded when the request leaves the amount to the payer
dry_runbooleanReturn 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.

ParameterTypeDescription
drop *string0x address
max_price *stringMost you'd pay for each, in HYPE (at least the floor), in whole units (e.g. "0.5")
dry_runbooleanReturn what would happen without signing or sending anything.
quantityintegerHow 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.

ParameterTypeDescription
drop *string0x 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.

ParameterTypeDescription
drop *string0x address
dry_runbooleanReturn what would happen without signing or sending anything.
tostringWhere 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.

ParameterTypeDescription
drop *string0x address
wallets *arrayOne 0x wallet per spot won, in order
dry_runbooleanReturn what would happen without signing or sending anything.