loading…
Search for a command to run...
loading…
An MCP server that connects to Oracle databases using sqlplus, enabling SQL queries, schema exploration, and DDL/DML execution through natural language.
An MCP server that connects to Oracle databases using sqlplus, enabling SQL queries, schema exploration, and DDL/DML execution through natural language.
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.
PATH (comes with Oracle Instant Client or full Oracle client)npm install -g oracle-sqlplus-mcp
# or run directly with npx (no install needed):
npx oracle-sqlplus-mcp
username/password@host:port/servicename
Examples:
scott/tiger@localhost:1521/ORCL
myuser/[email protected]:1521/XEPDB1
admin/[email protected]:1521/PROD
Add to your claude_desktop_config.json:
{
"mcpServers": {
"oracle": {
"command": "npx",
"args": ["-y", "oracle-sqlplus-mcp"],
"env": {
"ORACLE_CONNECTION": "username/password@host:port/servicename"
}
}
}
}
| Variable | Default | Description |
|---|---|---|
ORACLE_CONNECTION |
(required) | Full connection string |
SQLPLUS_PATH |
sqlplus |
Path to sqlplus binary if not in PATH |
QUERY_TIMEOUT_MS |
30000 |
Query timeout in milliseconds |
{
"mcpServers": {
"oracle": {
"command": "npx",
"args": ["-y", "oracle-sqlplus-mcp"],
"env": {
"ORACLE_CONNECTION": "scott/[email protected]:1521/ORCL",
"SQLPLUS_PATH": "C:\\oracle\\instantclient_21_9\\sqlplus.exe",
"QUERY_TIMEOUT_MS": "60000"
}
}
}
}
| Tool | Description |
|---|---|
test_connection |
Test connectivity and return Oracle version |
list_schemas |
List all schemas with table counts |
list_tables |
List tables, optionally filtered by schema or name pattern |
describe_table |
Show columns, data types, nullable, primary keys |
get_table_sample |
Fetch sample rows from a table |
execute_query |
Run any SELECT query |
execute_ddl |
Run DDL/DML (INSERT, UPDATE, DELETE, CREATE, etc.) |
list_procedures |
List stored procedures, functions, packages |
sqlplus: command not foundSet SQLPLUS_PATH to the full path of your sqlplus binary.
ORA-12541: TNS:no listenerCheck host, port, and that Oracle listener is running.
ORA-01017: invalid username/passwordVerify credentials. Connection string format: user/pass@host:port/service.
SP2-0306: Invalid optionEnsure sqlplus version supports -S silent mode (all modern versions do).
Run in your terminal:
claude mcp add oracle-sqlplus-mcp -- npx Yes, Oracle Sqlplus MCP is free — one-click install via Unyly at no cost.
No, Oracle Sqlplus runs without API keys or environment variables.
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
Open Oracle Sqlplus on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Query your database in natural language
by AnthropicA universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
by wenb1n-devThis server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
by madhurprashRead-only database access with schema inspection.
by modelcontextprotocolNot sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All data MCPs