oracle-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
oracle-mcp
MCP server for Oracle Database: one server, many named connections. Built on the official node-oracledb driver in thin mode, so the Oracle Instant Client is not needed.
Tools
Every tool takes an optional connection argument. If you leave it out, the server uses default from the config file.
Tool | Mode | What it does |
| read | Lists the configured connections with their description and write flag. Secrets are not shown. |
| read | Runs one |
| read | Lists the tables of a schema. Takes an optional |
| read | Lists the columns of a table. |
| read | Shows the connected user, service, DB name and server time. |
| write* | Runs one DML/DDL statement or PL/SQL |
| write* | Runs several statements and commits them together. If one fails, all of them roll back. |
* The write tools are listed when at least one connection has "allowWrite": true. They are refused on connections that don't have it.
Related MCP server: Oracle DB MCP Server
Configuration: connections.json
The server reads connections.json next to index.js. To use another file, set ORACLE_CONNECTIONS_FILE. The file is git-ignored; connections.example.json is a template.
{
"default": "app-uat",
"connections": {
"app-uat": {
"appsettings": "C:/repos/MyApp/Api/appsettings.Development.json",
"connName": "DefaultConnection",
"allowWrite": true
},
"app-prod-ro": {
"user": "APP_READER", "password": "***", "connectString": "db-host:1521/ORCLPDB1"
}
}
}appsettings+connName: the server reads the .NET connection string (User Id=..;Password=..;Data Source=host:port/service) from that file when it connects. The password never leaves the file where it already lives. JSONC comments are tolerated.user/password/connectString: inline credentials.allowWritedefaults tofalse.
Legacy mode: if there is no config file, the server builds a single default connection from these env vars:
ORACLE_APPSETTINGS+ORACLE_CONN_NAME, orORACLE_USER/ORACLE_PASSWORD/ORACLE_CONNECT_STRINGORACLE_ALLOW_WRITE
Install
npm install
cp connections.example.json connections.json # then edit
claude mcp add oracle -s user -- node /path/to/oracle-mcp/index.jsTo add a database later, edit connections.json and restart the session. You don't need to re-register the server.
Requires Node.js 18+.
License
MIT, see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Query Postgres, MySQL, SQL Server, Oracle, BigQuery, ClickHouse and Redshift from your AI client.
List datasets, schemas, run APL queries, and use prompts for exploration, anomalies, and monitoring.
Run SOQL queries to explore and retrieve Salesforce data. Inspect records, fields, and relationshi…
Governed SQL access to your databases: redaction, query review and an audit log.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables secure access to Oracle databases with fine-grained access control, supporting multiple databases simultaneously with configurable access modes (readonly/readwrite/full) and table-level permissions for safe query execution and data management.1MIT
- AlicenseAqualityDmaintenanceEnables AI tools to interact with Oracle databases through query execution, schema browsing, stored procedure calls, and transaction management. Supports multiple database connections with safety features like read-only mode and dangerous query detection.16MIT
- AlicenseBqualityDmaintenanceEnables interaction with Oracle databases through MCP by executing SELECT queries, describing table structures, and listing available tables with secure, read-only access.314 npm2MIT
- FlicenseNot gradedqualityDmaintenanceEnables read-only exploration of Oracle databases through natural language, providing schema inspection and safe bounded SQL query execution.-