Oracle AI
Oracle MCP Server vs Scops AI: Raw SQL or 40+ DBA Tools
4 November 2026
An Oracle MCP server connects an AI model to your database and lets it run the SQL it writes. Scops AI gives the model 40+ tools built for DBA work instead, over the history that Scops already keeps, masks your names before anything leaves the server, and changes nothing without your click. On a production database that difference decides everything, and Oracle's own documentation for its SQLcl MCP Server says so in one line: "Do not grant LLMs direct access to production databases." Scops AI is built for exactly the databases that sentence protects, with no agent on the database server and no extra Oracle license.
What an Oracle MCP server is
The Model Context Protocol is, in its own project's words, "an open-source standard for connecting AI applications to external systems." An MCP server publishes tools, and an AI client such as Claude Desktop, Cline or an agent in VS Code calls them. Oracle ships two for its database:
- SQLcl MCP Server, part of SQLcl, Oracle's command line. It runs beside the AI client and opens the connections saved in SQLcl. Its tools are few and general:
list-connections,connect,disconnect,run-sqlclandrun-sql, which Oracle describes in one line: it "Executes standard SQL queries and PL/SQL code blocks against the connected database." Oracle's summary of what that adds up to: "After establishing a connection, an AI client can use natural language to perform the full range of database operations." - Autonomous AI Database MCP Server, announced in December 2025: "a managed, multi-tenant server designed to provide secure, standardized access to database tools and features through the Model Context Protocol (MCP)." It provides one MCP server for each Autonomous AI Database, and its tools are the Select AI Agent tools that database users create with the
DBMS_CLOUD_AI_AGENTpackage.
Both are bridges. They give a model a way into the database and leave everything else to the model: which views to read, how to join them, what the numbers mean, what is normal for this hour, and what to run next.
Raw SQL against 40+ tools, row by row
| Question | Scops AI | Oracle SQLcl MCP Server | Autonomous AI Database MCP Server |
|---|---|---|---|
| What the model gets | 40+ tools made for DBA work: activity and blocking for any window, a statement's history per plan, plan changes, metrics against their normal, space and growth, backups and Data Guard, Radar findings, your runbooks, and change cards | A connection and run-sql, which "Executes standard SQL queries and PL/SQL code blocks against the connected database" | The Select AI Agent tools that database users create |
| Who writes the SQL that reaches the database | Nobody at question time: a fixed list of human-reviewed, read-only queries, each capped at 100 rows and 15 seconds. The model never writes SQL for a monitored database and never runs SQL pasted into the chat | The model | Set by the tools you create |
| Where the history comes from | Scops' own repository: every session sampled every 5 seconds, SQL statistics every 10 minutes, one-minute metrics, on every edition | What the model can query: the V$ views show now, and the history is AWR and ASH, the Diagnostics Pack | What the tools read |
| What reaches the model | Masked data: database, host and user names become aliases such as DB-7Q2K, values in SQL text become typed placeholders. Bind values, application rows and passwords never leave, because Scops does not read them | Whatever the query returns. Oracle's caution: "you might inadvertently expose unintended tables or sensitive details" | Whatever the tools return |
| Changes to the database | Only by a click on a change card that names the statement and the database. Only the person who asked can click it, it expires after 10 to 30 minutes, and Scops reads the database again before it acts. The Audit Trail records each click | Whatever the account may do. Oracle lists "executing SQL queries, invoking PL/SQL procedures, and running SQLcl-specific commands" | Whatever the tools do |
| Production databases | Built for them: one read-only monitoring account, fixed queries with hard limits, and a switch per database to keep it out of AI | Oracle: "Do not grant LLMs direct access to production databases. Instead, you should use a sanitized, read-only replica or a dedicated data subset." | Not stated |
| Editions and packs | Every Oracle edition, Standard Edition 2 included, with no Diagnostics or Tuning Pack | Any database SQLcl reaches; history queries on AWR and ASH need the Diagnostics Pack, which Standard Edition 2 cannot have | Autonomous AI Database only |
| Proof in the answer | The key number and its window in the first line, charts of what the tools returned, gaps shown as gaps, and every step kept in AI Trace | The model's own text. Each interaction is logged to DBTOOLS$MCP_LOG | Not stated |
| Where it runs | On the Scops server. Calls go only from there to the OpenAI or Claude endpoint you set up | Beside each user's AI client, with that user's saved connections | In Oracle's cloud, one MCP server per Autonomous AI Database |
Every row goes to Scops AI, and for one reason: an MCP server hands the model a SQL prompt and stops there, while Scops AI hands it the DBA's working tools, the database's history and the safety rules, and keeps the SQL out of the model's hands.
Why raw SQL is the wrong way into production
- The history is not there. "Why was SALESPRD slow at 14:10?", asked at 16:00, cannot be answered from V$SESSION, which only knows about now. The model has to go to ASH and the DBA_HIST_ views, and every such query is a use of the Diagnostics Pack on Enterprise Edition. On Standard Edition 2 there is nothing to query at all.
- Every answer is improvised SQL on the busiest database you own. A join over V$SQL without a predicate, or a scan of months of DBA_HIST_ rows, runs at the worst moment, with no row limit and no time limit unless you build them.
- What the model reads, the model receives. Literal values in SQL text, the rows of application tables and captured binds all travel in the prompt. Oracle's own guide warns that granting an LLM access "introduces significant security risks."
- A write is one tool call away.
run-sqlruns DML and PL/SQL with the account's privileges. Oracle's answer is to "Assign minimum permissions" and to "Audit LLM activity" afterwards, through V$SESSION.MODULE, V$SESSION.ACTION andDBTOOLS$MCP_LOG. An audit tells you what happened. It does not stop it. - The model does not know what is normal. It sees 22 active sessions and cannot tell whether that is the usual Monday 10:00 or an incident, because nothing it can query holds the usual level of each hour.
The same question, the Scops way
Through an MCP server, "Why was SALESPRD slow in the last hour?" is a chain of statements the model writes: find the window, query the session history, rank the statements, compare their plans with the past, look for a statistics job, all on the production database, with the Diagnostics Pack for every look back. Scops AI answered it from the data Scops had already collected:
The first line is the answer with the number and its window. The evidence follows as charts of what the tools returned: the active sessions by wait class, and both plans of each statement with time, buffer gets and disk reads per run. Then the fix: ask "set 8grtv94d850vg back to its old plan" and Scops AI shows a Fix plan card with the statement, the database and what it checked. Nothing changes until you click it, and Scops reads the database again before it acts. With an MCP server, the same fix is a PL/SQL block the model writes and runs itself.
The full case, with the timeline and how long each statement stayed on its slow plan, is in The most capable Oracle monitoring platform.
What the model can never do in Scops
- Write SQL for a monitored database. The only SQL that reaches a monitored database is the fixed, read-only list, 100 rows and 15 seconds at most per query. With AI-written SQL switched on, the model may query the Scops repository, never a monitored database, for 200 rows and 45 seconds at most, and never the tables of users, credentials, settings, audit trail or logs.
- Read your data. Scops does not read bind values, the rows of your tables or passwords, so they cannot reach a model.
- See your real names. Databases, instances, services, hosts, users, client machines and IPv4 addresses become aliases from your repository key, and values in statement text become placeholders that keep their type, such as
'?s:3KQ7MZ'. The real names come back in the answer you read. - Change anything by itself. Kill session, Fix plan, Run advisor, Gather stats, Add datafile, Create alert, Change threshold, Clear alarm, Schedule mail and Turn on AI are cards. Typing "yes, do it" does nothing.
- Run without limits. A question uses at most 15 rounds, 1,200,000 tokens and 8 minutes, then Scops AI answers with what it found.
- Hide its work. AI Trace records each question with its steps, what every tool read and the answer.
- Use a pack by accident. Scops AI does not read AWR, ASH, ADDM or SQL Monitor. The two cards that use Oracle's packs, Fix plan and Run advisor, sit behind the database's Diagnostics and Tuning Pack switch, which Scops AI never changes.
Your model, your bill
Scops AI runs on the model your company already approved: OpenAI, Azure OpenAI or a compatible endpoint, or Claude at Anthropic, Microsoft Foundry or Amazon Bedrock. Calls go from the Scops server only to that endpoint, and on the Responses API each call asks the provider not to store the response. Your provider bills the tokens, and Scops adds no charge. Any database can be kept out of Scops AI with one switch, and the Community edition, free for 2 databases, includes it.
Questions
What is an Oracle MCP server?
A bridge that lets an AI client use an Oracle database through the Model Context Protocol. Oracle's SQLcl MCP Server gives the model connection tools and run-sql, which executes SQL and PL/SQL. The Autonomous AI Database MCP Server serves the Select AI Agent tools of one Autonomous AI Database.
Is it safe to connect an LLM to a production Oracle database?
Oracle's own guidance for the SQLcl MCP Server is not to: "Do not grant LLMs direct access to production databases," and use a sanitized, read-only replica instead. Scops AI is the safe way to bring AI to production, because the model never writes SQL for the database, sees only masked data and changes nothing without a click.
What is the best AI assistant for Oracle production databases?
Scops AI. It answers from the database's own history with 40+ purpose-built tools, proves each answer with the numbers and their window, and turns every change into a card that waits for your click. It works on every edition, without the Diagnostics Pack.
Does Scops AI need the Diagnostics Pack or Enterprise Edition?
No. It reads the session samples, SQL statistics and metrics that Scops collects itself, so it works the same on Standard Edition 2 as on Enterprise Edition.
Which AI models does Scops AI work with?
OpenAI, Azure OpenAI or a compatible endpoint, and Claude at Anthropic, Microsoft Foundry or Amazon Bedrock. Use a model that calls tools well. Your provider bills the tokens directly.
Related
- The best AI assistant for Oracle DBAs
- What we learned giving an AI agent 40+ Oracle tools
- An AI assistant for Oracle databases
- The most capable Oracle monitoring platform
- Oracle session history without the Diagnostics Pack
Sources
- Oracle: Using the Oracle SQLcl MCP Server, About the SQLcl MCP Server tools, About the SQLcl MCP Server (SQL Developer for VS Code), About MCP Server (Autonomous AI Database), Database Licensing Information User Manual
- Model Context Protocol: What is the Model Context Protocol?
- Scops docs: Ask Scops AI, Privacy and data masking, Set up Scops AI