We're exploring an architecture where a large language model (LLM) interacts with Oracle Application Server (OAS) through Model Context Protocol (MCP) to retrieve structured data and metadata.
In our specific use case:
- We want to leverage OAS's existing security model, including row-level security, so that user queries are filtered based on their access rights.
- For example, if a user asks, "What was UK revenue in 2025?", the LLM should only return that data if the user's OAS profile grants access to UK data.
- The LLM should also be able to access pre-calculated KPIs stored in the RPD (repository), not just raw data.
We're looking for insights on:
- Whether MCP can effectively mediate between the LLM and OAS while preserving security and context.
- How to expose OAS metadata and RPD logic in a way that the LLM can interpret and respond to naturally.
- Any architectural patterns, integration strategies, or limitations others have encountered in similar setups.
Would appreciate any guidance, examples, or lessons learned!
Thanks
Adrian