GDEX Trading
GDEX (gdex.pro) trading for AI agents: spot, perps and HyperLiquid on Solana, EVM and more chains
Connector by GemachDAO · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/gemachdao-gdex-mcp-server
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.
- Tools
- 86 read · 51 write · 6 delete · 11 not yet classified
- Secrets
- 1 (API keys, tokens or passwords)
- Install scripts
- None found
- Runs as
- Node.js package
Tools by what they do 154
Read from the source code; the running server may list different tools.
Read 86 · Look things up without changing anything.
estimate_bridgeexplain_workflowgdex_accountsgdex_manage_positiongdex_operationgdex_positionsgdex_preview_tradegdex_statusget_account_stateget_all_mid_pricesget_api_infoget_balances
Show 74 more tools
get_bigbuysget_bridge_ordersget_chain_infoget_commentsget_component_guideget_copy_trade_custom_walletsget_copy_trade_dexesget_copy_trade_gemsget_copy_trade_guideget_copy_trade_listget_copy_trade_tx_listget_copy_trade_walletsget_currently_liveget_hl_all_assetsget_hl_clearinghouse_stateget_hl_copy_trade_listget_hl_copy_trade_tx_listget_hl_deposit_tokensget_hl_meta_and_asset_ctxsget_hl_open_ordersget_hl_outcome_volumesget_hl_perp_dexesget_hl_spot_stateget_hl_top_tradersget_hl_top_traders_by_pnlget_hl_trade_historyget_hl_user_statsget_limit_ordersget_live_statusget_mark_priceget_native_pricesget_newest_tokensget_nof1_analyticsget_ohlcvget_perp_positionsget_portfolioget_retailersget_sdk_patternget_skill_fileget_token_detailsget_token_imageget_token_tradesget_top_tokensget_top_tradersget_trade_historyget_trader_leverageget_trading_fundsget_trading_guideget_trending_tokensget_usdc_balanceget_wallet_infoget_wallet_performanceget_watchlistget_xstocksget_zora_tokenshl_builder_referralhl_list_user_copy_pnlhl_outcome_check_collateralhl_outcomeshl_ref_infohl_tx_listsearch_gdex_docstrending_listtrending_optionsusdc_convert_nativeusdc_estimate_bridgeusdc_get_balancesusdc_get_bridge_ordersusdc_get_bridge_statususdc_get_convert_quoteusdc_get_deferred_tradeusdc_get_funding_statususdc_get_pending_tradesusdc_get_trade_quote
Write 51 · Create, change, send or run things.
add_commentassociate_emailauth_loginbuild_sign_in_payloadbuild_trade_payloadbuy_tokencancel_all_perp_orderscancel_perp_orderclose_all_positionsclose_perp_positioncreate_copy_tradecreate_hl_copy_trade
Show 39 more tools
direct_cancel_orderexecute_bridgeexecute_cross_perpexecute_isolated_perpexecute_spotgenerate_pnlhl_cancel_outcome_orderhl_close_outcome_orderhl_create_outcome_orderhl_enable_tradinghl_ref_claimhl_swap_collateralimport_tokenlimit_sellmanaged_purchasemanaged_sellmanaged_sign_inmanaged_trade_statusoauth_loginperp_depositperp_withdrawplace_perp_ordersell_tokenset_leveragetransfer_nativetransfer_tokentrending_booking_statustrending_registerupdate_copy_tradeupdate_copy_trade_settingsupdate_hl_copy_tradeupdate_hl_copy_trade_settingsusdc_buyusdc_buy_with_nativeusdc_execute_bridgeusdc_retry_sellusdc_sellusdc_wait_for_tradewait_for_trade
Delete 6 · Delete, drop, revoke or wipe things.
change_watchlistdelete_copy_tradedelete_hl_copy_tradegdex_execute_tradelimit_buyupdate_order
Not yet classified 11 · We could not tell from the name and description.
gdex_connectgdex_disconnectgenerate_evm_walletgenerate_session_keypairhl_outcome_accountopen_perp_positionpause_copy_tradepause_hl_copy_traderesume_copy_traderesume_hl_copy_tradevote_sentiment
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
GDEX_API_KEY
Other settings (environment variables or headers).
GDEX_API_URL
Network hosts it talks to 5
api.hyperliquid.xyz· found in codegdex.pro· found in codegithub.com· found in codeopencode.ai· found in codetrade-api.gemach.io· found in code
Files it touches
~/wallet.json- Your home directory (~)
- Any path the agent passes to its tools
Tools (154)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
add_commentPost a comment on a token.
associate_emailLink the email claim from a Google ID token to the caller's wallet. Must be called before oauth_login when the wallet has no associated email yet (oauth-login returns 404/code 108). The email is NOT sent by the client — the backend extracts it server-side from the verified Google idToken. computedData must be built with buildAssociateEmailComputedData (managed-custody payload).
auth_loginAuthenticate with a GDEX API key. Sets the Bearer token for all subsequent requests.
build_sign_in_payloadBuild the encrypted sign-in computedData payload from raw credentials. Returns the payload to use with managed_sign_in.
build_trade_payloadBuild an encrypted managed-custody trade computedData payload from raw credentials.
buy_tokenBuy a token with the chain's native token from the managed GDEX wallet (session-signed purchase_v2). Chains: Ethereum 1, Optimism 10, BSC 56, Sonic 146, Fraxtal 252, Robinhood 4663, Base 8453, Arbitrum 42161, Solana. Returns a requestId; follow it with wait_for_trade. To pay with USDC use usdc_buy.
cancel_all_perp_ordersCancel all open perp orders on HyperLiquid.
cancel_perp_orderCancel a specific open perp order on HyperLiquid.
change_watchlistAdd or remove a token from the user's watchlist via managed custody. Requires pre-built encrypted computedData.
close_all_positionsClose all open perpetual positions on HyperLiquid. Known unreliable: the backend endpoint frequently returns TIMEOUT or 400 / JSON parse errors. Prefer close_perp_position per coin.
close_perp_positionClose (fully or partially) one perp position with a reduce-only market order. The side is read from the live HL position: a long is closed with a sell, a short with a buy. Rejects when the position is flat/missing, when size exceeds it, or when a bare coin is open on several builder DEXes.
create_copy_tradeCreate a new copy trade to auto-mirror a Solana trader's buys/sells. Solana only.
create_hl_copy_tradeCreate a new HL perp copy trade. Copies a trader's long/short perpetual positions.
delete_copy_tradePERMANENTLY delete a Solana copy trade configuration. Does NOT sell the positions it opened and does NOT cancel their TP/SL limit orders; manage those separately. Cannot be undone. To stop copying temporarily use pause_copy_trade instead.
delete_hl_copy_tradePERMANENTLY delete an HL perp copy trade configuration. Does NOT close the perp positions it opened and does NOT cancel their TP/SL orders; close them with the perp tools if wanted. Cannot be undone. To stop copying temporarily use pause_hl_copy_trade instead.
Show 139 more tools
direct_cancel_orderCancel an open order directly with a private key on HyperLiquid.
estimate_bridgeGet a cross-chain bridge quote without executing. Returns estimated output, provider, and time.
execute_bridgeExecute a cross-chain bridge transaction. Requires managed-custody auth.
execute_cross_perpExecute a cross-margin perpetual trade directly with a private key (no managed custody). Supports TP/SL and builder fees.
execute_isolated_perpExecute an isolated-margin perpetual trade directly with a private key. Requires explicit leverage.
execute_spotExecute a spot trade directly on HyperLiquid with a private key.
explain_workflowExplain an end-to-end GDEX trading workflow with step-by-step instructions and code.
gdex_accountsList accounts connected on this machine (accountRef, control wallet, managed wallets, session age). No secrets are returned.
gdex_connectConnect a GDEX trading account without putting any secret in the conversation. Signs in from a control-wallet key file on this machine (keyFile), or creates a new local wallet (create: true), or refreshes an existing accountRef. Returns an accountRef plus public addresses; pass accountRef to any trading tool instead of sessionPrivateKey/privateKey. Never ask the user to paste a private key or seed phrase.
gdex_disconnectForget a connected account on this machine (deletes its stored keys). Funds are not affected; reconnect later with gdex_connect and the key file.
gdex_execute_tradecan change or delete dataExecute a preview within the user's authority: userApproved=true only after the user approved THIS preview's terms; otherwise the account's delegated policy must allow it (else status denied). Re-quotes first: moved or expired terms return status revised with a new preview instead of trading. Returns an operation; follow it with gdex_operation. Never call again for the same intent after submission_unknown.
gdex_manage_positionread-onlyPreview an exit for an existing position, against its live state: close/reduce a perp (reduce-only, correct side for longs and shorts) or sell a spot token back to USDC. Returns a preview; execute it with gdex_execute_trade.
gdex_operationread-onlyFollow or recover an operation by opId: waits for funding/fill (spot streams funding steps; perps check the live position), resolves submission_unknown by looking for the trade instead of resending, and reports needs_retry when the backend offers an in-place sell retry (usdc_retry_sell). Without opId, lists recent operations.
gdex_positionsread-onlyWhat the account owns and has pending: unified USDC + gas balances per chain, Hyperliquid positions on every DEX, open orders, and unfinished operations. Each section says ok or unavailable; unavailable means unknown, not empty.
gdex_preview_traderead-onlyTurn an explicit trade intent into exact executable terms without trading: market, side, human and raw amounts, quote source and time, minimum received or limit price, funding plan, expiry (60s). Returns a previewId for gdex_execute_trade. kind=spot (USDC wallet), perp_open, perp_close. For perps give notionalUsd (position size) or marginUsd (collateral), never guess which.
gdex_statusread-onlyStart here. Reports version, connected accounts (no secrets), API reachability, delegated trading policy per account, pending operations, supported trade kinds, and the next setup step.
generate_evm_walletGenerate a new EVM wallet offline (no network call). To trade with it, use gdex_connect { create: true } instead, which stores it locally. Returns only the address unless revealSecrets is true.
generate_pnlTrigger backend PnL generation for a wallet.
generate_session_keypairAdvanced/manual signing only: generate a secp256k1 session keypair. Prefer gdex_connect, which signs in and keeps keys on this machine. Returns only the public sessionKey unless revealPrivateKey is true.
get_account_stateGet full HyperLiquid account state: positions, margin, balance, withdrawable amount. No auth required.
get_all_mid_pricesGet all current mid prices across all HyperLiquid assets. No auth required.
get_api_infoGet GDEX API endpoint details — URL, method, parameters, and response format.
get_balancesToken balances of the managed GDEX wallet on one chain, optionally one token. [] means the backend reported no holdings; a failed read errors. Native balance: get_trading_funds.
get_bigbuys"Big buy" alert feed for a chain — recent large buy transactions.
get_bridge_ordersGet bridge order history for a user. Requires session-key auth.
get_chain_infoGet supported chains, chain IDs, DEXes, and capabilities.
get_commentsGet comments for a token.
get_component_guideGet React UI component patterns for GDEX trading interfaces.
get_copy_trade_custom_walletsGet top 300 wallets ranked by net received. No auth. Cached 2 min.
get_copy_trade_dexesList supported DEXes for a chain (e.g. Raydium, Pumpfun on Solana). No auth.
get_copy_trade_gemsGet hot new tokens heavily traded by top wallets. No auth. Cached 20s.
get_copy_trade_guideGet a copy trading guide for Solana spot or HyperLiquid perp copy trading.
get_copy_trade_listList all copy trade configurations for a user. Requires session-key auth.
get_copy_trade_tx_listList copy trade transaction history with PnL. Requires session-key auth.
get_copy_trade_walletsGet top 300 wallets ranked by totalPnl for Solana spot copy trade leaderboard. No auth. Cached 2 min.
get_currently_liveCurrently-livestreaming token launches.
get_hl_all_assetsGet all tradeable assets on HyperLiquid with max leverage info. No auth.
get_hl_clearinghouse_stateGet account state (positions, margin) on a HyperLiquid DEX. No auth. Builder/HIP-3 positions (e.g. xyz:NVDA) live under their own dex — pass `dex` ("xyz") to see them. The default query does NOT show builder positions; an open builder position will look empty without `dex`.
get_hl_copy_trade_listList all HL perp copy trade configurations for a user. Requires session-key auth.
get_hl_copy_trade_tx_listGet HL copy trade fill history. Supports pagination (max 100 per page). Session-key auth. Cached 15s.
get_hl_deposit_tokensGet supported deposit tokens for HyperLiquid. No auth.
get_hl_meta_and_asset_ctxsGet market metadata and asset contexts from HyperLiquid. No auth.
get_hl_open_ordersGet all open orders on HyperLiquid for a wallet. No auth required.
get_hl_outcome_volumesGet 24h notional volume per outcome side coin from the Hyperliquid WS feed. Pass coins from hl_outcomes sides[].coin, e.g. ["#143150","#143151"]. Returns { coin: volume } for coins that reported; a missing coin means no reading (not zero). Prefer hl_outcomes withVolume=true, which reports coverage per market.
get_hl_perp_dexesGet available perpetual DEX list on HyperLiquid. No auth.
get_hl_spot_stateGet HyperLiquid spot trading state for a wallet. No auth required.
get_hl_top_tradersGet top HyperLiquid perp traders by volume, trade count, or deposit. No auth. Cached 15 min.
get_hl_top_traders_by_pnlGet top 30 HyperLiquid perp traders ranked by PnL. Data by day/week/month. No auth. Cached 15 min.
get_hl_trade_historyGet trade history on HyperLiquid for a wallet. No auth required.
get_hl_user_statsGet detailed trading stats for an HL user: daily PnL, volumes, trade counts, win rates. No auth. Cached 1 hr.
get_limit_ordersList active limit orders for a user on a specific chain. Requires session-key auth.
get_live_statusLivestream status for a single token address.
get_mark_priceGet the current mark price for a HyperLiquid asset. No auth required.
get_native_pricesGet current native token prices (ETH, SOL, SUI, BNB, ...) keyed by chain.
get_newest_tokensGet newest tokens across all chains (or a specific chain).
get_nof1_analyticsGet NoF1 advanced trader analytics for a wallet.
get_ohlcvGet OHLCV candlestick data for a token. No auth.
get_perp_positionsGet all open perpetual positions for a wallet on HyperLiquid. No auth required.
get_portfolioToken holdings of the managed GDEX wallet on one chain (/v1/portfolio): exact raw and decimal balances, price, native value and P&L per token. Needs the session (accountRef). Errors instead of returning an empty portfolio when the read fails.
get_retailersList registered retailer integrations / branded onboarding partners.
get_sdk_patternGet TypeScript code patterns for common GDEX SDK operations. Returns working code examples.
get_skill_fileRead a file that ships with a GDEX skill (e.g. gdex-token-risk scripts/token_risk.py). Omit path to list the skill's files.
get_token_detailsGet detailed token info: price, market cap, liquidity, DEX pools, social links, security info. No auth.
get_token_imageGet server-rendered token social-card image metadata.
get_token_tradesRecent trades for a specific token.
get_top_tokensGet top tokens by volume / market cap.
get_top_tradersGet top performing trader wallets ranked by P&L, win rate, volume, or trade count.
get_trade_historySuccessful spot trades of a GDEX account on one chain, newest first (/v1/user_history, keyed by the control wallet). Page with limit (max 50) and cursor = nextCursor of the previous page.
get_trader_leverageGet the active leverage setting a trader uses for a specific coin on HyperLiquid.
get_trading_fundsNative balance the managed GDEX wallet can trade with on one chain (/v1/user), plus the managed wallet address per chain family. The value is approximate (backend float). Cross-chain USDC: usdc_get_balances.
get_trading_guideGet a complete trading guide for spot, perp, or limit order trading.
get_trending_tokensGet trending tokens sorted by volume and price change. No auth.
get_usdc_balanceGet USDC balance on HyperLiquid for a wallet. No auth required.
get_wallet_infoSummary of the managed GDEX wallet on one chain: managed address, native balance (approximate, /v1/user), token count and USD total (/v1/portfolio). Needs the session (accountRef); there is no address-only read.
get_wallet_performanceGet wallet performance / PnL summary across recent periods.
get_watchlistFetch the user's watchlist.
get_xstocksList tokenised equities (xStocks).
get_zora_tokensList Zora-protocol tokens.
hl_builder_referralGet builder-referral metadata for a wallet.
hl_cancel_outcome_orderCancel a resting HIP-4 outcome order. Structured mode: apiKey, walletAddress (control), sessionPrivateKey, outcomeId, coin (must belong to outcomeId), orderId (numeric Hyperliquid oid from hl_create_outcome_order or hl_outcome_account openOrders). Partial fills before the cancel stay in the position. Pre-built mode: computedData alone.
hl_close_outcome_orderExit a HIP-4 outcome position by SELLING held side tokens (the backend always sells; it cannot short). Structured mode: apiKey, walletAddress (control), sessionPrivateKey, outcomeId, one of coin/sideIndex/sideLabel, price (limit) or isMarket=true, optional size (whole contracts; omit for a full exit — the backend caps size to what you hold). With managedAddress, partial exits must leave both the sold part and the remainder >= 11 quote. Settled markets have no book: GDEX has no claim endpoint, check the HL spot balance instead. Pre-built mode: computedData alone.
hl_create_outcome_orderPlace an order on a Hyperliquid HIP-4 outcome market. Structured mode (apiKey, walletAddress=control address, sessionPrivateKey, outcomeId, one of coin/sideIndex/sideLabel, isBuy, size, and price unless isMarket) is validated against the live market first: side must belong to outcomeId, size is whole contracts, price in [0.00001, 0.99999] with max 5 decimals, size×price >= 11 quote (a full-position sell is exempt when managedAddress is given), market must not be expired/settled. isBuy=false sells side tokens you hold. reduceOnly is ignored by the backend. Returns status resting (with orderId) …
hl_enable_tradingEnable HL trading for a managed wallet (one-time, required before outcome/HIP-3 orders). Pass apiKey, walletAddress (control address), sessionPrivateKey and the SDK builds the payload; a pre-built computedData is also accepted.
hl_list_user_copy_pnlPer-user realised PnL from HL copy-trading.
hl_outcome_accountNormalised state of a MANAGED wallet on one HIP-4 outcome market: positions (per side: size, hold, available, avgEntryPrice, markPrice, value, unrealizedPnl), openOrders (resting / partially_filled with orderId, price, size, filledSize), fills, historicalOrders (Hyperliquid status). Use it to reconcile after create/cancel/close. raw=true returns the backend payload.
hl_outcome_check_collateralCheck the managed wallet's Hyperliquid SPOT balance of a market's quoteToken (outcome buys draw on spot collateral, not the perp account) against size × price.
hl_outcomesDiscover Hyperliquid HIP-4 outcome markets (GDEX has no Polymarket/Kalshi). Returns normalised markets: outcomeId, title, sides[] (label, coin "#<assetId>", balanceCoin "+<assetId>", price = current mid), quoteToken (collateral, held in the HL spot balance), state (active | pre_launch | expired | settled), rules (price 0.00001-0.99999 tick 0.00001, whole-contract size, min order notional 11 quote), settlement (no claim via GDEX). withVolume=true adds volume24h {volume, asOf, source, coverage} with a bounded wait. raw=true returns the backend payload unchanged.
hl_ref_claimSubmit a claim request for accrued HL referral rewards. Requires pre-built computedData.
hl_ref_infoGet HyperLiquid referral info (earned, eligibility, code).
hl_swap_collateralSwap collateral between HL clearinghouses/perp DEXes (HIP-3). Pass apiKey, walletAddress, sessionPrivateKey, fromToken, toToken, amount or a pre-built computedData.
hl_tx_listGet HL transaction list (fills / orders) for a wallet.
import_tokenImport a user-defined custom token into the platform via managed custody. Requires pre-built encrypted computedData.
limit_buyCreate a limit buy order — buy a token when price drops to target. Uses ABI-encoded + AES-encrypted computedData.
limit_sellCreate a limit sell order — sell a token when price reaches target. Auto-classifies as TP or SL.
managed_purchaseSubmit an encrypted managed-custody buy trade via the GDEX backend.
managed_sellSubmit an encrypted managed-custody sell trade via the GDEX backend.
managed_sign_inSign in to GDEX managed-custody system using encrypted computedData payload.
managed_trade_statusPoll the status of a managed-custody trade by requestId.
oauth_loginLog in or sign up using a Google ID token. Google OIDC only — there is no Apple/GitHub branch. If the wallet has no associated email yet, the backend returns 404 with internal code 108 and the caller must invoke associate_email first (using the same idToken) before retrying.
open_perp_positionOpen a perpetual futures position on HyperLiquid with leverage, TP/SL. Supports market and limit orders.
pause_copy_tradePause a Solana copy trade (isActive=false) WITHOUT deleting it. Reads the current state first and is a no-op if already paused. While paused the copier mirrors neither buys nor sells; positions it opened stay open and their TP/SL orders stay in place. Errors: PAUSE_STATE_UNVERIFIED (state could not be confirmed, nothing sent), PAUSE_UNSUPPORTED (stored config invalid; explains the alternative), COPY_TRADE_NOT_FOUND.
pause_hl_copy_tradePause an HL perp copy trade (isActive=false) WITHOUT deleting it. Reads the current state first and is a no-op if already paused. While paused the copier mirrors neither opens nor closes, so copied positions stay open and will NOT follow the trader's exits; their TP/SL orders stay in place. Errors: PAUSE_STATE_UNVERIFIED (nothing sent), PAUSE_UNSUPPORTED (stored config invalid; explains the alternative), COPY_TRADE_NOT_FOUND.
perp_depositDeposit USDC into the HyperLiquid perpetual account from Arbitrum.
perp_withdrawWithdraw USDC from the HyperLiquid perpetual account.
place_perp_orderPlace a simple perp order on HyperLiquid without TP/SL. isMarket=true (default) is sent via /hl/create_order as a market order; isMarket=false sends a limit order at `price` via /hl/place_order, which the backend currently accepts only with reduceOnly=true.
resume_copy_tradeResume a paused Solana copy trade (isActive=true). No-op if already active. Trades made while paused are not replayed.
resume_hl_copy_tradeResume a paused HL perp copy trade (isActive=true). No-op if already active. Fills made while paused are not replayed.
search_gdex_docsSearch GDEX documentation and skill files by keyword. Returns matching skill sections.
sell_tokenSell a token for the chain's native token from the managed GDEX wallet (session-signed sell_v2). Amount is a token amount ('100') or a percentage of the held balance ('50%', '100%'), resolved from the managed holdings. Returns a requestId; follow it with wait_for_trade. To receive USDC use usdc_sell.
set_leverageSet leverage for a specific asset on HyperLiquid. Known broken: /hl/update_leverage has returned 404 in live tests. Pass `leverage` on open_perp_position instead (sent with the order).
transfer_nativeTransfer native asset (ETH, SOL, SUI, BNB, ...) via managed custody. Requires pre-built encrypted computedData.
transfer_tokenTransfer ERC20 / SPL token via managed custody. Requires pre-built encrypted computedData.
trending_booking_statusCheck trending-slot booking status (pending payment, active, expired).
trending_listList currently promoted / booked trending tokens.
trending_optionsList available trending-slot packages and prices.
trending_registerRegister / pay for a trending slot.
update_copy_tradeLow-level Solana copy trade update (prefer update_copy_trade_settings / pause_copy_trade / resume_copy_trade / delete_copy_trade). Every field is rewritten from this payload, so pass the full current config. isDelete=true permanently deletes the configuration; positions it opened are NOT sold and their TP/SL limit orders are NOT cancelled. isChangeStatus=true TOGGLES active/paused relative to the stored state (sending it twice resumes). isDelete and isChangeStatus cannot both be true.
update_copy_trade_settingsChange settings of an existing Solana copy trade. Never deletes and never pauses/resumes. Reads the current config first; omitted fields keep their current values. Open positions are not resized.
update_hl_copy_tradeLow-level HL perp copy trade update (prefer update_hl_copy_trade_settings / pause_hl_copy_trade / resume_hl_copy_trade / delete_hl_copy_trade). Every field is rewritten from this payload, so pass the full current config. isDelete=true permanently deletes the configuration; perp positions it opened are NOT closed and their TP/SL orders are NOT cancelled. isChangeStatus=true TOGGLES active/paused relative to the stored state. isDelete and isChangeStatus cannot both be true.
update_hl_copy_trade_settingsChange settings of an existing HL perp copy trade. Never deletes and never pauses/resumes. Reads the current config first; omitted fields keep their current values. Configs created by SDK <= 4.12 may hold an invalid copyMode (e.g. 416/480) and oppositeCopy=true; pass copyMode, fixedAmountCostPerOrder and oppositeCopy explicitly to repair them.
update_orderUpdate or delete an existing limit order. Set isDelete=true to cancel (no other fields needed). An update replaces amount, triggerPrice and TP/SL together, so all four are required.
usdc_buyBuy a token paying with USDC. Automatic funding is on by default: GDEX bridges USDC and tops up gas from the user's other chains when this chain is short, capped by the signed maxSourceSpendRaw. A pending result returns a requestId: follow it with usdc_wait_for_trade.
usdc_buy_with_nativeBuy a token paying with the chain's native token (ETH, BNB, SOL...). Auto-bridge from other chains is on by default, as on gdex.pro.
usdc_convert_nativeConvert the chain's native gas token to USDC, keeping a per-chain gas reserve. Get amounts from usdc_get_convert_quote.
usdc_estimate_bridgeQuote moving USDC between chains (Relay). amountRaw is what arrives on the destination. The response fromAmountRaw is the source spend to cap usdc_execute_bridge with.
usdc_execute_bridgeMove USDC between chains. maxFromAmountRaw is the signed maximum source spend: use the estimate's fromAmountRaw plus a small headroom. Poll usdc_get_bridge_status with the returned id.
usdc_get_balancesUnified USDC wallet: the user's USDC and native gas balance on every supported chain, plus the cross-chain USDC total.
usdc_get_bridge_ordersThe user's USDC bridge history.
usdc_get_bridge_statusStatus of a USDC bridge by id. refresh=true polls the bridge provider once.
usdc_get_convert_quoteQuote converting the chain's native gas token to USDC, keeping a gas reserve. amount is raw native or "max".
usdc_get_deferred_tradeStatus and funding steps of a deferred (auto-bridged) USDC trade, by tradeId.
usdc_get_funding_statusStatus of a USDC trade or its auto-funding (bridge legs, confirmation, failure reason). Poll with the requestId a trade returned. If it returns a retry capability for a stuck sell, use usdc_retry_sell.
usdc_get_pending_tradesPending USDC trades on a chain. Check before resubmitting any trade whose outcome is unknown; never resubmit while one is pending.
usdc_get_trade_quoteExecutable quote for a USDC- or native-paid buy, or a sell to USDC. Returns amountOutRaw; apply slippage to get the minimum out for usdc_buy / usdc_sell.
usdc_retry_sellRetry a stuck USDC sell in place, reusing its transaction nonce so it cannot execute twice. Use when usdc_wait_for_trade returns needs_retry (or funding status shows retry.available). Token, amount, chain and nonce are read from the backend's retry capability; re-quote the sell for minUsdcOutRaw.
usdc_sellSell a token and receive USDC into the unified USDC wallet. Settles on its own chain (no auto-funding, as on gdex.pro).
usdc_wait_for_tradeFollow a pending USDC trade (requestId from usdc_buy, usdc_buy_with_native or usdc_sell) to its result, like gdex.pro's live progress note: polls every 3s and returns each step as it happened (bridge legs, gas top-up, approve, swap), the outcome and the tx hash. outcome "needs_retry" means a sell broadcast was dropped and can be retried in place with usdc_retry_sell; "pending" after the timeout means still settling: never resubmit.
vote_sentimentCast a bullish/bearish sentiment vote on a token.
wait_for_tradeFollow a buy_token / sell_token requestId to its result by polling /v1/trade-status. outcome: filled, failed, not_found (expired id) or pending (still running at the timeout: never resubmit).
Compare and alternatives
Featured in
Signals
- Stars
- 4
- Forks
- 0
- Open issues
- 3
- Weekly downloads
- 129
- Last commit (this folder)
- Oct 19, 2026 (9 days ago)
- Last release
- Oct 19, 2026 (9 days ago)
- Last package publish
- Oct 19, 2026 (9 days ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.GemachDAO/gdex-mcp-server- Version
- 5.1.0
- Auth
- API key
- Packages
- npm @gemachdao/gdex-mcp-server
- License
- MIT
- Repository
- github.com/GemachDAO/gdex-skill
- Website
- gdex.pro
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
Cite this page
GDEX Trading MCP server. Agent Mart. https://agentmart.dev/connectors/gemachdao-gdex-mcp-server (last updated 2026-10-24)