sql-talk
Version:
SQL Talk - 自然言語をSQLに変換するMCPサーバー(安全性保護・SSHトンネル対応) / SQL Talk - MCP Server for Natural Language to SQL conversion with safety guards and SSH tunnel support
58 lines (49 loc) • 1.2 kB
YAML
# MySQL用設定ファイルサンプル
# MySQL Configuration Sample
engine: mysql
connections:
read_only:
host: localhost
port: 3306
user: db_ro
password: ${DB_RO_PASSWORD}
database: myapp
ssl: false
ddl_comment:
host: localhost
port: 3306
user: db_comment
password: ${DB_COMMENT_PASSWORD}
database: myapp
ssl: false
limits:
default_limit: 200
max_limit: 10000
timeout_ms: 5000
max_result_bytes: 16777216 # 16MB
pii:
column_patterns:
- "name|氏名|名前"
- "address|住所|所在地"
- "tel|phone|電話|携帯"
- "dob|birth|生年月日|誕生日"
- "insur|保険|被保険者"
- "email|メール"
- "ssn|社会保障|マイナンバー"
masking:
enabled: true
strategy: partial # partial | hash | redact
schema_cache:
path: ./.cache/schema_cache.json
refresh_on_start: true
comment_infer:
style: concise # concise | verbose
dictionary_paths:
- ./domain_dict/kaigo.yml
- ./domain_dict/common.yml
audit:
sink: file # file | stdout
path: ./logs/audit.ndjson
approval:
provider: file_token # file_token | http_webhook
token_file: ./.secrets/approval.token