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.
What Is MCP?
Section titled “What Is MCP?”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
Planned Capabilities
Section titled “Planned Capabilities”The MCP Server will provide the same functionality as the four Skills Hub skills:
| Tool Group | Description |
|---|---|
| Trading | Open, close, modify, and reverse positions |
| Account | Balance, equity, margin, positions, orders, history |
| Market Data | Symbol specifications and live quotes |
| WebSocket | Real-time price feeds and account events |
Supported Clients
Section titled “Supported Clients”The MCP Server will support any MCP-compatible client. See Supported Clients for the planned list.
Configuration
Section titled “Configuration”See Configuration for setup instructions (available when the server is released).
Current Alternative
Section titled “Current Alternative”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.
# Get started with Skills Hub nowgit clone https://github.com/XBTFX/xbtfx-skills-hub.gitclaude --skill ./skills/xbtfx/xbtfx-trading/SKILL.md