Skip to main content
Glama
Midas-MCP

Midas-MCP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HEADLESSNoWhether to run the browser in headless mode. Set to true for environments without a display.
MIDAS_PHONEYesYour Midas account phone number without country code.
MIDAS_ONAY_X11NoSet to 1 to force X11 for the approval window on Wayland systems.
MIDAS_PASSWORDYesYour Midas account password.
MIDAS_HTTP_PORTNoPort for the optional persistent HTTP service.8766
MIDAS_TOKEN_FILENoPath to the bearer token file used for HTTP service authentication.~/.config/mcp-midas/token
MAX_ORDER_VALUE_TRYNoAdditional upper limit for order value in TRY. Does not replace the desktop approval requirement.10000
MIDAS_ORDERS_ENABLEDNoSet to exactly 1 to enable order tools (place_order, update_order, cancel_order). If unset or set to any other value, the order tools are not registered.

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
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_session_statusA

Returns whether the Midas session is open and when the refresh_token expires. Never starts a login and never sends an approval notification to the phone. status: logged-in, logged-out or starting (login in progress). The other tools start a login when the session is closed; call this first if you don't want that.

get_portfolioA

Returns the portfolio's total value in TRY, the day's profit/loss, and the cash balance and buying power of the Turkey (BIST/TRY) and US (USD) accounts.

get_assetsA

Lists all open positions (BIST stocks, US stocks, TEFAS funds, US options) with quantity, average cost, current price, market value and profit/loss.

get_asset_priceA

Returns a symbol's last trade price with the previous close, percent change and whether the session is open.

get_asset_infoA

Returns an instrument's profile (full name, market, description) with its current price and the Atlas instrument page statistics: for TEFAS funds the risk level (riskLevel), settlement days, tax, annual management fee and number of investors; for stocks the daily price band, 52-week range and ratios. Symbol search is fuzzy: check the exactMatch and name fields; if ambiguousSymbol is true, use the market parameter to reach the other instruments in candidates.

get_technicalsA

Computes a full technical analysis summary from a symbol's price history: RSI(14), SMA/EMA (20/50/200), MACD, Bollinger Bands, ATR and annualized volatility, the 52-week range, support/resistance levels from swing pivots, and volume relative to its average. Use these as inputs to your own analysis; none of them is investment advice.

get_chartA

Returns a symbol's raw OHLCV candles (open, high, low, close, volume, timestamp). For computed indicators use get_technicals; use this only when you need the raw series.

get_pending_ordersA

Lists orders that haven't filled yet, with their order IDs. Without symbol, returns the pending orders of all accounts (BIST, TEFAS, US) in one call; with symbol, only that instrument's orders.

get_transactionsA

Account activity history (Atlas "Transaction history"), newest first: stock/ETF/TEFAS fund buys and sells, TRY deposits and withdrawals, currency buys/sells, interest, withholding tax, dividends, instant cash. Each row has the date/time, category, symbol, side, order type, quantity, average price, amount, currency and status (COMPLETED, PENDING, CANCELLED, REJECTED, EXPIRED). Pending rows are always included. Default: the last 30 days.

get_transaction_filtersA

Lists the Atlas transaction history category tree (id, name, parentId) you can use as the get_transactions filter.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 10 tools

Disambiguation4/5

Each tool targets a distinct data type, and the descriptions explicitly disambiguate the riskiest pairs (get_chart for raw series vs get_technicals for computed indicators, get_session_status never triggering login). The only real soft overlap is get_asset_price vs get_asset_info, since the profile tool also returns current price and 52-week context, and get_technicals re-exposes price-derived stats. Agents can sort this out from the descriptions, but it costs a moment of uncertainty.

Naming Consistency5/5

Every tool follows the identical get_<resource> snake_case pattern with no exceptions or mixed verb styles. Resource names are specific and predictable (get_pending_orders, get_transaction_filters), making the surface easy to scan.

Tool Count5/5

Ten tools is squarely in the well-scoped range, and each covers a distinct data need: session, portfolio, positions, price, instrument info, technicals, candles, history, filter taxonomy, and open orders. Nothing feels redundant or padded.

Completeness4/5

The read/analytics surface is thorough: account state, holdings, valuation, pricing, fundamentals, technicals, raw candles, transaction history with filter discovery, and pending orders. The main gap is that get_pending_orders exposes order IDs but there is no order-level lookup, cancel, or modify tool, leaving a dead end for any follow-up action, and instrument search exists only as a side effect of get_asset_info.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues