O

Oracledb MCP Server

The OracleDB MCP Server is a server that provides Oracle database table/column context to LLMs, supporting interaction with the database through LLM prompts, generating SQL statements, and returning results.
2.5 points
37

What is the OracleDB MCP Server?

The OracleDB MCP Server is a tool that allows large language models (LLMs) to access and manipulate tables and columns in an Oracle database. In this way, LLMs can generate SQL queries and retrieve information from the database.

How to use the OracleDB MCP Server?

First, install the required Python packages. Then, set the environment variables to connect to the Oracle database. Finally, start the server and configure Clair Desktop to use it.

Applicable Scenarios

Suitable for applications that need to quickly generate SQL queries and retrieve data from Oracle databases, such as data analysis and report generation.

Main Features

Support for Multiple Whitelist FiltersAllows users to define which tables and columns can be accessed, thereby improving security.
Dynamic SQL Query GenerationAutomatically generates SQL query statements based on user input without manual writing.
Powerful Debugging ModeEnables detailed logging for easy problem troubleshooting.

Advantages and Limitations

Advantages
Simplifies the integration process with Oracle databases.
Improves development efficiency and reduces the workload of manually writing SQL.
Limitations
Highly dependent on database permission management. Ensure that the whitelist is properly configured.
May not be suitable for handling very large datasets because the number of query results is limited by default.

How to Use

Install the Server
Run the following command to install the OracleDB MCP Server: `pip install oracledb_mcp_server`.
Create a Configuration File
Create a file named `.env` in the project directory and add the necessary database connection strings and other configurations.
Start the Server
Use the `uv run oracledb_mcp_server` command to start the server.

Usage Examples

Generate an Account Information QueryUsers can prompt the LLM to generate an SQL statement to query account information.
Filter Customer Relationship DataUsers can specify conditions to filter customer - account relationship data.

Frequently Asked Questions

How to install the OracleDB MCP Server?
Does it support multiple database connections?
How to view the server logs?

Related Resources

GitHub Repository
View the source code and contribute.
Official Documentation
Learn more about the OracleDB MCP Server.
Demo Video
Watch a demonstration of how to use the OracleDB MCP Server.
Installation
Copy the following command to your Client for configuration
{
    "mcpServers": {
      "oracledb_mcp_server":{
        "command": "uv",
        "args": ["run","oracledb_mcp_server"],
        "env": {
            "DEBUG":"True",
            "COMMENT_DB_CONNECTION_STRING":"oracle+oracledb://USERNAME:PASSWORD@IP:PORT/?service_name=SERVICENAME",
            "DB_CONNECTION_STRING":"oracle+oracledb://USERNAME:PASSWORD@IP:PORT/?service_name=SERVICENAME",
            "TABLE_WHITE_LIST":"ACCOUNTS,CUS_ACC_RELATIONS,CUSTOMERS",
            "COLUMN_WHITE_LIST":"ACCOUNTS.ACC_AAD_ID,CUS_ACC_RELATIONS.CAR_CUS_ID,CUS_ACC_RELATIONS.CAR_AAD_ID,CUSTOMERS.CUS_ID"
        }
      }
    }
  }
Note: Your key is sensitive information, do not share it with anyone.
Featured MCP Services
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
85
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
140
4.5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
829
4.3 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
564
5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
282
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
753
4.8 points
AIbase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIbase