lgehrke6/oracle-ords-rest-mcp
If you are the rightful owner of oracle-ords-rest-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This project enables querying Oracle ORDS REST Services through the MCP Protocol using a TypeScript implementation.
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-mcp
-
Configure environment variables:
- Copy
.env.example
to.env
and 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 <full_qualified_path>\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