Mini Oracle MCP Server
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.
Mini Oracle MCP Server
Model Context Protocol (MCP) server untuk koneksi ke database Oracle. Server ini hanya menyediakan tool query.
Prerequisites
Node.js >= 18.x
Oracle Instant Client - Download dari Oracle Instant Client
npm package manager
Related MCP server: oracle-sqlplus-mcp
Instalasi
1. Install Dependencies
npm install2. Konfigurasi Environment
Copy file .env.example ke .env:
cp .env.example .envEdit file .env dengan konfigurasi database Anda:
# Oracle Database Configuration
DB_USER=username_database
DB_PASSWORD=password_anda
DB_CONNECT_STRING=host:port/service_name
# Oracle Client Library Path (macOS/Linux)
LD_LIBRARY_PATH=/path/to/oracle/instantclientContoh konfigurasi:
DB_USER=scott
DB_PASSWORD=tiger
DB_CONNECT_STRING=localhost:1521/ORCL
# macOS
LD_LIBRARY_PATH=/opt/oracle/instantclient_21_8
# Linux
LD_LIBRARY_PATH=/usr/lib/oracle/21/client64/libTools yang Tersedia
Tool | Deskripsi |
| Jalankan SQL query (max 150 rows) |
Contoh Penggunaan
Jalankan Query
query(sql: "SELECT * FROM M_ACCOUNT WHERE STATUS = 'ACTIVE'")Konfigurasi di Claude Desktop
Tambahkan konfigurasi berikut ke file config Claude Desktop:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"oracle": {
"command": "node",
"args": ["/path/to/oracle-mcp/server.js"],
"env": {
"DB_USER": "your_user",
"DB_PASSWORD": "your_password",
"DB_CONNECT_STRING": "host:port/service_name",
"LD_LIBRARY_PATH": "/path/to/oracle/instantclient"
}
}
}
}Struktur Project
oracle-mcp/
├── server.js # Main server MCP
├── package.json # Dependencies
├── .env.example # Template environment
├── .env # Environment configuration
└── README.md # DokumentasiTroubleshooting
Error: Unable to load Oracle Client Library
Pastikan path LD_LIBRARY_PATH mengarah ke folder yang benar dimana libclntsh.so (Linux) atau libclntsh.dylib (macOS) berada.
Error: ORA-12162: TNS:net service name is incorrectly specified
Periksa format DB_CONNECT_STRING. Format yang benar: host:port/service_name atau host:port:SID
Error: Module not found
Jalankan npm install untuk menginstall semua dependencies.
License
ISC
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for querying and analyzing data from ad platforms, analytics tools, and spreadsheets
2,000+ MCP servers read at source level. Know what one does before you connect. Free, no key.
Paid remote MCP for governed database query review, SQL simulation, approvals, and audits.
Draxlr's remote MCP server connects AI assistants to your SQL databases and dashboards. Explore schemas, run read-only queries, manage saved queries and dashboards, and export results, all with row-level security so each user sees only their own data.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables interaction with Oracle databases through MCP by executing SELECT queries, describing table structures, and listing available tables with secure, read-only access.317 npm2MIT
- AlicenseAqualityDmaintenanceAn MCP server that connects to Oracle databases using sqlplus, enabling SQL queries, schema exploration, and DDL/DML execution through natural language.819 npmMIT
- AlicenseBqualityDmaintenanceMCP server for accessing Oracle databases, enabling schema exploration, query execution, and performance analysis.12MIT
- AlicenseAqualityDmaintenanceMCP server for Oracle Database enabling AI assistants to explore schemas, run queries, write data, and monitor sessions via natural language. Features read-only mode by default and uses Oracle Thin mode for zero-install connectivity.10161 npm2MIT