feat: day_trading _execute_entry MCP 리스크 평가 연동 + .env.example MCP_CORS_ORIGINS 문서화
This commit is contained in:
@@ -9,6 +9,15 @@ CLAUDE_MODEL=claude-3-5-sonnet-20241022
|
||||
CLAUDE_MAX_TOKENS=4096
|
||||
CLAUDE_TEMPERATURE=0.7
|
||||
|
||||
# Gemini AI Configuration (AI_PROVIDER=gemini 시 사용)
|
||||
GEMINI_API_KEY=your_gemini_api_key_here
|
||||
GEMINI_MODEL=gemini-2.0-flash
|
||||
GEMINI_MAX_TOKENS=1024
|
||||
GEMINI_TEMPERATURE=0.3
|
||||
|
||||
# AI Provider (claude 또는 gemini)
|
||||
AI_PROVIDER=gemini
|
||||
|
||||
# Backend API Configuration
|
||||
BACKEND_API_URL=http://localhost:8000
|
||||
BACKEND_API_TIMEOUT=30
|
||||
@@ -34,6 +43,21 @@ KIS_APP_SECRET=your_virtual_app_secret_here
|
||||
KIS_ACCOUNT_NO=your_virtual_account_number_here
|
||||
KIS_BASE_URL=https://openapivts.koreainvestment.com:29443
|
||||
|
||||
# ────────────────────────────────────────────────────────────────────
|
||||
# CORS 설정 (이슈 5)
|
||||
# MCP 서버는 서버-서버 통신 전용 → allow_credentials=False 고정
|
||||
# 아래 환경변수로 허용 Origin을 명시적으로 제한한다.
|
||||
#
|
||||
# Docker Compose (backend 컨테이너에서 호출):
|
||||
# MCP_CORS_ORIGINS=http://backend:8000
|
||||
#
|
||||
# 로컬 개발 (localhost에서 호출):
|
||||
# MCP_CORS_ORIGINS=http://localhost:8000,http://127.0.0.1:8000
|
||||
#
|
||||
# 기본값 (미설정 시): http://localhost:8000,http://127.0.0.1:8000,http://backend:8000
|
||||
# ────────────────────────────────────────────────────────────────────
|
||||
MCP_CORS_ORIGINS=http://localhost:8000,http://127.0.0.1:8000,http://backend:8000
|
||||
|
||||
# Tool Configuration
|
||||
ENABLE_MARKET_DATA_TOOL=true
|
||||
ENABLE_INDICATOR_TOOL=true
|
||||
|
||||
Reference in New Issue
Block a user