Mini Oracle MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Mini Oracle MCP ServerShow me the first 10 rows from the employees table"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Giafn/minimal-oracle-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server