mcp-server
v2.2.0Wenrwa MCP Server — 26 AI trading tools for Claude Desktop (swap, transfer, quote, cart, RWA, agent identity)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
wenrwa_account
Get account info — API key details, wallet, permissions
wenrwa_swap
Execute a token swap, signed locally with your keypair file (no key is ever needed in chat). Accepts symbols ("SOL", "USDC") or raw mint addresses. USDC swaps are gasless — no SOL needed; platform signs as fee payer (dynamic USDC fee when wallet has no SOL for gas).
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount to swap (human-readable, e.g., 0.1 for 0.1 SOL) |
inputMint * | string | Input token symbol or mint address (e.g., "SOL") |
outputMint * | string | Output token symbol or mint address (e.g., "USDC") |
slippageBps | number | Slippage tolerance in basis points (default 50 = 0.5%) |
wenrwa_transfer
Send tokens to another address. Built by the API, signed on this machine with your local keypair file, then submitted: the private key never leaves this machine. Accepts symbols or mint addresses.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount to send (human-readable) |
mint * | string | Token symbol or mint address (e.g., "USDC") |
recipientAddress * | string | Destination wallet public key |
wenrwa_get_quote
Get a swap quote from Jupiter. Accepts symbols or mint addresses.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount to swap (human-readable) |
inputMint * | string | Input token symbol or mint address |
outputMint * | string | Output token symbol or mint address |
slippageBps | number | Slippage in basis points |
wenrwa_get_balance
Get wallet token balances
wenrwa_search_tokens
Search for tokens by symbol or name
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query (e.g., "USDC", "Bonk", or a mint address) |
wenrwa_get_transactions
Get transaction history
| Parameter | Type | Description |
|---|---|---|
limit | number | Number of transactions to return (default 50, max 100) |
offset | number | Offset for pagination |
wenrwa_create_wallet
Create a new trading wallet (returns keypair once — save the secret key!)
| Parameter | Type | Description |
|---|---|---|
name | string | Wallet name |
wenrwa_cart_add
Add a swap to the cart for batch execution
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount (human-readable) |
inputMint * | string | Input token symbol or mint |
outputMint * | string | Output token symbol or mint |
slippageBps | number | Slippage in basis points |
wenrwa_cart_list
List pending cart items
wenrwa_cart_remove
Remove an item from the cart
| Parameter | Type | Description |
|---|---|---|
itemId * | number | Cart item ID to remove |
wenrwa_cart_update
Update a pending cart item (change tokens, amount, or slippage)
| Parameter | Type | Description |
|---|---|---|
itemId * | number | Cart item ID to update |
amount | number | New amount (human-readable) |
inputMint | string | New input token symbol or mint |
outputMint | string | New output token symbol or mint |
slippageBps | number | New slippage in basis points |
wenrwa_cart_execute
Execute all pending cart items (batch swap), one by one: each is built by the API, signed on this machine with your local keypair file and submitted, then removed from the cart. Stops at the first failure unless continueOnError. USDC swaps are gasless — no SOL needed; platform signs as fee payer (dynamic USDC fee when wallet has no SOL).
| Parameter | Type | Description |
|---|---|---|
continueOnError | boolean | Continue executing remaining items if one fails |
wenrwa_cart_clear
Remove all pending items from the cart
wenrwa_swap_build
Build a swap transaction without executing it (two-step flow: build → sign → submit). USDC swaps are gasless — no SOL needed; platform signs as fee payer (dynamic USDC fee when wallet has no SOL).
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount to swap (human-readable) |
inputMint * | string | Input token symbol or mint address |
outputMint * | string | Output token symbol or mint address |
maxSlippageBps | number | Maximum acceptable slippage in basis points |
slippageBps | number | Slippage tolerance in basis points |
wenrwa_swap_submit
Submit a signed swap transaction (second step of two-step flow)
| Parameter | Type | Description |
|---|---|---|
signedTransaction * | string | Base64-encoded signed transaction |
wenrwa_get_balance_by_wallet
Get token balances for a specific wallet by ID
| Parameter | Type | Description |
|---|---|---|
walletId * | number | Wallet ID to get balances for |
wenrwa_get_token_info
Get detailed token info by mint address (name, symbol, decimals, price)
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
wenrwa_list_wallets
List all trading wallets for the current account
wenrwa_rwa_list_tokens
List and filter RWA (Real World Asset) tokens — stocks, treasuries, commodities, real estate. Shows Solana tokens (the ones you can trade here) unless chain is set.
| Parameter | Type | Description |
|---|---|---|
category | string | Filter by category: stocks, treasury, real_estate, commodities, other |
chain | string | Which chain: "solana" (default, tradeable here), "robinhood" (view only), or "all" |
minLiquidity | string | Minimum liquidity grade: A, B, C, D, or F |
provider | string | Filter by provider: xStocks, Ondo, Franklin Templeton, Paxos, etc. |
search | string | Search by token name or symbol (e.g., "Tesla", "TSLA") |
sortBy | string | Sort field: price, marketCap, volume24h, liquidity, name |
sortOrder | string | Sort order: asc or desc |
wenrwa_rwa_get_token
Get detailed info for a single RWA token by mint address — price, liquidity, provider, premium/discount
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
wenrwa_rwa_categories
List available RWA token categories with token counts
wenrwa_rwa_providers
List RWA token providers (issuers) with token counts
wenrwa_rwa_knowledge
Get knowledge base entry for an RWA token — risks, fees, trading hours, redemption info. Provide either mint or symbol.
| Parameter | Type | Description |
|---|---|---|
mint | string | Token mint address |
symbol | string | Token symbol (e.g., "xTSLA", "OUSG") |
wenrwa_setup
Set up a Wenrwa agent identity — generates a Solana keypair, registers with the SDK API, and saves credentials to disk. Persists across sessions.
| Parameter | Type | Description |
|---|---|---|
apiUrl | string | SDK API URL (default: "https://app.wenrwa.com/api/v1/sdk") |
keypairPath | string | Path to existing Solana keypair file (optional — generates new if omitted) |
name | string | Agent name (default: "default") |
wenrwa_list_agents
List all Wenrwa agent identities on this machine, with optional wallet balances
| Parameter | Type | Description |
|---|---|---|
includeBalances | boolean | Fetch wallet balances for each agent (default: false) |