Problem
When using the TiDB MCP server, there is no configurable timeout for establishing or handling connections.
In some cases, slow or stuck connections can hold resources for too long and affect overall server stability.
Proposal
Please add configurable timeout parameters for TiDB MCP connections, such as:
- connection timeout
- query/read timeout
Expected behavior
Users can set timeout values when configuring or starting the TiDB MCP server, and long-running or unhealthy connections fail fast once the timeout is exceeded.
Benefits
- prevents long-hanging connections
- reduces unnecessary resource usage
- improves MCP server robustness
Problem
When using the TiDB MCP server, there is no configurable timeout for establishing or handling connections.
In some cases, slow or stuck connections can hold resources for too long and affect overall server stability.
Proposal
Please add configurable timeout parameters for TiDB MCP connections, such as:
Expected behavior
Users can set timeout values when configuring or starting the TiDB MCP server, and long-running or unhealthy connections fail fast once the timeout is exceeded.
Benefits