OracledbBLOCK
MCP server to connect to Oracle Database
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://smithery.ai/server/@rahgadda/oracledbmcpserver) [](https://mseep.ai/app/rahgadda-oracledb-mcp-server)
Overview
- This project will install
MCP - Model Context Protocol Server, that provides configured Oracle Database Table/Columns as context to LLM's. - Using this we can enable LLMs to interact with Oracle Database, Generate SQL Statements and Return Results using LLM prompts.
Installation
- Install package
pip install oracledb_mcp_server
- Create .env in a folder with minimum value of
Oracle DB Connection String. Sample file available here - Test
oracledb_mcp_serverserver usinguv run oracledb_mcp_serverfrom the above folder.
Claud Desktop
- Configuration details for Claud Desktop
{
"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"
}
}
}
}Configuration
- List of available environment variables
DEBUG: Enable debug logging (optional default is False)COMMENT_DB_CONNECTION_STRING: Oracle DB connection String for comments. (required)DB_CONNECTION_STRING: Oracle DB connection String for execution of queries. (required)TABLE_WHITE_LIST: White Listed table names in li
22204fe42d7eOBSERVED · 2026-10-08Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add oracledb-mcp-server -- uvx oracledb-mcp-server
{
"mcpServers": {
"oracledb-mcp-server": {
"command": "uvx",
"args": [
"oracledb-mcp-server"
]
}
}
}Exposed tools (5)
3 read · 2 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
connect_to_database | read | |
create_comment_db_connection | write | |
execute_sql | write | |
get_column_details | read | |
get_table_details | read |
Trust audit
BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | FAIL |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- found
Findings (5)
.env
__init__.cpython-311.pyc
__main__.cpython-311.pyc
utils.cpython-311.pyc
.env
Gates applied: no_behavioural_pass.
22204fe42d7efull audit observations/trust-audit/mcp-server/rahgadda__oracledb.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | 22204fe42d7e | BLOCK | D | 69 | first audit |
Questions
What is the Oracledb MCP server?
MCP server to connect to Oracle Database
What tools does Oracledb expose?
5 in total: 3 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Oracledb safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on.
What credentials does Oracledb need?
No credential environment variables were found in its source, so it appears to need none.
How current is this page?
The grade is for one exact copy of the source (22204fe42d7e), read on 2026-10-08. The repository is watched and re-audited when it changes.