---
格式版本: 2
标题: "Turn business questions into database insights with OCI NL2SQL and Database MCP server | ai-data-science"
原文链接: "https://blogs.oracle.com/ai-and-datascience/business-insights-with-nl2sql-and-db-mcp-server"
发布日期: "2026-08-25"
发布时间校准状态: "found"
发布时间需复核: "否"
发布时间来源: "rule:configured_publication_date_rule"
发布时间证据: "doc-fixed-49fb23095330-publication-date html:original: August 25, 2026"
发布时间校准原因: "信源发布日期识别规则直接确认发布时间"
发布时间校准置信度: "high"
发布时间候选数量: 1
发布时间严格候选数量: 1
发布时间原页读取状态: "source template page reused from URL open"
发布时间未找到原因: ""
发布时间校准时间: "2026-08-26T16:02:54+08:00"
发布时间仲裁状态: "skipped"
发布时间仲裁尝试次数: 0
发布时间仲裁耗时毫秒: 0
发现时间: "2026-08-26T15:59:29+08:00"
入库时间: "2026-08-26T08:02:55.589Z"
来源平台: "固定入口"
搜索渠道: "fixed_url"
搜索词: "https://blogs.oracle.com/?page=news"
匹配关键词:
  - "AI"
相关厂家:
  - "Oracle"
相关专家:
  []
内容类型: "网页"
抓取工具: "CDP Render"
清洗工具: "CDP Text + Defuddle/Readability 正文提取"
原始附件:
  []
AI优质: "否"
AI打分: 32
AI分档: "非优质"
AI质检状态: "不通过"
AI打分理由: "正文是Oracle NL2SQL与Database Tools MCP Server的产品功能说明，主线为企业数据库自然语言查询和SQL生成，不属于超节点、AI Rack、rack-scale AI或机架级关键部件；历史无新增；不命中任何高价值准入通道，且命中教程/功能指南否决项，无正式新机架级硬件、标准或部署里程碑。"
AI质检模型: "ali-deepseek-v4-flash"
AI质检时间: "2026-08-26T16:03:46+08:00"
AI主题相关性: 2
AI来源权威性: 12
AI新颖性: 4
AI技术细节: 6
AI商业部署信号: 0
AI完整性: 8
AI评分提示词版本: "v17-精简生产版"
AI评分提示词SHA256: "48fb9777f386026761b4873eaff30807694fb11e9b352d7c69bf2dfde750cc7d"
AI评分知识库版本: "knowledge_base_v1-20260819"
AI评分知识库SHA256: "e8daaadd1f28923bf4557a3e84042f83b8070615c03a40d448c106e6bfe5fcdc"
AI评分知识库检索词: "[\"Oracle\",\"https://blogs.oracle.com/?page=news\",\"Meta\",\"OCI\",\"NL2SQL\",\"MCP\",\"SQL\",\"SVP\",\"GVP\",\"MCP-connected\",\"SQLite\",\"API\"]"
AI评分知识库命中: "[{\"id\":\"july-correct-0017\",\"title\":\"AMD challenges Nvidia’s networking dominance with Helios racks boasting 50% higher bandwidth\",\"sourceType\":\"labeled_article\",\"time\":\"2026-07\",\"matchedTerms\":[\"Oracle\",\"OCI\",\"SVP\"],\"rank\":-8.574049377332472},{\"id\":\"july-correct-0015\",\"title\":\"AMD to join the optical interconnect party with 2027 Instinct GPUs\",\"sourceType\":\"labeled_article\",\"time\":\"2026-07\",\"matchedTerms\":[\"Meta\",\"OCI\"],\"rank\":-8.264018447995632},{\"id\":\"july-correct-0018\",\"title\":\"AMD, Cerebras partner on joint Helios rack-scale AI inference platform\",\"sourceType\":\"labeled_article\",\"time\":\"2026-07\",\"matchedTerms\":[\"Oracle\",\"Meta\"],\"rank\":-7.717206519069332},{\"id\":\"historical-may-011\",\"title\":\"不只卖GPU！英伟达向OpenAI、Anthropic、SpaceX与甲骨文交付首批Vera CPU\",\"sourceType\":\"curated_item\",\"time\":\"2026-05\",\"matchedTerms\":[\"OCI\"],\"rank\":-7.166646699263573},{\"id\":\"historical-jun-014\",\"title\":\"NVIDIA发布Vera CPU Rack整机柜方案，面向AI工厂中的Agentic AI与强化学习负载\",\"sourceType\":\"curated_item\",\"time\":\"2026-06\",\"matchedTerms\":[\"Oracle\"],\"rank\":-6.113711136057652}]"
AI摘要: "Oracle 推出 OCI NL2SQL 与 Database Tools MCP Server 的集成，使用户可通过 MCP 兼容客户端用自然语言生成 SQL，并在源数据库内按既定权限执行查询。"
AI摘要模型: "ali-deepseek-v4-flash"
AI摘要时间: "2026-09-07T02:08:44.978Z"
采集批次: "2026年8月26日15点57分35秒"
采集批次ID: "20260826-155735-186"
去重键: "https://blogs.oracle.com/ai-and-datascience/business-insights-with-nl2sql-and-db-mcp-server"
---

*OCI NL2SQL connects natural-language to SQL generation with Database Tools MCP Server so customers can use governed database access from an MCP compatible client.*

By

- Tao Sheng, Senior Director Applied Science
- Srikanth Tadimalla – Director Software engineering
- Uday Yalamanchi – Senior Principal Software engineering
- Dave DeBarr – Senior Principal Applied Scientist
- Kris Rice – SVP Software engineering
- Jason Creighton – Senior Principal Product Management
- Dan Roth – Chief AI Scientist
- Sujith Ravi – GVP Platform Software Engineering
- Sujeeth Bharadwaj – Applied Science Architect

Estimated reading time: 6 minutes

Business users know the question they need answered. They rarely know the tables, columns, joins, or SQL needed to answer it.

A finance analyst might ask about booked revenue. A sales leader might ask about pipeline coverage. A support manager might ask about the case backlog. A supply chain team might ask which orders are at risk.

Each team uses familiar business terms, but those terms do not always match the names in the database. “Customer” might mean an account, party, bill-to customer, or service subscriber. “Region” might mean a sales territory, shipping destination, or reporting geography. Answering the question often requires business knowledge that is not visible in the wording alone.

NL2SQL provides a direct path from a business question to validated SQL. Its integration with Database Tools MCP Server completes the workflow by authorizing and running the SQL in the source database based on the identity and database permissions configured for the connection.

Together, these capabilities let teams connect an approved chat or agent client to enterprise data while queries continue to run against the source database. Customers are not required to copy the underlying database into a separate analytics store, while continuing to rely on configured OCI and database access controls. The new integration also reduced the number of steps to setup, making it easier to add NL2SQL to applications and tools that customers already use.

A user asks a business question and can review generated SQL and permitted database results through an MCP-connected client.

*A user asks a business question and can review generated SQL and permitted database results through an MCP-connected client.*

**A path from question to query**

NL2SQL and Database Tools MCP Server each have a clear role:

1. A user asks a question through a chat or agent client.
2. NL2SQL interprets the natural-language question.
3. The semantic store supplies relevant database objects, business context, and relationships.
4. NL2SQL generates SQL.
5. Database Tools MCP Server authorizes the request and runs the SQL against the source database.

This separation matters. NL2SQL generates SQL, but it does not execute the query or override database access controls. Database Tools MCP Server manages the execution path, and the source database applies the permissions associated with the configured query connection or propagated user identity, as applicable.

This provides an additional entry point to enterprise data while continuing to use configured database controls.

**Use semantic context instead of guessing from names**

A database schema tells NL2SQL which objects exist. Enrichment helps explain what those objects mean.

During setup, the semantic store reads table and column metadata. It can also use database comments, annotations, synonyms, and relationships between database objects. This information helps connect the words in a user’s natural-language question to the names and structures used in the database.

For example, a finance user might ask:

Which product families produced the most booked revenue in North America last quarter?

The answer might require data from an order-line table, a product hierarchy, a customer table, and a regional mapping table. The user does not need to name each table or specify every join. The semantic store provides context that can help NL2SQL identify relevant objects and relationships..

Different teams can also use different terms for similar data:

- Finance might use “booked revenue,” “recognized revenue,” or “gross margin.”
- Sales might use “pipeline,” “coverage,” “win rate,” or “account.”
- Support might use “case,” “incident,” “severity,” or “backlog.”
- Supply chain teams might use “at-risk order,” “stockout,” “lead time,” or “late shipment.”
- Product teams might use “active user,” “adoption,” “retention,” or “usage.”

The semantic store helps map those terms to the relevant database objects. This capability goes beyond matching one word to one column. It helps ground a question in a connected database schema, including cases where an answer depends on several related tables.

Administrators use two separate Database Tools connections during setup. A higher-privileged enrichment connection reads schema artifacts and metadata that the administrator has configured the enrichment connection to access. A lower-privileged query connection supports end-user execution. Keeping these connections separate creates a separates semantic enrichment from end-user query execution between preparing semantic context and running user queries.

**Oracle SQL today with broader dialect support planned**

The current release generates Oracle SQL and uses Oracle Autonomous AI Database as the source database in the published quick start.

Oracle plans to expand support to additional SQL dialects, including SQLite and MySQL. If made available, this capability is intended to help customers apply a similar natural-language interaction pattern to additional data sources.

Note: Future plans and timing are subject to change.

**Use the client that fits your workflow**

Customers are not limited to one chat interface.

You can connect an Oracle client or your own MCP compatible chat or agent client to Database Tools MCP Server. You can also use MCP Calling in the OCI Responses API so a model can access tools exposed by the MCP server.

This flexibility lets teams add NL2SQL to an existing assistant, application, or workflow instead of asking users to adopt a separate interface.

For an MCP-based integration, the client connects to Database Tools MCP Server. The MCP server calls NL2SQL to generate SQL and manages the authorized execution flow. NL2SQL is not added directly to the Responses API tools list for this pattern.

Teams that want lower-level control can call the Generate SQL MCP tool directly and manage the generated SQL within their application.

**Get started in four steps**

The NL2SQL quick start organizes the initial setup into four main steps.

1. **Create the Database Tools connections.**  
	Create one connection for enrichment and a separate, lower-privileged connection for queries.
2. **Create and enrich a semantic store.**  
	Select the two connections, choose the approved schemas, and wait for enrichment to complete.
3. **Configure Database Tools MCP Server and its toolset.**  
	Enable the workflow that uses NL2SQL to generate SQL and runs authorized queries against the source database.
4. **Connect a client and ask a question.**  
	Use an Oracle client, your own MCP-compatible client, or an OCI Responses API workflow with MCP Calling.

Start with questions that have known answers, such as:

Review the generated SQL and confirm that the returned data follows the user’s database permissions. Then test the business terms, joins, and schema areas that matter most to your users.

- *Which five products had the highest sales last month?*
- *Which regions missed their forecast last quarter?*
- *Which support issue categories increased the most this week?*

**Support longer-running workflows**

Some questions generate SQL quickly but lead to database queries that take longer to complete.

The OCI Responses API supports background processing for requests that should not keep the original HTTP connection open. Set background to true, save the returned response ID, and check the response status until the work reaches a final state. Applications can also provide a cancel action.

Background processing does not make the database query run faster. It prevents a client or gateway timeout from being treated as a failed request. It also gives a custom chat client a way to show progress and recover the final result.

**Get started**

Read the \<a href="http:// NL2SQL Quick Start for a streamlined path from connections to a working client. For full setup steps, IAM policies, Console instructions, and code examples, use the [NL2SQL section of the Enterprise AI Agents QuickStart](https://docs.oracle.com/en-us/iaas/Content/generative-ai/get-started-agents.htm#nl2sql-tool). Then connect a test client to an approved schema and validate a small set of known business questions before expanding access.
