oracle-sqlplus-mcp
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., "@oracle-sqlplus-mcpDescribe 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.
oracle-sqlplus-mcp
An MCP (Model Context Protocol) server for Oracle Database using sqlplus as the connection backend. No Oracle Instant Client Node.js bindings required — just a working sqlplus binary.
Prerequisites
sqlplus must be installed and available in
PATH(comes with Oracle Instant Client or full Oracle client)Node.js 18+
Related MCP server: oracle-db-mcp
Installation
npm install -g oracle-sqlplus-mcp
# or run directly with npx (no install needed):
npx oracle-sqlplus-mcpConnection String Format
username/password@host:port/servicenameExamples:
scott/tiger@localhost:1521/ORCL
myuser/mypass@192.168.1.10:1521/XEPDB1
admin/secret@db.example.com:1521/PRODClaude Desktop Configuration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"oracle": {
"command": "npx",
"args": ["-y", "oracle-sqlplus-mcp"],
"env": {
"ORACLE_CONNECTION": "username/password@host:port/servicename"
}
}
}
}Optional Environment Variables
Variable | Default | Description |
| (required) | Full connection string |
|
| Path to sqlplus binary if not in PATH |
|
| Query timeout in milliseconds |
Custom sqlplus path example
{
"mcpServers": {
"oracle": {
"command": "npx",
"args": ["-y", "oracle-sqlplus-mcp"],
"env": {
"ORACLE_CONNECTION": "scott/tiger@192.168.1.10:1521/ORCL",
"SQLPLUS_PATH": "C:\\oracle\\instantclient_21_9\\sqlplus.exe",
"QUERY_TIMEOUT_MS": "60000"
}
}
}
}Available Tools
Tool | Description |
| Test connectivity and return Oracle version |
| List all schemas with table counts |
| List tables, optionally filtered by schema or name pattern |
| Show columns, data types, nullable, primary keys |
| Fetch sample rows from a table |
| Run any SELECT query |
| Run DDL/DML (INSERT, UPDATE, DELETE, CREATE, etc.) |
| List stored procedures, functions, packages |
Example Prompts
"Test the Oracle connection"
"List all schemas in the database"
"Show me tables in the SCOTT schema"
"Describe the EMPLOYEES table"
"Get 5 sample rows from HR.EMPLOYEES"
"Run this query: SELECT * FROM departments WHERE department_id < 50"
"List all stored procedures in the HR schema"
Troubleshooting
sqlplus: command not found
Set SQLPLUS_PATH to the full path of your sqlplus binary.
ORA-12541: TNS:no listener
Check host, port, and that Oracle listener is running.
ORA-01017: invalid username/password
Verify credentials. Connection string format: user/pass@host:port/service.
SP2-0306: Invalid option
Ensure sqlplus version supports -S silent mode (all modern versions do).
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceA production-grade Node.js MCP server for Oracle Database with HTTP transport, enabling SQL query execution, table listing, schema retrieval, and natural language to SQL conversion via MCP tools.Last updated181MIT
- Alicense-qualityCmaintenanceMCP server for accessing Oracle databases, enabling schema exploration, query execution, and performance analysis.Last updatedMIT
- Alicense-qualityDmaintenanceA comprehensive MCP server for SQL Server database operations, enabling CRUD operations, schema exploration, and stored procedure execution through natural language.Last updated7MIT
- Alicense-qualityDmaintenanceMCP server to connect to Oracle databases and run SQL queries (up to 150 rows) via a single 'query' tool.Last updated15MIT
Related MCP Connectors
GibsonAI MCP server: manage your databases with natural language
Official Microsoft MCP Server to query Microsoft Entra data using natural language
MCP server for managing Prisma Postgres.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/sagar1012/oracle-sqlplus-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server