xtb-mcp-server

sharplygroup/xtb-mcp-server

3.2

If you are the rightful owner of xtb-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

This is an MCP server that exposes the XTB API using the `@sharplygroup/xtb-api-js` library, allowing interaction with XTB trading accounts through the Model Context Protocol.

Tools

Functions exposed to the LLM to take actions

getCurrentUserData

Returns information about account currency and account leverage.

getMarginLevel

Returns various account indicators.

getCommissionDef

Returns calculation of commission and rate of exchange.

getMarginTrade

Returns expected margin for given instrument and volume.

getProfitCalculation

Calculates estimated profit for given deal data.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources