ORDS 26.3 adds SQL reports to its MCP server. A report is a query you wrote and reviewed. An agent can find it, read it and run it, but not change it. For the questions that must be right, the agent runs your SQL instead of writing its own.
How it works
- Three new MCP tools:
report_list,report_sqlandreport_execute. - A report is a JSON definition: the SQL, its declared bind variables, the columns, and a description that tells the model when to use it.
- The caller's input is passed as bind variables, never pasted into the SQL.
:current_usercomes from the authenticated request. - Listing, viewing the SQL and running a report have separate access rules. In role-based setups, MCP access now needs the
ORDS_MCP_SERVERrole (26.2 used a scope). - Agents can't create or edit reports through MCP. That is by design.
Start with five questions
List the five questions your team must answer exactly right, such as month-end totals, audit queries or the KPIs leadership sees. Turn each one into a report and switch reports on per connection pool with
feature.mcp.reports=true. Keep sql_run (free-form SQL) for exploring.My take: an agent writing SQL is fine for exploring. For numbers someone will act on, it should run SQL a person approved. Source: ORDS MCP 26.3: a look at SQL reports.
Get the Oracle + AI digest
One email when a new tested guide, template or APEX release note lands — English or Arabic. No spam; unsubscribe anytime.