Created full README.md for gridbot-mcp including:
**MCP Server Documentation:**
- Configuration for Claude Code
- Complete tool reference (60+ tools)
- Monitoring, trading, analysis, system tools
- Signal intents and scale-out features
**CLI Wrapper Documentation:**
- Full command reference for gridbot CLI
- Session start (recommended workflow)
- Monitoring commands
- Market data commands
- Trading validation
- Analysis tools
- Emergency operations
**Architecture:**
- Conductor API integration
- Position management with real-time P/L
- Risk management and circuit breakers
- PI Consensus integration
CLI wrapper located at:
~/Development/Infrastructure/AgilitonScripts/bin/gridbot
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Added 4 new MCP tools for Session 452 - 24/5 Trading Enhancement:
1. market_closure_context
- Get current market closure context and crypto allocation adjustments
- Endpoint: /api/dashboard/market-closure-context
2. pi_consensus_query
- Get PI consensus data for a symbol (3+ PIs holding)
- Endpoint: /api/pi-intelligence/consensus/{symbol}
3. pi_consensus_top
- Get top PI consensus opportunities
- Endpoint: /api/pi-intelligence/consensus/top
4. pi_scan_trigger
- Trigger manual PI portfolio scan
- Endpoint: /api/pi-intelligence/scan/trigger
USAGE: Enables Claude to query market status and PI consensus during
trading sessions, supporting dynamic strategy adjustments.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Updated server.py BASE_URL to use services.agiliton.internal
- Updated docstring with new default URL
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Changed is_tsl_enabled default from False to True in:
- Tool schema definition
- Payload construction (arguments.get default)
Fixes issue where MCP tool was overriding conductor API schema
default. Requires Claude Code restart to reload MCP tools.
Related: eToroGridbot commit 2d91848
- Change error messages from "SSH tunnel" to "VPN"
- Update docstring to reference VPN and GRIDBOT_API_URL
- Default API URL now http://10.0.1.3:8000 (conductor on infra VM)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Position Exit Management System support:
- scale_out_status: Service status and statistics
- scale_out_pending: Positions awaiting scale-out
- scale_out_stats: Execution statistics
- scale_out_set_dry_run: Toggle dry-run mode
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>