Configuring Database Connections
The SQLcl MCP Server relies on the preconfigured connections saved in the connection store, which is in your ~/.dbtools directory. You can manage these connections using the connect and connmgr commands.
Note:
-
For a connection to be accessible to an MCP client, you must save its password. When you create a new connection, use the
-savepwdflag to store credentials securely. -
You can also define and manage connections using the Oracle SQL Developer Extension for VS Code.
For information on creating an MCP-compatible connection, see Connecting to Your Database.