|
9 | 9 | } |
10 | 10 | }, |
11 | 11 | "explanation": { |
12 | | - "purpose": "Enhanced DBeaver MCP Server configuration for Claude Desktop", |
| 12 | + "purpose": "DBeaver MCP Server configuration for Claude Desktop", |
13 | 13 | "features": [ |
14 | | - "Universal database support (200+ databases)", |
15 | | - "Resource-based schema browsing", |
16 | | - "Business insights tracking", |
17 | | - "Complete DDL operations", |
18 | | - "Multiple export formats", |
19 | | - "Advanced safety features" |
| 14 | + "Native query execution for PostgreSQL, MySQL/MariaDB, SQLite, SQL Server", |
| 15 | + "DBeaver CLI fallback for other database types", |
| 16 | + "Connection pooling and transaction support", |
| 17 | + "Query execution plan analysis (EXPLAIN)", |
| 18 | + "Schema comparison between connections", |
| 19 | + "Connection whitelisting for access control", |
| 20 | + "Read-only mode and tool filtering", |
| 21 | + "Data export to CSV/JSON" |
20 | 22 | ], |
21 | 23 | "tools_available": [ |
22 | 24 | "list_connections", |
23 | | - "get_connection_info", |
| 25 | + "get_connection_info", |
24 | 26 | "execute_query", |
25 | 27 | "write_query", |
26 | 28 | "create_table", |
|
31 | 33 | "export_data", |
32 | 34 | "test_connection", |
33 | 35 | "get_database_stats", |
| 36 | + "begin_transaction", |
| 37 | + "commit_transaction", |
| 38 | + "rollback_transaction", |
| 39 | + "execute_in_transaction", |
| 40 | + "explain_query", |
| 41 | + "compare_schemas", |
| 42 | + "get_pool_stats", |
34 | 43 | "append_insight", |
35 | 44 | "list_insights" |
36 | 45 | ], |
37 | 46 | "environment_variables": { |
38 | 47 | "DBEAVER_PATH": "Custom path to DBeaver executable (auto-detected if not set)", |
| 48 | + "DBEAVER_WORKSPACE": "Custom DBeaver workspace path (OS default if not set)", |
39 | 49 | "DBEAVER_TIMEOUT": "Query timeout in milliseconds (default: 30000)", |
40 | | - "DBEAVER_DEBUG": "Enable debug logging (true/false)" |
| 50 | + "DBEAVER_DEBUG": "Enable debug logging (true/false)", |
| 51 | + "DBEAVER_READ_ONLY": "Disable all write operations (true/false)", |
| 52 | + "DBEAVER_ALLOWED_CONNECTIONS": "Comma-separated whitelist of connection IDs or names", |
| 53 | + "DBEAVER_DISABLED_TOOLS": "Comma-separated list of tools to disable" |
41 | 54 | }, |
42 | 55 | "configuration_examples": { |
43 | 56 | "production": { |
44 | 57 | "command": "dbeaver-mcp-server", |
45 | 58 | "env": { |
46 | | - "DBEAVER_DEBUG": "false", |
| 59 | + "DBEAVER_READ_ONLY": "true", |
| 60 | + "DBEAVER_ALLOWED_CONNECTIONS": "prod-readonly", |
47 | 61 | "DBEAVER_TIMEOUT": "60000" |
48 | 62 | } |
49 | 63 | }, |
|
54 | 68 | "DBEAVER_TIMEOUT": "30000" |
55 | 69 | } |
56 | 70 | }, |
57 | | - "custom_path": { |
| 71 | + "restricted": { |
58 | 72 | "command": "dbeaver-mcp-server", |
59 | 73 | "env": { |
60 | | - "DBEAVER_PATH": "/custom/path/to/dbeaver", |
61 | | - "DBEAVER_DEBUG": "false", |
62 | | - "DBEAVER_TIMEOUT": "45000" |
| 74 | + "DBEAVER_READ_ONLY": "true", |
| 75 | + "DBEAVER_DISABLED_TOOLS": "drop_table,alter_table", |
| 76 | + "DBEAVER_ALLOWED_CONNECTIONS": "analytics-db,reporting-db" |
63 | 77 | } |
64 | 78 | } |
65 | 79 | } |
|
0 commit comments