SQLcl Became an MCP Server. Give It the Smallest User You Can.

Since SQLcl 25.2 (July 2025), SQLcl can run as an MCP server. In plain words: an AI assistant like Copilot in VS Code can connect to your Oracle database through SQLcl and run SQL and PL/SQL for you. SQLcl keeps the saved connections on your own machine, and the SQL Developer extension for VS Code registers it as an MCP server automatically.

Oracle's own advice in the post is the line I'd underline twice: connect with database users that have only the privileges they really need.

I've used this setup in my lab videos, and honestly the AI part is the easy part. The real work is the user you hand over. If the saved connection is a DBA account, the assistant is a DBA too, with all the confidence and none of the fear. A read-only user on the schemas you want to discuss is the setup I'd start with, and I'd keep an eye on what it actually runs.

Read the original:

This is my short summary and opinion. All details and credit belong to the original article linked above.

Comments