Skip to main content
Glama
mohamadasani494-pixel

Bot12 MCP Server

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.txt

2. Configure Environment

cp .env.example .env
# Edit .env with your bot12 credentials

3. 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.py

5. Test with MCP Inspector

npx @modelcontextprotocol/inspector python bot12_mcp_template.py

6. 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 equity

  • get_active_positions() - List open positions

  • get_market_price(symbol) - Get bid/ask prices

Trading Operations

  • execute_trade(symbol, quantity, direction, ...) - Place a trade

  • close_position(position_id) - Close a position

Reporting

  • get_trade_history(limit, symbol) - View past trades

  • generate_performance_report(start_date, end_date) - Get statistics

System

  • get_system_status() - Check bot health

  • get_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

Next Steps

  1. Read QUICK_START.md for fast setup

  2. Customize bot12_mcp_template.py with your bot12 code

  3. Test with MCP Inspector

  4. Integrate with Claude Desktop

  5. Deploy!

For complete details, see BOT12_MCP_SETUP_GUIDE.md

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Enables 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.
    Last updated
    23
    11
    23
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables 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.
    Last updated
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables AI assistants like Claude to run backtests, fetch market data, list strategies, and analyze trading algorithms via natural language.
    Last updated
    984
    GPL 3.0

View all related MCP servers

Related MCP Connectors

  • Trade Robinhood through natural language in Claude Code.

  • Crypto market data for AI agents via x402. 16 tools: prices, funding, DeFi yields, arbitrage, TA.

  • Live SEO workflow tools for Claude Code, Codex, and AI agents.

View all MCP Connectors

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/mohamadasani494-pixel/bot12-mcp-server'

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