Tools reference

This commit is contained in:
Chen, Li
2026-10-09 11:03:25 +08:00
parent e08f6c0525
commit 959fbcccb2
21 changed files with 1861 additions and 146 deletions
+21 -13
View File
@@ -1,23 +1,31 @@
# Override the .env file path (default: .env in working directory)
# Database
DB_HOST=127.0.0.1
DB_PORT=3306
DB_USER=root
# --- Database ---
DB_HOST=
DB_PORT=
DB_USER=
DB_PASSWORD=
DB_DATABASE=
DB_POOL_MIN=1
DB_POOL_MAX=10
DB_CONNECT_TIMEOUT=10.0
DB_SCHEMA=
DB_CONNECT_TIMEOUT=30
DB_POOL_SIZE=5
DB_MAX_OVERFLOW=10
DB_POOL_TIMEOUT=30
# Recycle before the server-side wait_timeout kicks in
DB_POOL_RECYCLE=1800
DB_POOL_PRE_PING=true
# Connections opened eagerly right after an engine is created
DB_WARMUP_SIZE=1
DB_MAX_TOTAL_CONNECTIONS=20
DB_HEALTH_CHECK_INTERVAL=30
# Query
# --- Query limits ---
QUERY_MAX_ROWS=1000
QUERY_TIMEOUT_SECONDS=30.0
# Set to true to allow INSERT / UPDATE / DELETE / DDL
QUERY_MAX_BYTES=4000000
QUERY_TIMEOUT_SECONDS=30
QUERY_ALLOW_WRITE=false
# Server
# --- MCP server ---
MCP_TRANSPORT=stdio
MCP_HOST=127.0.0.1
MCP_PORT=8000
LOG_LEVEL=INFO
LOG_LEVEL=INFO