Bot12 MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Bot12 MCP Serverwhat's my account balance?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Bot12 MCP Server
A complete, production-ready MCP (Model Context Protocol) server template that converts your bot12 trading bot into tools that Claude and other AI assistants can use.
Features
✅ 9 Pre-built Trading Tools - Account info, positions, trades, reporting
✅ Production Ready - Error handling, logging, security
✅ Pydantic Validation - Type-safe data structures
✅ Claude Integration - Works with Claude Desktop
✅ Comprehensive Docs - Multiple guides included
✅ MIT Licensed - Free to use and modify
Related MCP server: Alpaca MCP Server
Quick Start
1. Install Dependencies
pip install -r requirements.txt2. Configure Environment
cp .env.example .env
# Edit .env with your bot12 credentials3. Customize the Server
Edit bot12_mcp_template.py and replace the 4 TODO helper functions with your actual bot12 code.
4. Run the Server
python bot12_mcp_template.py5. Test with MCP Inspector
npx @modelcontextprotocol/inspector python bot12_mcp_template.py6. Add to Claude Desktop
Edit ~/.config/Claude/claude_desktop_config.json:
{
"mcpServers": {
"bot12": {
"command": "python",
"args": ["/absolute/path/to/bot12_mcp_template.py"]
}
}
}Tools Available
Account & Positions
get_account_balance()- Get balance and equityget_active_positions()- List open positionsget_market_price(symbol)- Get bid/ask prices
Trading Operations
execute_trade(symbol, quantity, direction, ...)- Place a tradeclose_position(position_id)- Close a position
Reporting
get_trade_history(limit, symbol)- View past tradesgenerate_performance_report(start_date, end_date)- Get statistics
System
get_system_status()- Check bot healthget_bot_logs(limit, level)- View recent logs
Documentation
QUICK_START.md - 30-minute quick start guide
BOT12_MCP_SETUP_GUIDE.md - Comprehensive 7-step setup
INDEX.md - Complete file reference
Repository
GitHub: https://github.com/mohamadasani494-pixel/bot12-mcp-server
License: MIT
Status: Production Ready
Next Steps
Read QUICK_START.md for fast setup
Customize bot12_mcp_template.py with your bot12 code
Test with MCP Inspector
Integrate with Claude Desktop
Deploy!
For complete details, see BOT12_MCP_SETUP_GUIDE.md
This server cannot be deployed
Maintenance
Related MCP Connectors
AI trading bots: generate strategies, backtest, deploy live to 10+ brokers. No coding required.
Agent personas for Claude. 16 tools, 13 personas, 3 workflows. Zero extra API cost. Free.
- Era ContextOAuthapp.era
Personal finance, bank account, and shared memory connector for Claude, ChatGPT, Gemini Spark & more
Trade 16 crypto exchanges + MetaTrader 5 from your AI assistant via one MCP connection.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants like Claude to interact with Paper's trading platform API using natural language, allowing users to manage accounts, portfolios, trades, and access market data through conversational requests.239 npm23MIT
- AlicenseNot gradedqualityDmaintenanceEnables natural language trading operations through Alpaca's Trading API, supporting stocks, options, crypto, portfolio management, and real-time market data access through AI assistants like Claude.MIT
- AlicenseAqualityDmaintenanceEnables Claude and Gemini CLI to interact with Hummingbot for automated cryptocurrency trading across multiple exchanges.11Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants like Claude to run backtests, fetch market data, list strategies, and analyze trading algorithms via natural language.1,068GPL 3.0