Skip to content

Commit d42bc1d

Browse files
authored
Update README.md (#36)
Adding security consideration
1 parent 4cea684 commit d42bc1d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ Or, if you'd like to try it out with the [ClickHouse SQL Playground](https://sql
100100

101101
2. Add the following variables to a `.env` file in the root of the repository.
102102

103+
*Note: The use of the `default` user in this context is intended solely for local development purposes.*
104+
103105
```
104106
CLICKHOUSE_HOST=localhost
105107
CLICKHOUSE_PORT=8123
@@ -120,6 +122,9 @@ The following environment variables are used to configure the ClickHouse connect
120122
* `CLICKHOUSE_USER`: The username for authentication
121123
* `CLICKHOUSE_PASSWORD`: The password for authentication
122124

125+
> [!CAUTION]
126+
> It is important to treat your MCP database user as you would any external client connecting to your database, granting only the minimum necessary privileges required for its operation. The use of default or administrative users should be strictly avoided at all times.
127+
123128
#### Optional Variables
124129
* `CLICKHOUSE_PORT`: The port number of your ClickHouse server
125130
- Default: `8443` if HTTPS is enabled, `8123` if disabled

0 commit comments

Comments
 (0)