Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add Gmx MCP to the MCP Server Directory
Server: Gmx MCP
Endpoint:
https://gmx.mcp.junct.dev/mcpTransport: Streamable HTTP (stateless)
Auth: None
Description
GMX
MCP endpoint: https://gmx.mcp.junct.dev/mcp
Domain: vault
Tools
BASIS_POINTS_DIVISOR— Calls BASIS_POINTS_DIVISOR(). Read-only — does not modify contract state. Unrestricted — any address…FUNDING_RATE_PRECISION— Calls FUNDING_RATE_PRECISION(). Read-only — does not modify contract state. Unrestricted — any addre…MAX_FEE_BASIS_POINTS— Calls MAX_FEE_BASIS_POINTS(). Read-only — does not modify contract state. Unrestricted — any address…MAX_FUNDING_RATE_FACTOR— Calls MAX_FUNDING_RATE_FACTOR(). Read-only — does not modify contract state. Unrestricted — any addr…MAX_LIQUIDATION_FEE_USD— Calls MAX_LIQUIDATION_FEE_USD(). Read-only — does not modify contract state. Unrestricted — any addr…MIN_FUNDING_RATE_INTERVAL— Calls MIN_FUNDING_RATE_INTERVAL(). Read-only — does not modify contract state. Unrestricted — any ad…MIN_LEVERAGE— Calls MIN_LEVERAGE(). Read-only — does not modify contract state. Unrestricted — any address can cal…PRICE_PRECISION— Calls PRICE_PRECISION(). Read-only — does not modify contract state. Unrestricted — any address can …USDG_DECIMALS— Calls USDG_DECIMALS(). Read-only — does not modify contract state. Unrestricted — any address can ca…addRouter— Calls addRouter(_router: string). Write function — may have access control restrictions (e.g. onlyOw…adjustForDecimals— Calls adjustForDecimals(_amount: string, _tokenDiv: string, _tokenMul: string). Read-only — does not…allWhitelistedTokens— Calls allWhitelistedTokens(param0: string). Read-only — does not modify contract state. Unrestricted…allWhitelistedTokensLength— Calls allWhitelistedTokensLength(). Read-only — does not modify contract state. Unrestricted — any a…approvedRouters— Calls approvedRouters(param0: string, param1: string). Read-only — does not modify contract state. U…bufferAmounts— Calls bufferAmounts(param0: string). Read-only — does not modify contract state. Unrestricted — any …buyUSDG— Calls buyUSDG(_token: string, _receiver: string). Write function — may have access control restricti…clearTokenConfig— Calls clearTokenConfig(_token: string). Write function — may have access control restrictions (e.g. …cumulativeFundingRates— Calls cumulativeFundingRates(param0: string). Read-only — does not modify contract state. Unrestrict…decreasePosition— Calls decreasePosition(_account: string, _collateralToken: string, _indexToken: string, _collateralD…directPoolDeposit— Calls directPoolDeposit(_token: string). Write function — may have access control restrictions (e.g.…errorController— Calls errorController(). Read-only — does not modify contract state. Unrestricted — any address can …errors— Calls errors(param0: string). Read-only — does not modify contract state. Unrestricted — any address…feeReserves— Calls feeReserves(param0: string). Read-only — does not modify contract state. Unrestricted — any ad…fundingInterval— Calls fundingInterval(). Read-only — does not modify contract state. Unrestricted — any address can …fundingRateFactor— Calls fundingRateFactor(). Read-only — does not modify contract state. Unrestricted — any address ca…getDelta— Calls getDelta(_indexToken: string, _size: string, _averagePrice: string, _isLong: boolean, _lastInc…getFeeBasisPoints— Calls getFeeBasisPoints(_token: string, _usdgDelta: string, _feeBasisPoints: string, _taxBasisPoints…getFundingFee— Calls getFundingFee(_token: string, _size: string, _entryFundingRate: string). Read-only — does not …getGlobalShortDelta— Calls getGlobalShortDelta(_token: string). Read-only — does not modify contract state. Unrestricted …getMaxPrice— Calls getMaxPrice(_token: string). Read-only — does not modify contract state. Unrestricted — any ad…getMinPrice— Calls getMinPrice(_token: string). Read-only — does not modify contract state. Unrestricted — any ad…getNextAveragePrice— Calls getNextAveragePrice(_indexToken: string, _size: string, _averagePrice: string, _isLong: boolea…getNextFundingRate— Calls getNextFundingRate(_token: string). Read-only — does not modify contract state. Unrestricted —…getNextGlobalShortAveragePrice— Calls getNextGlobalShortAveragePrice(_indexToken: string, _nextPrice: string, _sizeDelta: string). R…getPosition— Calls getPosition(_account: string, _collateralToken: string, _indexToken: string, _isLong: boolean)…getPositionDelta— Calls getPositionDelta(_account: string, _collateralToken: string, _indexToken: string, _isLong: boo…getPositionFee— Calls getPositionFee(_sizeDelta: string). Read-only — does not modify contract state. Unrestricted —…getPositionKey— Calls getPositionKey(_account: string, _collateralToken: string, _indexToken: string, _isLong: boole…getPositionLeverage— Calls getPositionLeverage(_account: string, _collateralToken: string, _indexToken: string, _isLong: …getRedemptionAmount— Calls getRedemptionAmount(_token: string, _usdgAmount: string). Read-only — does not modify contract…getRedemptionCollateral— Calls getRedemptionCollateral(_token: string). Read-only — does not modify contract state. Unrestric…getRedemptionCollateralUsd— Calls getRedemptionCollateralUsd(_token: string). Read-only — does not modify contract state. Unrest…getTargetUsdgAmount— Calls getTargetUsdgAmount(_token: string). Read-only — does not modify contract state. Unrestricted …getUtilisation— Calls getUtilisation(_token: string). Read-only — does not modify contract state. Unrestricted — any…globalShortAveragePrices— Calls globalShortAveragePrices(param0: string). Read-only — does not modify contract state. Unrestri…globalShortSizes— Calls globalShortSizes(param0: string). Read-only — does not modify contract state. Unrestricted — a…gov— Calls gov(). Read-only — does not modify contract state. Unrestricted — any address can call this re…guaranteedUsd— Calls guaranteedUsd(param0: string). Read-only — does not modify contract state. Unrestricted — any …hasDynamicFees— Calls hasDynamicFees(). Read-only — does not modify contract state. Unrestricted — any address can c…inManagerMode— Calls inManagerMode(). Read-only — does not modify contract state. Unrestricted — any address can ca…inPrivateLiquidationMode— Calls inPrivateLiquidationMode(). Read-only — does not modify contract state. Unrestricted — any add…includeAmmPrice— Calls includeAmmPrice(). Read-only — does not modify contract state. Unrestricted — any address can …increasePosition— Calls increasePosition(_account: string, _collateralToken: string, _indexToken: string, _sizeDelta: …initialize— Calls initialize(_router: string, _usdg: string, _priceFeed: string, _liquidationFeeUsd: string, _fu…isInitialized— Calls isInitialized(). Read-only — does not modify contract state. Unrestricted — any address can ca…isLeverageEnabled— Calls isLeverageEnabled(). Read-only — does not modify contract state. Unrestricted — any address ca…isLiquidator— Calls isLiquidator(param0: string). Read-only — does not modify contract state. Unrestricted — any a…isManager— Calls isManager(param0: string). Read-only — does not modify contract state. Unrestricted — any addr…isSwapEnabled— Calls isSwapEnabled(). Read-only — does not modify contract state. Unrestricted — any address can ca…lastFundingTimes— Calls lastFundingTimes(param0: string). Read-only — does not modify contract state. Unrestricted — a…liquidatePosition— Calls liquidatePosition(_account: string, _collateralToken: string, _indexToken: string, _isLong: bo…liquidationFeeUsd— Calls liquidationFeeUsd(). Read-only — does not modify contract state. Unrestricted — any address ca…marginFeeBasisPoints— Calls marginFeeBasisPoints(). Read-only — does not modify contract state. Unrestricted — any address…maxGasPrice— Calls maxGasPrice(). Read-only — does not modify contract state. Unrestricted — any address can call…maxLeverage— Calls maxLeverage(). Read-only — does not modify contract state. Unrestricted — any address can call…maxUsdgAmounts— Calls maxUsdgAmounts(param0: string). Read-only — does not modify contract state. Unrestricted — any…minProfitBasisPoints— Calls minProfitBasisPoints(param0: string). Read-only — does not modify contract state. Unrestricted…minProfitTime— Calls minProfitTime(). Read-only — does not modify contract state. Unrestricted — any address can ca…mintBurnFeeBasisPoints— Calls mintBurnFeeBasisPoints(). Read-only — does not modify contract state. Unrestricted — any addre…poolAmounts— Calls poolAmounts(param0: string). Read-only — does not modify contract state. Unrestricted — any ad…positions— Calls positions(param0: string). Read-only — does not modify contract state. Unrestricted — any addr…priceFeed— Calls priceFeed(). Read-only — does not modify contract state. Unrestricted — any address can call t…removeRouter— Calls removeRouter(_router: string). Write function — may have access control restrictions (e.g. onl…reservedAmounts— Calls reservedAmounts(param0: string). Read-only — does not modify contract state. Unrestricted — an…router— Calls router(). Read-only — does not modify contract state. Unrestricted — any address can call this…sellUSDG— Calls sellUSDG(_token: string, _receiver: string). Write function — may have access control restrict…setBufferAmount— Calls setBufferAmount(_token: string, _amount: string). Write function — may have access control res…setError— Calls setError(_errorCode: string, _error: string). Write function — may have access control restric…setErrorController— Calls setErrorController(_errorController: string). Write function — may have access control restric…setFees— Calls setFees(_taxBasisPoints: string, _stableTaxBasisPoints: string, _mintBurnFeeBasisPoints: strin…setFundingRate— Calls setFundingRate(_fundingInterval: string, _fundingRateFactor: string, _stableFundingRateFactor:…setGov— Calls setGov(_gov: string). Write function — may have access control restrictions (e.g. onlyOwner). …setInManagerMode— Calls setInManagerMode(_inManagerMode: boolean). Write function — may have access control restrictio…setInPrivateLiquidationMode— Calls setInPrivateLiquidationMode(_inPrivateLiquidationMode: boolean). Write function — may have acc…setIsLeverageEnabled— Calls setIsLeverageEnabled(_isLeverageEnabled: boolean). Write function — may have access control re…setIsSwapEnabled— Calls setIsSwapEnabled(_isSwapEnabled: boolean). Write function — may have access control restrictio…setLiquidator— Calls setLiquidator(_liquidator: string, _isActive: boolean). Write function — may have access contr…setManager— Calls setManager(_manager: string, _isManager: boolean). Write function — may have access control re…setMaxGasPrice— Calls setMaxGasPrice(_maxGasPrice: string). Write function — may have access control restrictions (e…setMaxLeverage— Calls setMaxLeverage(_maxLeverage: string). Write function — may have access control restrictions (e…setPriceFeed— Calls setPriceFeed(_priceFeed: string). Write function — may have access control restrictions (e.g. …setTokenConfig— Calls setTokenConfig(_token: string, _tokenDecimals: string, _tokenWeight: string, _minProfitBps: st…setUsdgAmount— Calls setUsdgAmount(_token: string, _amount: string). Write function — may have access control restr…shortableTokens— Calls shortableTokens(param0: string). Read-only — does not modify contract state. Unrestricted — an…stableFundingRateFactor— Calls stableFundingRateFactor(). Read-only — does not modify contract state. Unrestricted — any addr…stableSwapFeeBasisPoints— Calls stableSwapFeeBasisPoints(). Read-only — does not modify contract state. Unrestricted — any add…stableTaxBasisPoints— Calls stableTaxBasisPoints(). Read-only — does not modify contract state. Unrestricted — any address…stableTokens— Calls stableTokens(param0: string). Read-only — does not modify contract state. Unrestricted — any a…swap— Calls swap(_tokenIn: string, _tokenOut: string, _receiver: string). Write function — may have access…swapFeeBasisPoints— Calls swapFeeBasisPoints(). Read-only — does not modify contract state. Unrestricted — any address c…taxBasisPoints— Calls taxBasisPoints(). Read-only — does not modify contract state. Unrestricted — any address can c…tokenBalances— Calls tokenBalances(param0: string). Read-only — does not modify contract state. Unrestricted — any …tokenDecimals— Calls tokenDecimals(param0: string). Read-only — does not modify contract state. Unrestricted — any …tokenToUsdMin— Calls tokenToUsdMin(_token: string, _tokenAmount: string). Read-only — does not modify contract stat…tokenWeights— Calls tokenWeights(param0: string). Read-only — does not modify contract state. Unrestricted — any a…totalTokenWeights— Calls totalTokenWeights(). Read-only — does not modify contract state. Unrestricted — any address ca…updateCumulativeFundingRate— Calls updateCumulativeFundingRate(_token: string). Write function — may have access control restrict…upgradeVault— Calls upgradeVault(_newVault: string, _token: string, _amount: string). Write function — may have ac…usdToToken— Calls usdToToken(_token: string, _usdAmount: string, _price: string). Read-only — does not modify co…usdToTokenMax— Calls usdToTokenMax(_token: string, _usdAmount: string). Read-only — does not modify contract state.…usdToTokenMin— Calls usdToTokenMin(_token: string, _usdAmount: string). Read-only — does not modify contract state.…usdg— Calls usdg(). Read-only — does not modify contract state. Unrestricted — any address can call this r…usdgAmounts— Calls usdgAmounts(param0: string). Read-only — does not modify contract state. Unrestricted — any ad…useSwapPricing— Calls useSwapPricing(). Read-only — does not modify contract state. Unrestricted — any address can c…validateLiquidation— Calls validateLiquidation(_account: string, _collateralToken: string, _indexToken: string, _isLong: …whitelistedTokenCount— Calls whitelistedTokenCount(). Read-only — does not modify contract state. Unrestricted — any addres…whitelistedTokens— Calls whitelistedTokens(param0: string). Read-only — does not modify contract state. Unrestricted — …withdrawFees— Calls withdrawFees(_token: string, _receiver: string). Write function — may have access control rest…BuyUSDG— Event emitted by the contract. Subscribe via log filters.ClosePosition— Event emitted by the contract. Subscribe via log filters.CollectMarginFees— Event emitted by the contract. Subscribe via log filters.CollectSwapFees— Event emitted by the contract. Subscribe via log filters.DecreaseGuaranteedUsd— Event emitted by the contract. Subscribe via log filters.DecreasePoolAmount— Event emitted by the contract. Subscribe via log filters.DecreasePosition— Event emitted by the contract. Subscribe via log filters.DecreaseReservedAmount— Event emitted by the contract. Subscribe via log filters.DecreaseUsdgAmount— Event emitted by the contract. Subscribe via log filters.DirectPoolDeposit— Event emitted by the contract. Subscribe via log filters.IncreaseGuaranteedUsd— Event emitted by the contract. Subscribe via log filters.IncreasePoolAmount— Event emitted by the contract. Subscribe via log filters.IncreasePosition— Event emitted by the contract. Subscribe via log filters.IncreaseReservedAmount— Event emitted by the contract. Subscribe via log filters.IncreaseUsdgAmount— Event emitted by the contract. Subscribe via log filters.LiquidatePosition— Event emitted by the contract. Subscribe via log filters.SellUSDG— Event emitted by the contract. Subscribe via log filters.Swap— Event emitted by the contract. Subscribe via log filters.UpdateFundingRate— Event emitted by the contract. Subscribe via log filters.UpdatePnl— Event emitted by the contract. Subscribe via log filters.UpdatePosition— Event emitted by the contract. Subscribe via log filters.Connection
{ "mcpServers": { "gmx-mcp": { "url": "https://gmx.mcp.junct.dev/mcp", "transport": "streamable-http" } } }Registry entry (
servers.json){ "id": "gmx-mcp", "name": "Gmx MCP", "description": "Calls BASIS_POINTS_DIVISOR(). Read-only — does not modify contract state. Unrestricted — any address can call this read function. Returns uint256.", "repository": "https://github.com/junct-bot/gmx-mcp", "endpoint": "https://gmx.mcp.junct.dev/mcp", "transport": [ "streamable-http" ], "tags": [ "read", "lending", "oracle", "write", "erc20", "dex", "vault", "event" ], "version": "1.0.0", "author": "Junct", "llms_txt": "https://gmx.mcp.junct.dev/llms.txt", "created_at": "2026-03-14T06:33:01.949Z" }Generated by Junct — agent-readiness infrastructure for crypto/DeFi.