diff --git a/src/oracle/Dockerfile b/src/oracle/Dockerfile index 8f70e3a0..e1421dd0 100644 --- a/src/oracle/Dockerfile +++ b/src/oracle/Dockerfile @@ -21,4 +21,4 @@ WORKDIR /app RUN npm ci --ignore-scripts --omit-dev -ENTRYPOINT ["node", "dist/index.js"] \ No newline at end of file +ENTRYPOINT ["node", "dist/index.js"] diff --git a/src/oracle/README.md b/src/oracle/README.md index c0807bf6..ec6552b8 100644 --- a/src/oracle/README.md +++ b/src/oracle/README.md @@ -1,18 +1,18 @@ -# Oracle +# Oracle Database -A Model Context Protocol server that provides read-only access to Oracle databases. This server enables LLMs to inspect database schemas, execute and explain read-only queries. +A Model Context Protocol server that provides read-only access to Oracle Database. This server enables LLMs to inspect database schemas, execute and explain read-only queries. ## Components ### Tools - **query** - - Execute read-only SQL queries against the connected database + - Execute read-only SQL queries against the connected Oracle Database - Input: `sql` (string): The SQL query to execute - All queries are executed within a READ ONLY transaction - **explain** - - Explain plan SQL queries against the connected database + - Explain plan SQL queries against the connected Oracle Database - Input: `sql` (string): The SQL query to execute - Requires GRANT SELECT_CATALOG_ROLE TO your_user; @@ -21,14 +21,20 @@ A Model Context Protocol server that provides read-only access to Oracle databas - Input: `name` (string): The table name - Table owner is equal to USER SQL function returning value +- **connect** + - Reconnect using new credentials + - Input: `connectionString` (string): SQLNet connect string for example host.docker.internal:1521/freepdb1 + - Input: `user` (string): Username for example scott + - Input: `password` (string): Password, for example tiger + ### Resources -The server provides schema information for each table in the database current connected user: +The server provides schema information for each table in the Oracle Database current connected user: - **Table Schemas** (`oracle://USER/