File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ We do not recommend letting LLM-based agents insert or modify data by itself.
4545As such, only ` SELECT ` statements are permitted and forwarded to the database.
4646All other operations will raise a ` ValueError ` exception, unless the
4747` CRATEDB_MCP_PERMIT_ALL_STATEMENTS ` environment variable is set to a
48- truthy value.
48+ truthy value. This is ** not ** recommended.
4949
5050# Install
5151``` shell
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ def sql_is_permitted(expression: str) -> bool:
1515 Validate the SQL expression, only permit read queries by default.
1616
1717 When the `CRATEDB_MCP_PERMIT_ALL_STATEMENTS` environment variable is set,
18- allow all types of statements.
18+ allow all types of statements. This is **not** recommended.
1919
2020 FIXME: Revisit implementation, it might be too naive or weak.
2121 Issue: https://github.com/crate/cratedb-mcp/issues/10
You can’t perform that action at this time.
0 commit comments