oracle-ords-rest-mcp
oracle-ords-rest-mcp is a TypeScript library designed to integrate Oracle databases with RESTful APIs. This library simplifies database operations and aims to expedite API development. It is particularly useful for developers looking to leverage Oracle's capabilities.
GitHub Stars
0
User Rating
Not Rated
Favorites
0
Views
28
Forks
0
Issues
0
ORDS MCP
A project to query Oracle ORDS REST Services and make them available through the MCP Protocol.
Pre-Word
This project was heavly inspired by thatjeffsmith and his blog post https://www.thatjeffsmith.com/archive/2025/05/build-an-mcp-to-connect-ai-to-oracle-database-w-openapi/
I highly suggest you checkout his version which is build with python, since Python is not up my forth i tried my luck with Typescript :)
Prerequisites
- Nodejs
- Oracle Database instance accessible with ORDS (preferably version 22+)
- REST Modules to query
- OAuth2 Client that is allowed to query the REST modules if they are protected by a privilege
Installation
Clone the repository:
git clone https://github.com/lgehrke6/oracle-ords-rest-mcp.git cd oracle-ords-rest-mcpConfigure environment variables:
- Copy
.env.exampleto.envand update the values as needed.
- Copy
Build:
npm install npm run build
Usage (stdio)
Open VS Code
Click on Tools -> Add more Tools -> Add MCP Server -> Command (stdio)
node
\ords-mcp\dist\index.js Open up your mcp.json (found in your .vscode folder of the ords-mcp repo)
Click Start above the mcp-server name
Ask Copilot a question about your Endpoints
Enjoy
Future Improvements Planned
- Make a Docker image for the MCP Server
- Simplify the Setup & Starting
- Add OpenTelementry for Metrics