Skip to main content
Glama
Yumin-Kim

HTS MetaTrader5 Trading MCP

by Yumin-Kim

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HTTP_PORTNoPort for the MCP server HTTP API.3000

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
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_candlesA

Get historical candle data for a forex symbol. Sends a command to EA and waits for the result (up to 60 seconds). Returns the complete candle data with OHLC values. (Forex 심볼의 캔들 데이터 조회. EA에 커맨드를 전송하고 결과를 기다립니다. 완료된 캔들 데이터를 반환합니다.)

get_bulk_candlesA

Get historical candle data for multiple timeframes at once. Sends a command to EA and waits for the result (up to 120 seconds). Returns candle data for all requested timeframes. (다중 타임프레임 캔들 데이터 조회. EA에 커맨드를 전송하고 결과를 기다립니다. 요청한 모든 타임프레임의 캔들 데이터를 반환합니다.)

get_accountsA

Get all trading accounts information. (모든 트레이딩 계정 정보를 조회합니다.)

get_accountA

Get specific trading account information by account number. (계정 번호로 특정 트레이딩 계정 정보를 조회합니다.)

get_positionsA

Get all open positions from trading accounts. (트레이딩 계정의 모든 오픈 포지션을 조회합니다.)

get_ordersA

Get all pending orders from trading accounts. (트레이딩 계정의 모든 대기 주문을 조회합니다.)

get_command_queueA

Get the current command queue status. Shows pending commands waiting for EA to process. (현재 커맨드 큐 상태 조회. EA가 처리 대기 중인 커맨드 목록을 보여줍니다.)

get_handler_queueB

Get the handler queue status. Shows command execution results from EA. (핸들러 큐 상태 조회. EA로부터 받은 커맨드 실행 결과 목록을 보여줍니다.)

get_handler_resultB

Get a specific handler result by command ID. (특정 커맨드 ID로 핸들러 결과를 조회합니다.)

open_orderA

Open a new trading order (market or pending). Order types explained:

  • BUY/SELL: Market orders execute immediately at current price

  • BUY_LIMIT: Buy BELOW current price (buy when price drops)

  • SELL_LIMIT: Sell ABOVE current price (sell when price rises)

  • BUY_STOP: Buy ABOVE current price (buy on breakout up)

  • SELL_STOP: Sell BELOW current price (sell on breakdown) IMPORTANT: For SELL_STOP, price must be BELOW current market price. (새로운 거래 주문을 생성합니다. SELL_STOP은 현재가 아래에 설정해야 합니다.)

modify_orderA

Modify an existing pending order. You can update price, stop loss, take profit, and expiration time. The expiry parameter accepts Unix timestamp (seconds since 1970-01-01). If expiry is set, the order will be automatically cancelled at that time if not filled. (기존 대기 주문을 수정합니다. 가격, 손절가, 익절가, 만료시간을 업데이트할 수 있습니다.)

cancel_orderB

Cancel a pending order. (대기 주문을 취소합니다.)

get_ordersA

Get all pending orders, optionally filtered by symbol. (모든 대기 주문을 조회합니다. 심볼로 필터링할 수 있습니다.)

close_positionA

Close an open position (full or partial). (포지션을 종료합니다. 전체 또는 부분 종료 가능합니다.)

modify_positionA

Modify an open position's stop loss and/or take profit. (포지션의 손절가 및/또는 익절가를 수정합니다.)

get_positionsA

Get all open positions, optionally filtered by symbol. (모든 오픈 포지션을 조회합니다. 심볼로 필터링할 수 있습니다.)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/Yumin-Kim/hts-mcp-server'

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