refs #731: expose database game scope MCP

This commit is contained in:
devmrko
2026-07-27 13:43:59 +09:00
parent a17f18cffe
commit 455e2aa222
5 changed files with 157 additions and 10 deletions

View File

@@ -77,6 +77,12 @@ backoffice:
profile: ${BACKOFFICE_SELECT_AI_PROFILE:}
few-shot-enabled: ${BACKOFFICE_SELECT_AI_FEW_SHOT_ENABLED:true}
few-shot-top-k: ${BACKOFFICE_SELECT_AI_FEW_SHOT_TOP_K:3}
game-scope:
# Customer DB view contract: aliases + profile object list + Oracle objects.
# No customer game or table identifier is embedded in application code.
enabled: ${BACKOFFICE_GAME_SCOPE_ENABLED:false}
view-name: ${BACKOFFICE_GAME_SCOPE_VIEW:}
max-scopes: ${BACKOFFICE_GAME_SCOPE_MAX_SCOPES:8}
catalog:
owner: ${BACKOFFICE_CATALOG_OWNER:}
objects: ${BACKOFFICE_CATALOG_OBJECTS:}
@@ -101,6 +107,9 @@ backoffice:
few-shot-nl2sql-tool-name: ${BACKOFFICE_MCP_FEW_SHOT_NL2SQL_TOOL_NAME:oracle.select_ai.smilegate_fewshot_nl2sql}
few-shot-nl2sql-tool-label: ${BACKOFFICE_MCP_FEW_SHOT_NL2SQL_TOOL_LABEL:Few-shot NL2SQL 실행}
few-shot-nl2sql-tool-description: ${BACKOFFICE_MCP_FEW_SHOT_NL2SQL_TOOL_DESCRIPTION:벡터 Few-shot 예제를 찾아 prompt에 반영하고 SHOWSQL로 생성한 읽기 전용 SQL을 실행합니다. Few-shot 근거, 생성 SQL, 실행 결과를 함께 반환합니다.}
game-scope-tool-name: ${BACKOFFICE_MCP_GAME_SCOPE_TOOL_NAME:oracle.select_ai.game_scope_resolve}
game-scope-tool-label: ${BACKOFFICE_MCP_GAME_SCOPE_TOOL_LABEL:게임 조회 범위 확인}
game-scope-tool-description: ${BACKOFFICE_MCP_GAME_SCOPE_TOOL_DESCRIPTION:질문에서 언급된 게임 별칭을 DB 게임 범위 view로 확인합니다. 데이터 SQL은 실행하지 않으며, 반환된 SUPPORTED scope에만 Few-shot NL2SQL을 호출하세요.}
masking:
policies: ${BACKOFFICE_MASKING_POLICIES:}
security-sql-scripts: