Geen omschrijving

Lukas Goldschmidt d2f540c1d0 Add standardized strategy MCP tools 1 maand geleden
src d2f540c1d0 Add standardized strategy MCP tools 1 maand geleden
strategies d2f540c1d0 Add standardized strategy MCP tools 1 maand geleden
tests feb4ec9bde Add stop loss rebalancer strategy 1 maand geleden
.env 22e90fa945 mcp clients fix, config to .env 1 maand geleden
.env.example eb694cf545 gitignore 1 maand geleden
.gitignore dee55c5c57 Ignore runtime data directory 1 maand geleden
Grid_Bot_Architecture.md 92679277ad Document strategy persistence and grid architecture 1 maand geleden
MCP_SURFACE_PROPOSAL.md d2f540c1d0 Add standardized strategy MCP tools 1 maand geleden
PROJECT.md d2f540c1d0 Add standardized strategy MCP tools 1 maand geleden
README.md d2f540c1d0 Add standardized strategy MCP tools 1 maand geleden
Strategy_Contract.md 92679277ad Document strategy persistence and grid architecture 1 maand geleden
Strategy_Runtime.md 92679277ad Document strategy persistence and grid architecture 1 maand geleden
Strategy_concepts_0.md 92679277ad Document strategy persistence and grid architecture 1 maand geleden
Strategy_concepts_1.md 92679277ad Document strategy persistence and grid architecture 1 maand geleden
Strategy_concepts_2.md c7dda72849 strategies table looking great 1 maand geleden
Strategy_concepts_examples.md 92679277ad Document strategy persistence and grid architecture 1 maand geleden
grid_bot_concept.md 92679277ad Document strategy persistence and grid architecture 1 maand geleden
killserver.sh 7dbaa98994 initial commit - server scaffold 1 maand geleden
requirements.txt 7dbaa98994 initial commit - server scaffold 1 maand geleden
restart.sh 7dbaa98994 initial commit - server scaffold 1 maand geleden
run.sh c7dda72849 strategies table looking great 1 maand geleden
test_servers.sh c7dda72849 strategies table looking great 1 maand geleden
tests.sh c7dda72849 strategies table looking great 1 maand geleden

README.md

Trader MCP

MCP server for trading-related helper functions, with a dashboard for accounts and strategies.

Current MCP tools

  • list_strategies
  • get_strategy
  • update_strategy
  • control_strategy

Endpoints

  • GET / - landing page
  • GET /health - lightweight health check
  • GET /mcp/sse - MCP SSE transport endpoint

Quick start

source .venv/bin/activate
pip install -r requirements.txt
./run.sh

Default port: 8570

MCP

The public MCP surface is intentionally small:

  • list_strategies() returns a compact inventory
  • get_strategy(id, include_render=False, include_debug=False) returns one strategy with live metadata
  • update_strategy(id, config=None, state=None) updates config/state and reconciles
  • control_strategy(id, action) handles start, pause, resume, stop, reconcile

Dashboard

  • accounts section is collapsed by default
  • strategies table stays visible
  • per-strategy details expand below the row
  • live render panels update automatically
  • config is editable inline in the detail row

Development

See run.sh, tests.sh, killserver.sh, and restart.sh in this folder.