twofold-mcp

v1.2.0
twofold-mcp Checked 2 days ago Published 2 months ago

MCP server for Twofold, the dual-yield liquidity protocol on Robinhood Chain: pools, swaps, staking, with its own sandboxed wallet and ASCII dashboards.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

wallet_info

The MCP wallet: address, ETH and token balances. This wallet belongs to the MCP server alone; fund it before trading.

wallet_send

Send ETH or an ERC20 from the MCP wallet. amount is human units.

ParameterTypeDescription
amount *stringhuman amount, e.g. '1.5'
asset *string'ETH', a token symbol, or an ERC20 address
to *stringrecipient address

pools_list

Every Twofold pool on the Registry with its reserves, drawn as a USDG-depth bar chart, plus the MCP wallet's share balance.

pool_position

The MCP wallet's position in one pool: shares and what burning them returns right now.

ParameterTypeDescription
pool *stringtoken symbol of the pool, e.g. 'SPY'

pool_deposit

Two-sided deposit into a pool from the MCP wallet. Sizes shares from the amounts, approves the hook, and caps slippage.

ParameterTypeDescription
pool *stringtoken symbol, e.g. 'SPY'
token_amount *stringmax token-side amount, human units
usdg_amount *stringmax USDG-side amount, human units
slippage_bpsinteger

pool_withdraw

Burn pool shares from the MCP wallet and take both legs back, slippage-capped.

ParameterTypeDescription
pool *string
shares *stringshares to burn, human units, or 'all'
slippage_bpsinteger
stackstring'first' burns shares held on the 2026-08 hook (withdraw-only)

quote

Price a swap without sending anything. venue 'twofold' (default) uses our hook pools vs USDG; 'reference' probes the chain's hookless pools and covers any pair (e.g. TWO/WETH).

ParameterTypeDescription
amount *string
buy *string
sell *stringtoken symbol or 'USDG'
venuestring

swap

Swap from the MCP wallet: quotes first, executes with a real minimum-out. venue 'twofold' (default) uses our hook pools vs USDG; 'reference' uses the chain's hookless pools and covers any pair (e.g. TWO/WETH).

ParameterTypeDescription
amount *stringamount of the sell token, human units
buy *string
sell *string
slippage_bpsinteger
venuestring

staking_info

The TWO staking vault: the MCP wallet's stake, pending unstake, claimable rewards, and vault totals.

stake

Stake TWO from the MCP wallet into the streaming vault.

ParameterTypeDescription
amount *stringTWO to stake, human units

start_unstake

Begin unstaking TWO (starts the vault cooldown; claim with claim_unstaked after it passes).

ParameterTypeDescription
amount *string

claim_unstaked

Claim TWO whose unstake cooldown has passed.

claim_rewards

Claim all streaming rewards the MCP wallet has earned in the vault.

usdg_staking_info

The USDG staking vault (stake TWO, earn USDG): the MCP wallet's stake, USDG earned, pending exit, and the vault's fill, cap and daily USDG rate.

usdg_stake

Stake TWO from the MCP wallet into the USDG staking vault (7-day exit cooldown, USDG rewards claimable any time).

ParameterTypeDescription
amount *stringTWO to stake, human units

usdg_start_unstake

Begin unstaking TWO from the USDG vault. Queued TWO stops earning; a second call adds to the queue and restarts the 7 days for all of it.

ParameterTypeDescription
amount *string

usdg_claim_unstaked

Withdraw TWO from the USDG vault whose 7-day cooldown has passed.

usdg_claim

Claim all USDG the MCP wallet has earned in the USDG staking vault.

rewards_stream

The vault's live reward streams: emission rate per day, time left, and what remains to be distributed.

market_activity

Where the volume is: 24h trading volume per reference pair on the chain (from the twofold.fi feed), plus the latest vault deposits and withdrawals.

platform_stats

Twofold platform dashboard: USDG vault TVLs as a bar chart, the staking APY, and a TVL sparkline over recent days.