Available Tools
The DBeaver MCP Server provides 14 powerful tools organized into four categories. Each tool is designed with safety in mind, with clear indicators of their impact level.
📋 Connection Management
list_connections
Description: List all available DBeaver database connections
Safety Level: ✅ Safe
Parameters:
includeDetails(optional): Include detailed connection information
Example:
{
"includeDetails": true
}
get_connection_info
Description: Get detailed information about a specific DBeaver connection
Safety Level: ✅ Safe
Parameters:
connectionId(required): The ID or name of the DBeaver connection
test_connection
Description: Test connectivity to a DBeaver connection
Safety Level: ✅ Safe
Parameters:
connectionId(required): The ID or name of the DBeaver connection to test
📊 Data Operations
execute_query
Description: Execute SELECT queries (read-only)
Safety Level: ✅ Safe
Parameters:
connectionId(required): The ID or name of the DBeaver connectionquery(required): The SQL query to execute (SELECT statements only)maxRows(optional): Maximum number of rows to return (default: 1000)
write_query
Description: Execute INSERT, UPDATE, or DELETE queries
Safety Level: ⚠️ Modifies data
Parameters:
connectionId(required): The ID or name of the DBeaver connectionquery(required): The SQL query to execute (INSERT, UPDATE, DELETE)
export_data
Description: Export query results to various formats (CSV, JSON, XML, Excel)
Safety Level: ✅ Safe
Parameters:
connectionId(required): The ID or name of the DBeaver connectionquery(required): The SQL query to execute for export (SELECT only)format(optional): Export format (csv, json, xml, excel) - default: csvincludeHeaders(optional): Include column headers in export - default: truemaxRows(optional): Maximum number of rows to export - default: 10000
🏗️ Schema Management
list_tables
Description: List all tables and views in a database
Safety Level: ✅ Safe
Parameters:
connectionId(required): The ID or name of the DBeaver connectionschema(optional): Specific schema to list tables fromincludeViews(optional): Include views in the results - default: false
get_table_schema
Description: Get detailed table schema information
Safety Level: ✅ Safe
Parameters:
connectionId(required): The ID or name of the DBeaver connectiontableName(required): The name of the table to describeincludeIndexes(optional): Include index information - default: true
create_table
Description: Create new database tables
Safety Level: ⚠️ Schema changes
Parameters:
connectionId(required): The ID or name of the DBeaver connectionquery(required): CREATE TABLE statement
alter_table
Description: Modify existing table schemas
Safety Level: ⚠️ Schema changes
Parameters:
connectionId(required): The ID or name of the DBeaver connectionquery(required): ALTER TABLE statement
drop_table
Description: Remove tables with safety confirmation
Safety Level: ❌ Destructive
Parameters:
connectionId(required): The ID or name of the DBeaver connectiontableName(required): Name of the table to dropconfirm(required): Safety confirmation flag (must be true)
📈 Analytics & Intelligence
get_database_stats
Description: Get database statistics and information
Safety Level: ✅ Safe
Parameters:
connectionId(required): The ID or name of the DBeaver connection
append_insight
Description: Add business insights to memo
Safety Level: ✅ Safe
Parameters:
insight(required): The business insight or analysis note to storeconnection(optional): Connection ID to associate with this insighttags(optional): Array of tags to categorize the insight
list_insights
Description: List stored business insights
Safety Level: ✅ Safe
Parameters:
connection(optional): Filter insights by connection IDtags(optional): Filter insights by tags
🛡️ Safety Guidelines
- ✅ Safe: Read-only operations that don't modify data or schema
- ⚠️ Modifies data: Operations that change data but not schema
- ⚠️ Schema changes: Operations that modify database structure
- ❌ Destructive: Operations that permanently remove data or objects
All destructive operations require explicit confirmation to prevent accidental data loss.