alter_table
Modify existing table schema (add columns, rename tables, etc.)
Query and edit your databases through the connections already saved in DBeaver — no re-entering credentials — with transactions, schema tools and export.
LABSCO SUMMARY
Reusing the workspace's saved connections is the whole convenience: the databases you already set up in DBeaver are immediately reachable, so there is no second credential store to manage. The read/write split and the connection whitelist give you a real safety boundary — execute_query is read-only, write_query is where mutations live, and OMNISQL_ALLOWED_CONNECTIONS lets you decide which databases an assistant can touch at all.
A universal database server (OmniSQL) that reuses the connections already configured in your local DBeaver-compatible workspace: 21 tools for querying, writing, schema management, transactions and export across PostgreSQL, MySQL/MariaDB, SQL Server and SQLite natively, with Postgres-compatible engines routed automatically.
A local DBeaver-compatible DB client with at least one configured connection — the server reads those. Node.js 18 or later, installed with npm install -g omnisql-mcp. OMNISQL_PROJECT names the workspace folder if it is not the default General, OMNISQL_ALLOWED_CONNECTIONS whitelists which connections are reachable, and OMNISQL_CLI_PATH points at an external CLI for databases without a native driver.
One command — npm install -g omnisql-mcp
USE CASES
List the configured connections, pick the right one, and run a read-only query — with the execution plan on hand when a query is slow.
Wrap the writes in a transaction, run them, and commit only if everything went as expected — or roll back if it did not.
Inspect a table's schema, add or rename columns, and create new tables — with a safety confirmation before anything gets dropped.
Compare the schemas of two connections to see what differs, then export the query results you need to hand off.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
alter_tableModify existing table schema (add columns, rename tables, etc.)
append_insightAdd a business insight or analysis note to the memo
begin_transactionStart a new database transaction
commit_transactionCommit an active transaction
compare_schemasCompare schemas between two database connections
create_tableCreate new tables in the database
drop_tableRemove a table from the database with safety confirmation
execute_in_transactionExecute a query within an active transaction
execute_queryExecute a SQL query on a specific database connection (read-only queries)
explain_queryGet the execution plan for a SQL query
export_dataExport query results to various formats (CSV, JSON, etc.)
get_connection_infoGet detailed information about a specific database connection
get_database_statsGet statistics and information about a database
get_pool_statsGet connection pool statistics for a connection
get_table_schemaGet schema information for a specific table
list_connectionsList all available database connections
list_insightsList all stored business insights and analysis notes
list_tablesList all tables in a database
rollback_transactionRollback an active transaction
test_connectionTest connectivity to a database connection
write_queryExecute INSERT, UPDATE, or DELETE queries on a specific database connection
BEFORE YOU INSTALL
21 tools when we connected. OMNISQL_READ_ONLY=true limits execute_query to SELECT, EXPLAIN, SHOW and DESCRIBE and disables the transaction tools; OMNISQL_DISABLED_TOOLS removes tools by name. By default write_query, drop_table and alter_table are all available.
All 3 documented clients run the server on your machine.
CONTEXT COST
Rated by the size of the 21 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
npm install -g omnisql-mcp{
"mcpServers": {
"omnisql": {
"command": "omnisql-mcp"
}
}
}