Skip to content

AI tools & MCP

Note

This feature is available in Lite, Enterprise, and Ultimate editions only.

AI tools let the AI Assistant take actions directly in DBeaver - not just respond with text. You can use them in AI Chat and through AI Commands.

DBeaver includes a set of built-in tools for common tasks like data transfer, metadata reads, and editor control. If you need more, connect any MCP server - its tools become available in the assistant automatically.

Info

You can find more information about Model Context Protocol (MCP) here.

Enable AI tools

  1. Open Window -> Preferences -> AI -> Tools & MCP
  2. Select Enable Tools and MCP.

Tools work in AI chat and through the ai command.

Note

If tools are disabled, the assistant falls back to standard text responses.

Supported providers

AI tools are available only with providers that support tool calling:

Info

If your provider doesn’t support tool calling, AI Assistant will continue to respond with text or SQL suggestions as usual. Make sure the model you select supports tool calling.

Internal tools

tag-outline Available since 25.3
Category Description
Data transfer actions Import, export, and compare data or schemas using DBeaver's transfer wizards.
Data read actions Read sample data or metadata for improved context and more accurate suggestions.
View and editor actions Open, close, or manage editors, views, and connections in the workspace.
Script actions Retrieve script contents or list available scripts in your workspace.

MCP servers

tag-outline Available since 26.1

To add an MCP server:

  1. Open Window -> Preferences -> AI -> Tools & MCP
  2. Click Add New MCP ()
  3. Fill in the connection settings and click Apply

Setting Description
Mode Fields - fill in settings using form fields. JSON - paste a raw JSON configuration
Connect by HTTP - connect to a remote server via URL. STDIO - run a local process
Name A display name for the server
Server URL The server endpoint (HTTP mode only)
HTTP Headers Optional key-value headers to include in requests (HTTP mode only)

All connected servers appear in the Installed Tools and MCP list. Each server shows its connection status, enabled state, and the number of available tools.

Select a server and use the edit () or delete () icons to update or remove it.

Encrypt MCP configuration

By default, MCP server settings are stored in a plain mcp.json file on disk. When you enable Encrypt MCP configuration, the settings move to secure storage instead. This protects sensitive data like API keys or server URLs from being readable as plain text.

Execute tools without confirmation

Each tool has an Allow mode that controls whether the assistant can run it without asking:

Mode What it does
Ask Asks for confirmation each time before running the tool.
Always allow Runs the tool automatically without asking for confirmation.