Oracle MCP server enterprise setup

What Oracle documents for enterprise setup of the SQLcl MCP server and community Oracle MCP servers: authentication, audit logging, session monitoring and the gaps to close before rollout.

On this page

Does the Oracle MCP server enterprise setup meet your identity and audit requirements?

The Oracle-documented SQLcl MCP server is built into SQLcl 25.2 or newer, and Oracle's pages fetched for this review document no SSO, OAuth or admin approval flow for it. The server does record every request in the DBTOOLS$MCP_LOG table, capturing request details, execution times and results, and a DBA can watch live MCP activity in V$SESSION, where MODULE and ACTION values show MCP client information. If your policy requires centrally enforced sign-in, per-user approval of AI clients or tamper-resistant audit trails, you will need to build or compensate for those controls yourself. Confirm the current authentication options with Oracle for your SQLcl release before you assume any identity integration exists.

Connections must be saved in the SQLcl connection store with a stored password, because the server does not accept credentials on the command line. That makes the connection store, the database account behind each saved connection and the workstation that holds the store the points to govern. Ask who owns each saved connection, how stored passwords are rotated, and whether each AI client maps to a named database user so that DBTOOLS$MCP_LOG entries can be tied to an accountable person. Treat DBTOOLS$MCP_LOG as a record you must protect and prune on a schedule Oracle advises, and confirm with your DBA where that log is kept and who can alter it.

The oracle/mcp repository holds reference implementations under the UPL-1.0 license, and its README says they are not intended for production use. Any production rollout therefore rests on the SQLcl server or on a community project, and community servers such as Tommi2Day/oracle-mcp-server describe their own token authentication in their own READMEs, which Oracle does not vouch for. Before approval, document which server, version and Java runtime you will run, who signs off on the authentication design, and which gaps your compensating controls close. The Oracle SQLcl MCP server guide is the natural starting point for confirming that baseline.

Enterprise capabilities of the Oracle MCP servers by option

This table compares what Oracle documents for the SQLcl MCP server built into SQLcl, the oracle/mcp reference servers and community servers such as Tommi2Day/oracle-mcp-server. Each cell states whether the control is documented, not documented in the Oracle pages reviewed, community-defined, or not production-intended, so reviewers can see where to ask vendors for more evidence. The main takeaway is that the built-in SQLcl server has documented request logging, session monitoring and stored connection handling, while the Oracle pages do not describe SSO, OAuth or client approval.

CapabilitySQLcl MCP server (built in)oracle/mcp reference serversCommunity servers such as Tommi2Day/oracle-mcp-server
SSO with company identity providerNot documented in the Oracle pages fetchedNot documented in the Oracle pages fetchedCommunity-defined; each repository sets its own sign-in model
OAuthNot documented in the Oracle pages fetchedNot documented in the Oracle pages fetchedCommunity-defined; Tommi2Day/oracle-mcp-server describes its own token authentication
Admin approval of clientsNot documented in the Oracle pages fetchedNot documented in the Oracle pages fetchedCommunity-defined; confirm in each repository's README
Request loggingDocumented: every request recorded in the DBTOOLS$MCP_LOG table, per the SQLcl 25.4 guideNot documented in the Oracle pages fetchedCommunity-defined; logging depends on the project
Session monitoringDocumented: DBA can watch MCP activity in V$SESSION through MODULE and ACTION valuesNot documented in the Oracle pages fetchedCommunity-defined; confirm whether sessions carry client identifiers
Stored credentialsDocumented: connections must be saved in the SQLcl connection store with a stored passwordNot documented in the Oracle pages fetchedCommunity-defined; check how the project reads database passwords
Self-hostingDocumented: started with sql -mcp and launched by the MCP client on the user's machineNot production-intended, per the repository READMECommunity-defined; runs where the project's own instructions place it
Production useDocumented as built into SQLcl, which Oracle documents in its SQLcl guideNot production-intended, per the repository READMECommunity-defined; each project describes its own status and support

How the SQLcl MCP server authenticates and records activity

The MCP client launches the SQLcl MCP server itself, using the sql -mcp command, so the client application starts and manages the process. Credentials are not passed on that command line. Oracle's skills repository says connections must be saved first in the SQLcl connection store with a stored password, and the server then connects using that saved profile. Before approving the setup, confirm who creates these stored connections, where the connection store file lives on each workstation, and whether the stored password can be read by anyone with access to the laptop. Whatever user the saved connection names is the identity every tool call runs as, and the privileges of that database user decide what actually executes, not the MCP client's settings.

The server records every request in the DBTOOLS$MCP_LOG table, capturing request details, execution times and results, according to the SQLcl 25.4 monitoring guide. That table is the main audit trail, but it sits inside the database it describes, so ask who can read it, who can delete from it, and whether its contents are exported to a central log platform. The guide advises pruning the table regularly, which means retention is a decision you must own. A DBA can also watch live activity in V$SESSION, where the MODULE and ACTION values show MCP client information. Check that your monitoring team knows these values, since they identify a session but do not prove which person started it.

These records are the controls the SQLcl MCP server gives you, not an identity layer. Oracle's pages fetched for this review do not document OAuth, SSO or admin approval flows for the server, so single sign-on and per-person accountability must come from how your organization issues and governs database accounts. Confirm with Oracle whether any newer release adds identity features before assuming they exist. Plan for a shared or service database user to make attribution weak, and for a log row to show a query without showing the human behind it. Reviewers should pair the log with a dedicated database account per role and a restricted database user, as covered in the security section of this page.

Where identity, credentials and logs sit in the request path

The path starts with the AI client, which launches the SQLcl MCP server with the sql -mcp command. The server does not accept credentials on the command line, so it reads a connection saved earlier in the SQLcl connection store, which holds a stored password. It then opens a database session, and each request is recorded in DBTOOLS$MCP_LOG, while a DBA can watch the same activity live in V$SESSION. The dashed gap is the outside identity provider: Oracle's pages fetched for this review document no link between an SSO or OAuth identity and the database session. Check what identity the stored credential represents and who controls it.

Credentials are stored locally, and the only documented audit and observation points sit beside the database session.

Decisions to make before connecting Oracle to an AI client

Each decision below sets a boundary the AI client will work inside. Together they decide which server runs, which database account it uses, who holds the credentials, and what leaves a record that your DBAs and auditors can review.

Which server to permit

Decide whether staff may use Oracle's own SQLcl MCP server, which is built into SQLcl, or a community server from GitHub. Oracle documents the SQLcl server in its SQLcl guide, while the oracle/mcp repository holds reference implementations under UPL-1.0 that its README says are not intended for production use. Community projects such as Tommi2Day/oracle-mcp-server and luprzybyl/mcp-oracle describe their own features and settings, so each needs its own review. Write the approved server and version into your allowlist.

SQLcl MCP server guide

Database account and privileges

The connection runs as the database account you save, so its grants set the upper limit on what the AI client can read or change. Create a dedicated account with only the schemas and privileges the use case needs, and avoid reusing DBA or application owner accounts. Confirm with your DBAs which tools the chosen SQLcl version exposes, such as run-sql and run-sqlcl, and whether write statements are reachable for that account.

SQLcl MCP tools

Stored password and connection store ownership

The server does not accept credentials on the command line, so each connection must be saved in the SQLcl connection store with a stored password. That file becomes a credential store on each developer machine, so decide who creates connections, where the store lives, and how it is revoked when someone leaves. Ask whether your standard allows stored database passwords on laptops, and whether a central, managed process will issue and rotate them.

Retention of DBTOOLS$MCP_LOG

The SQLcl guide 25.4 says the server records every request in the DBTOOLS$MCP_LOG table, including request details, execution times and results. The log lives in the target database, so its owner, tablespace, access grants and backup coverage are your DBA team's decisions. Oracle advises pruning the table regularly, so set a documented retention period and a scheduled purge job, and confirm that your audit requirements are met by the retained window.

Monitoring the SQLcl MCP server

Staffing live session monitoring

The same Oracle page says a DBA can watch live MCP activity in V$SESSION, where MODULE and ACTION values show MCP client information. This only helps if someone reviews it. Decide which team watches these sessions, how often, and what they do when an unfamiliar client or heavy query appears. Without a named owner, live monitoring is a capability on paper rather than a control.

Network path to the database

Decide which network path the database accepts for MCP connections, including whether developer laptops reach the listener directly or only through an approved jump host or VPN. The path determines where the connection can originate and which firewall rules, listener restrictions and logs apply. Ask your network and database teams to document the permitted sources, and confirm with them that no path bypasses the controls you have chosen.

How the answer changes by identity setup and database estate

Many organizations sign people in through Okta, Entra ID or another identity provider, but the SQLcl MCP server connects to Oracle with a database account. The Oracle pages fetched for this review do not document OAuth, SSO or admin approval flows for the SQLcl MCP server. The SQLcl connection must be saved in the SQLcl connection store with a stored password, and the server does not accept credentials on the command line. That means the identity provider usually cannot be carried into the database session, and the person behind a given MCP request may be hard to tie to a named user in the database.

  • Shared database account: If several staff use one saved connection, the database sees one identity, and per-person attribution depends on what the client and session metadata reveal.
  • Session attribution: Ask Oracle how DBTOOLS$MCP_LOG and V$SESSION MODULE and ACTION values identify the individual user, not only the client application.
  • Stored password handling: Confirm where the connection store keeps the stored password, who can read it and how it is rotated when staff leave.
  • Community token schemes: Some community servers describe their own token authentication in their READMEs. Those tokens sit outside Oracle's documented model and need their own review.
  • Compensating controls: Use a dedicated database account per use case with least privilege, and record which person was issued each saved connection.

Confirm with Oracle whether any SSO or token bridge is planned for the SQLcl MCP server before accepting a shared-account design.

Order of work before a production rollout

This sequence takes an Oracle database from an unreviewed MCP connection to one that an approving team can sign off. Each step names who does the work and the check that closes it, so the records can go to security, DBA and compliance reviewers. Run the steps in order, because later controls depend on earlier ones.

  1. Confirm SQLcl and Java prerequisites

    Before any connection is configured, confirm that every host that will run the server has SQLcl 25.2.0 or newer and that Java 17 or 21 is available to SQLcl. Oracle's developer blog sets these minimums for the SQLcl MCP Server. The platform team runs the version checks and records the output for each host in the change ticket. The step is done when the record shows both checks passed on the exact hosts that will run the server, not only on a developer laptop.

  2. Decide official or community server

    Choose which server category the rollout will use and record the decision. Oracle documents the SQLcl MCP Server as built into SQLcl, while the oracle/mcp repository holds reference implementations that are not intended for production use. Community servers on GitHub are not Oracle products, and each sets its own features and authentication. The security lead signs a decision record that names the server, its version, its owner and the review that approved it. The step is done when that record exists and any community server has passed its own review.

  3. Create a dedicated least-privilege account

    The DBA creates a database account used only by the MCP server, separate from application and personal accounts. Grant it only the object privileges that the approved use cases need, and keep write privileges out unless a reviewed workflow requires them. Name the account so audit records and session entries can be traced to this integration. The step is done when a test shows the account can reach the approved schemas and is refused on an object it should not see. Confirm the restrict-level options available in your SQLcl version before relying on them.

  4. Configure the connection store under controlled ownership

    The platform engineer saves each connection in the SQLcl connection store, with its stored password, before the server is started. Oracle's skills repository notes that the server does not accept credentials on the command line, so this step is required. Restrict who can read or change the store on each host, and keep passwords out of MCP client configuration files and shared scripts. Confirm the store location and file permissions on each host with the operating system administrator. The step is done when a non-owner account cannot read the stored entry and the MCP client starts the server using only the saved connection name.

  5. Set DBTOOLS$MCP_LOG pruning and export

    The DBA sets how the DBTOOLS$MCP_LOG table is exported and pruned. The SQLcl 25.4 guide says the server records every request in this table, including request details, execution times and results, and advises pruning it regularly. Agree the retention period with the security and records owners, export the rows that must be kept before any pruning runs, and schedule both jobs. The step is done when a test request appears in the table, the export file is readable by the reviewer, and a pruning run removes only rows older than the agreed retention.

  6. Enable DBA monitoring through V$SESSION

    The DBA builds a saved query that watches live MCP activity in V$SESSION. The SQLcl 25.4 guide says the MODULE and ACTION values show MCP client information for each session. Give the query to the on-call DBA and check that it returns the client details during a test session. Because V$SESSION shows live sessions only, pair it with the request log for later review. The step is done when a test session appears with its MCP client values and the DBA can identify it as the integration account.

  7. Test one sample session end to end

    Run a scripted session on a non-production database that mirrors the approved configuration. Use the tools your version exposes, such as list-connections, connect, schema-information and run-sql, and confirm each result. Then check three records: the request appears in DBTOOLS$MCP_LOG, the session shows MCP values in V$SESSION, and an attempted action outside the account's privileges is refused. Treat this sequence as an illustrative test script and confirm the tool names your version actually provides. The step is done when the test output and all three records are attached to the decision record.

  8. Document the review cadence

    The security lead writes the review cadence into the decision record and names an owner for each recurring check. A re-review is needed after any SQLcl upgrade, any change to the connection store or database account, any change to the server choice, and on the schedule that your access and log review policy sets. Record who receives the pruning exports and who acts on V$SESSION monitoring alerts. The step is done when the cadence, owners and review triggers are approved and stored with the other records, so auditors or your security team can review the setup at any time.

Evidence a security reviewer will ask for and where it comes from

This table lists the evidence a security reviewer typically requests for an Oracle MCP setup, what each item shows, and where the reviewer can obtain it. Use it to separate what Oracle documents from what must be confirmed in your own environment or from the community server's own README. The main takeaway is that several controls, such as OAuth, SSO and admin approval, are not documented in the Oracle pages reviewed and must be confirmed with Oracle directly.

Evidence itemWhat it showsSource in the tool or documentation
Server identity and versionWhich SQLcl build runs the MCP server, and that it meets the documented minimum of SQLcl 25.2.0 with Java 17 or 21SQLcl version output in your environment; Oracle Developers Blog on SQLcl MCP requirements
Database account privilegesWhat the connected database user can read, change or run, which bounds every tool call regardless of restrict settingsGrants on the connected schema and system views, reviewed by your DBA; SQLcl MCP Server tools reference (26.3)
Connection store handlingHow saved connections and stored passwords are kept, since the server does not accept credentials on the command lineSQLcl connection store contents and file permissions on the host; Oracle skills repository notes on sqlcl-mcp-server.md
DBTOOLS$MCP_LOG configuration and retentionWhether every MCP request, execution time and result is recorded, and how long those rows are keptRow counts and retention job in the database; SQLcl Monitoring the SQLcl MCP Server page (25.4) advising regular pruning
V$SESSION monitoring procedureWhether live MCP sessions are visible, identified by MODULE and ACTION values that carry MCP client informationQuery against V$SESSION during a test session, run by the DBA; SQLcl Monitoring page (25.4)
Community server token and README security settingsToken authentication, enabled tools and any write or disable switches, which apply only to that community projectThe community repository README and configuration files; Tommi2Day/oracle-mcp-server README
Open items with OracleOAuth, SSO and admin approval flows for the SQLcl MCP Server, which the reviewed Oracle pages do not documentWritten confirmation from Oracle support or account team; the SQLcl User's Guide and release notes for your version

Questions buyers ask before approving Oracle MCP access

Does the Oracle SQLcl MCP server support SSO?

The Oracle pages reviewed for this topic do not document SSO, OAuth or admin approval flows for the SQLcl MCP server, so treat SSO as unconfirmed until Oracle confirms it in writing. What Oracle does document is that the server does not accept credentials on the command line. Connections are saved first in the SQLcl connection store with a stored password, which means access is governed by the database account behind each saved connection. Ask Oracle which identity options apply to your SQLcl version and database, and record the answer in your approval file. Community servers such as Tommi2Day/oracle-mcp-server describe their own token authentication in their READMEs, but that is a separate product with its own settings.

Can the oracle/mcp reference repository run in production?

No. The README of the oracle/mcp repository says it is not intended for production use. The repository holds reference implementations for Oracle products under the UPL-1.0 license, which makes them useful for learning and prototyping but not for an approved production deployment. If your team needs a production path, the SQLcl MCP server is the Oracle-documented option to evaluate, and its setup should still go through your own review of database privileges, logging and client allowlisting. Any community server should be assessed on its own repository, including its maintenance status and the settings it documents.

What drives the cost of an Oracle MCP rollout?

The cost has three main parts. The first is licensing: SQLcl is Oracle software, so confirm with Oracle or your licensing advisor whether your use of the SQLcl MCP server and the database edition involved fall under terms you already hold. The second is internal effort: database administrators must create a least-privilege account, review grants, set the lock-down options and confirm the audit table is pruned on a schedule. The third is any outside work, which depends on the written scope, such as a configuration review, a security test of the database access path or a rollout across many developer laptops. One-time work covers the initial configuration and review. Recurring work covers log review, SQLcl upgrades and re-reviewing privileges when the database changes. DeployOpen does not publish prices. A quote follows from the written scope.

How long does Oracle MCP setup take?

The duration depends on your environment, and no supplied figure applies to every organization. The main variables are the number of databases and schemas in scope, whether a dedicated read-only database account already exists, how many developer machines need the connection, how your change process approves database access, and whether the SQLcl version meets the prerequisites. The prerequisites are SQLcl 25.2.0 or newer and Java 17 or 21 available to SQLcl, according to Oracle's developer blog. Ask your DBA and platform team to estimate their own steps and check the prerequisites in a test database before scheduling a production rollout. A written scope with named tasks is the best basis for a timeline.

Can our own team configure the Oracle MCP server without outside help?

Yes, for the configuration itself. The SQLcl MCP server is started with the sql -mcp command and is launched and managed by an MCP client such as Claude Desktop or Cline, so a competent DBA or platform engineer can set it up using Oracle's documentation. What needs careful review is privilege design: the account behind each saved connection determines what the agent can read or change, and the tools include run-sql and run-sqlcl, which can execute broad statements. Have someone independent check the grants, the connection store, the audit table and the client configuration before staff use it. DeployOpen can review the setup against that checklist as a scoped engagement if your team wants an outside view.

What does a scoping call for Oracle MCP access cover?

A scoping call sets the boundaries for written work before any engagement starts. For Oracle MCP access, the useful agenda covers which databases and schemas the AI client may reach, which MCP clients and SQLcl versions your staff use, whether you intend the SQLcl MCP server or a community server, how database accounts are created and reviewed, where the DBTOOLS$MCP_LOG audit table will be kept and pruned, and how session activity visible in V$SESSION will be monitored. The output is a written scope with deliverables and timing agreed before work begins. DeployOpen does not publish a price list, so the quote comes from that scope. Bring your database inventory, your current access approval process and any existing security policy for AI tools.

Which claims to confirm with Oracle before approval

Before approving the SQLcl MCP server, confirm with Oracle whether a future release adds SSO, OAuth or admin approval for MCP connections. The documentation reviewed for this page does not describe any of these flows for the SQLcl MCP server. Today, connections rely on credentials saved in the SQLcl connection store, and the server does not accept credentials on the command line. Ask Oracle in writing which release, if any, will add a central sign-in or client approval step, and whether it will be documented before you rely on it. Until that answer is in hand, plan for database-level identity and your own client controls, and record the current position as a gap in your risk register rather than assuming a later release will close it.

Next, re-run the risk review against the tool list in the 26.3 guide. That version adds context_retrieve, annotation_generate, skill_sync and request_status to the tools already documented, including run-sql, run-sqlcl and connect. Each new tool changes what an AI client can read, write or load into its context, so a review finished against the 25.2 list is not sufficient. Confirm with Oracle which tools each SQLcl version exposes, whether any can be disabled or filtered by configuration, and how skill_sync changes content the client receives. Then confirm in your own environment which version you run, since the required version floor and the installed Java runtime both affect what is available.

Finally, confirm that the audit records meet your retention rule. The SQLcl 25.4 guide says requests are written to the DBTOOLS$MCP_LOG table and that the table should be pruned regularly, so retention depends on how you manage that table. Ask Oracle what each record contains, whether it captures the full request text and results, and whether deletion by the server or the DBA is the only way records leave. Test this in a non-production database: run a known request, confirm the record appears, check what V$SESSION shows for the MODULE and ACTION values, and document who may delete rows. If your policy requires a longer or tamper-evident retention period than your pruning schedule allows, the gap must be closed in your own logging pipeline before approval.

How DeployOpen supports an Oracle MCP security review

DeployOpen plans, builds and tests the Oracle MCP setup inside your own infrastructure, then documents it so your security and compliance teams can review it. Each step works from a written scope that names the server, the database connections, the AI clients and the controls you need to evidence.

How we scope

  • Scope names the Oracle MCP servers in use, such as the SQLcl MCP Server or a community server, and the AI clients that will connect.
  • Scope lists the databases, connection store entries and database accounts the AI tools may reach, with your DBAs confirming each one.
  • Engagements are fixed-scope, so deliverables, timelines and responsibilities are agreed in writing before any work starts.

How we build

  • We configure the server on your hosts with a least-privilege database user, restricted tool access and connection store handling your team approves.
  • We test prompt injection, risky tool calls, write and schema changes, and credential exposure against the agreed database scope.
  • We check whether DBTOOLS$MCP_LOG capture and V$SESSION monitoring meet your review needs, and document any gaps you must close.

How we hand over

  • You receive a findings report with fixes, the configuration as deployed, and a list of settings to confirm with Oracle or the vendor.
  • Documentation covers the data flow from database to client and model, plus log locations, retention settings and who reviews them.
  • A retest confirms the fixes work, and the evidence is organized for your security questionnaire or internal approval.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, useful when SQLcl versions or tool sets change.
  • Retainers can cover periodic retesting of database permissions and log pruning checks as your Oracle estate evolves.
  • DeployOpen prepares systems and evidence for compliance assessments, but independent auditors and certification bodies issue any audit report.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.