Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HTTPS_PROXYNoHTTP proxy URL (e.g., http://127.0.0.1:7890)
EDGEX_TESTNETNoSet to '1' to use testnet0
EDGEX_BASE_URLNoOverride REST API URL
EDGEX_ACCOUNT_IDYesYour EdgeX account ID
EDGEX_STARK_PRIVATE_KEYYesYour StarkEx private key

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
edgex_get_auth_statusA

Check if authentication is configured. CALL THIS FIRST at the start of every session. Returns whether account credentials are set up and what tools are available.

edgex_get_environmentA

Get current MCP environment: baseUrl, testnet/mainnet, and auth status.

edgex_get_tickerA

Get 24h ticker: price, volume, open interest, funding rate. Omit symbol to get all contracts (uses cached contract list, may return subset).

edgex_get_depthA

Get order book depth (bids and asks) for a contract.

edgex_get_klineC

Get candlestick/kline data for technical analysis.

edgex_get_fundingA

Get current and predicted funding rate. Positive = longs pay shorts. Omit symbol for first N contracts from cache.

edgex_get_ratioA

Get long/short ratio aggregated from multiple exchanges (Binance, OKX, Bybit, etc.).

edgex_get_summaryB

Get market-wide volume and trading summary.

edgex_get_balancesB

Get account balances, positions, and equity. Requires EDGEX_ACCOUNT_ID and EDGEX_STARK_PRIVATE_KEY.

edgex_get_positionsA

Get open positions with unrealized PnL. Returns empty array if no positions.

edgex_get_ordersC

Get active/pending orders.

edgex_get_order_statusB

Get status of a specific order by ID.

edgex_get_max_sizeA

Get maximum order size for a contract given current balance and leverage.

edgex_set_leverageB

Set leverage for a contract. EdgeX uses cross-margin mode.

edgex_place_orderA

Place a limit or market order. For stock contracts during market closure, only limit orders are allowed. ALWAYS confirm with the user before calling this tool.

edgex_cancel_orderA

Cancel one or more orders by ID.

edgex_cancel_all_ordersA

Cancel all active orders, optionally filtered by symbol.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
trading-rulesEdgeX trading rules: margin, stock contract restrictions, order types, funding, liquidation, price types
agent-guidelinesBest practices and workflows for AI agents using EdgeX MCP tools
output-schemasJSON response schemas for all EdgeX MCP tools

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/realnaka/edgex-mcp'

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