Skip to Main Content

SQLcl: MCP Server & SQL Prompt

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Connections folder has wrong permissions

Lars PedersenJun 11 2026

I am setting up an Oracle MCP server, but I have a problem when saving the connection.

I log in to cmd on Windows with my domain user (lpedersen), run sqlcl and save the connection:

connect -verbose -save MCP_OracleConnection -savepwd MCP_USER/your_password@MyDatabase

It works, but the connections folder under my domain user:

C:\Users\lpedersen\AppData\Roaming\DBTools\connections

gets the wrong access rights.
Instead of giving access to my domain user (lpedersen), it only allows read access by a local computer user account (DKDT-LPEDERSEN2\lpedersen), which I never use for anything.

This means that the connections cannot be read when I use
CM LIST, or by Cline in VS Code.

Does anyone know the cause or a workaround for this issue?

I am using the latest version of SQLcl.

Comments
Post Details
Added on Jun 11 2026
1 comment
92 views