Files
ai/doc/m_c_p_tools_architecture.md

30 lines
1.1 KiB
Markdown

MCP Tools (User Container)
├── Memory
│ ├── get_conversation_history(limit)
│ ├── save_message(role, content)
│ ├── search_memory(query) ← semantic search over past conversations
│ └── get_context_summary() ← "who is this user, what do they care about"
├── Strategies & Indicators
│ ├── list_strategies()
│ ├── read_strategy(name)
│ ├── write_strategy(name, code)
│ ├── list_indicators()
│ ├── read_indicator(name)
│ ├── write_indicator(name, code)
│ └── run_backtest(strategy, params)
├── Preferences
│ ├── get_preferences()
│ ├── set_preference(key, value)
│ └── get_agent_prompt() ← user's custom system prompt additions
├── Trading
│ ├── get_watchlist()
│ ├── execute_trade(params)
│ ├── get_positions()
│ └── get_trade_history()
└── Sandbox
└── run_python(code) ← datascience toolset, matplotlib, etc.