Skip to content

Docs/document proxy path and truststore env vars#196

Open
arekborucki wants to merge 2 commits into
ClickHouse:mainfrom
arekborucki:docs/document-proxy-path-and-truststore-env-vars
Open

Docs/document proxy path and truststore env vars#196
arekborucki wants to merge 2 commits into
ClickHouse:mainfrom
arekborucki:docs/document-proxy-path-and-truststore-env-vars

Conversation

@arekborucki

Copy link
Copy Markdown

What

Documents two existing-but-undocumented environment variables in the README:

  • CLICKHOUSE_PROXY_PATH read in ClickHouseConfig.proxy_path (mcp_clickhouse/mcp_env.py) and passed to clickhouse_connect.get_client(proxy_path=...). For ClickHouse servers served under a sub-path
    behind an HTTP proxy.
  • MCP_CLICKHOUSE_TRUSTSTORE_DISABLE read in mcp_clickhouse/__init__.py; unless set to "1", the package calls truststore.inject_into_ssl() at startup. Setting it to "1" falls back to Python's
    default SSL handling. Complements the existing CLICKHOUSE_VERIFY truststore note.

Why

Both are user-configurable but absent from the docs, so users behind proxies or with custom TLS setups can't discover them without reading the source.

Notes

Docs-only change. purely additive, no code or tests affected.

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.

1 participant