Skip to content

Conversation

joe-clickhouse
Copy link
Contributor

Makes SELECT query timeout configurable via CLICKHOUSE_MCP_QUERY_TIMEOUT environment variable and improves configuration architecture by:

  • Adding configurable query timeout CLICKHOUSE_MCP_QUERY_TIMEOUT environment variable (default: 30 seconds, which follows what it was hard-coded to previously) to allow users to execute heavy queries without timeout errors
  • Refactoring configuration by extracting MCP server-level settings into new MCPServerConfig class, separating concerns from ClickHouse connection settings

Closes #74

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hardcoded SELECT_QUERY_TIMEOUT_SECS=30

1 participant