Skip to content

MCP Server

The XBTFX MCP Server exposes trading capabilities through the Model Context Protocol (MCP), a standard for connecting AI assistants to external tools and data sources.

The Model Context Protocol is an open standard that defines how AI assistants communicate with external tools. Instead of writing custom integration code, MCP-compatible clients can discover and use tools automatically through a structured protocol.

The XBTFX MCP Server will expose the full Trading API as MCP tools, allowing compatible assistants to:

  • Execute trades and manage positions
  • Query account balances and margin
  • Retrieve symbol specifications and live quotes
  • Stream real-time market data

The MCP Server will provide the same functionality as the four Skills Hub skills:

Tool GroupDescription
TradingOpen, close, modify, and reverse positions
AccountBalance, equity, margin, positions, orders, history
Market DataSymbol specifications and live quotes
WebSocketReal-time price feeds and account events

The MCP Server will support any MCP-compatible client. See Supported Clients for the planned list.

See Configuration for setup instructions (available when the server is released).

The Skills Hub provides the same API coverage through structured markdown files that work with any agent framework — Claude Code, LangChain, CrewAI, and more. It is the recommended approach for AI integration today.

Terminal window
# Get started with Skills Hub now
git clone https://github.com/XBTFX/xbtfx-skills-hub.git
claude --skill ./skills/xbtfx/xbtfx-trading/SKILL.md