Skip to main content
Glama

What it does

Fourteen tools over stdio. Each reply renders as terminal output, so you can read the state your agent acted on at a glance:

│ TWO/USDG   │    $205.46 │ ████████████████████████ │ 325,505.92 TWO │
│ USDe/USDG  │    $150.00 │ ██████████████████░░░░░░ │    149.53 USDe │

TVL, last 30h:  ▁▂▂▂▂▂▂▁▂▁▂▂▂▂▃▄▅▁▃▇▇▇▇▇▇█████

tool

what it does

wallet_info

the server's own wallet: address and balances

wallet_send

send ETH or any ERC-20 from that wallet

pools_list

every Twofold pool, reserves drawn as a depth chart

pool_position

your shares in a pool and what burning them returns

pool_deposit

two-sided deposit, sized on-chain, slippage-capped

pool_withdraw

burn shares, take both legs back

quote

price a swap without sending anything

swap

swap through a Twofold pool, quoted first, with a real minimum out

stake / start_unstake / claim_unstaked

the TWO staking cycle (1h cooldown)

claim_rewards / staking_info

streaming rewards and vault state

platform_stats

TVL bar chart, staking APY, a TVL sparkline

Related MCP server: HyperEVM MCP

Quickstart

npx twofold-mcp        # or: npm i -g twofold-mcp

Register it with your MCP host. For Claude Code, put this in your project's .mcp.json:

{ "mcpServers": { "twofold": { "command": "npx", "args": ["-y", "twofold-mcp"] } } }

For Claude Desktop, add the same entry under mcpServers in claude_desktop_config.json.

The wallet

On first run the server generates a fresh private key and stores it at ~/.twofold/wallet.key (mode 600). It never imports or touches a key you already own. Ask your agent for wallet_info, send that address a little ETH for gas plus the USDG you want it to trade on Robinhood Chain (chain id 4663), and the tools go live.

  • TWOFOLD_KEYFILE moves the key somewhere else.

  • TWOFOLD_RPC points at your own endpoint instead of the public rpc.mainnet.chain.robinhood.com.

Safety model

  • The wallet spends only what you send it.

  • The server quotes each swap through the on-chain Quoter first and executes with a real amountOutMinimum, not zero.

  • Deposits and withdrawals carry slippage caps on both legs, 0.50% by default.

  • There is no backend and nothing custodial: the server talks straight to the chain, and whoever holds pool shares can burn them back to tokens.

What Twofold is

Twofold pools pair tokenized equities (SPY, NVDA, TSLA, GME and more) and other assets against USDG. Idle USDG earns lending yield in ERC-4626 vaults while the same dollars quote swaps: one deposit, two yields. Live numbers: twofold.fi/stats.


A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Non-custodial DeFi for AI agents: swaps, concentrated liquidity (V3/V4) zaps + ranges, 5 EVM chains

  • Token swaps and honeypot/rug checks for AI agents on 8 chains, paid per-call in USDC via x402.

  • Agentic Finance: 500+ tools for AI agents over x402 or MPP, free via PoW, or prepaid card credits

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/twofoldfi/twofold-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server