Introduction:
An employee reward starts with a simple promise: choose something you like, submit the invoice, and receive reimbursement. Delivering that promise involves several systems and decisions—employee eligibility, reward entitlement, product discovery, budget validation, approval, and payment.
An AI assistant can make this journey conversational. An employee could upload a reward email and ask:
“Can you suggest a few home-office bundles within my reward budget?”
To answer, the assistant needs tools. Some live inside the enterprise, such as checking who the employee is and what they are entitled to. Some live outside it, such as a product catalog. The enterprise needs control over which tools the assistant can use, what information leaves the organization, and which requests reach downstream systems.
Oracle Integration MCP Gateway provides a central place to apply those controls. It gives MCP clients one governed endpoint for reaching Oracle Integration MCP servers and approved third-party MCP servers, bringing identity, tool access, policies, credentials, handling, and operational visibility into every interaction. It is available with Oracle Integration 26.10.
In this blog we build an AI-powered employee rewards assistant on that foundation. The assistant reaches two OIC MCP servers and one third-party MCP server, Canopy, through a single MCP gateway. One principle holds the design together: OIC manages eligibility, access, budget, and approvals; the employee controls the purchase.
The Rewards Journey:
Consider Emma, a customer success lead who receives a reward email from HR and wants to improve her home office. The experience has seven stages:
- Validate the award email. Emma uploads the email. OCI Document Understanding extracts the details, and an OIC tool checks that the award matches her user ID.
- Share her location. Once the email is validated, the assistant asks which location she is based in.
- Check the eligible amount. A second tool on the same OIC MCP server returns the amount she can spend for that location.
- Find suitable products. The assistant searches Canopy’s catalog tools, through the gateway, for bundles within that amount.
- Complete the purchase. Emma buys directly on Amazon with her own account and payment method.
- Submit the invoice. She uploads the invoice. A tool on a second OIC MCP server receives it with personal data masked.
- Approve. An invoice is created in Oracle Fusion and an approval task is assigned to her manager. Reimbursement proceeds only after approval.
Every tool call goes through the same gateway. The assistant’s tool set contains no checkout or order-placement operation.
Architecture Overview:
The assistant never talks to a tool server directly. It talks to the gateway, and the gateway talks to each MCP server on its behalf. This reference design uses an employee-rewards assistant to show how those capabilities work together.

The request path is: Employee channel → AI assistant acting as an MCP client → OIC MCP Gateway → OIC MCP servers and the approved third-party catalog server.
| Component | |
|---|---|
| Employee Channel | Authenticate the employee, accept uploads, and present recommendations and claim status |
| AI assistant (MCP client) | Interpret preferences, ask for missing details such as location, call tools, and propose product bundles |
| OIC MCP Gateway | One governed endpoint: authorize callers, filter tools, apply policies, route to the right server, and trace every call |
| OIC MCP server 1 · Eligibility | Tools that validate the award email and return the eligible amount |
| Canopy MCP server (third-party) | Read-only Amazon product MCP tools |
| OIC MCP server 2 · Claims | The tool that submits the invoice claim |
| OCI Document Understanding | Extracts the details from the award email |
| Approval task | Submits the invoice and assigns the approval task to the manager |
These responsibilities matter. A gateway tool filter does not establish reward eligibility, and a PII policy does not validate an invoice. Those checks belong in the application’s trusted OIC workflows.
One Gateway, Any MCP Server:
The gateway does not care where a tool lives. Whether the tools come from an Oracle Integration project or from a third-party service, the assistant sees one endpoint and the same controls apply. Oracle’s documentation on why an MCP gateway is required describes this single-endpoint model.
You bring any server under the gateway in the same four moves:
1. Define the server: Under MCP servers, add the server, its endpoint and its connection security, then test and save.
2. Filter its tools: Create a tool filter that lists only the tools the assistant may see.
3. Attach policies: Add PII detection and business policies where they apply, scoped to the gateway, a server or a tool.
4. Add it to a gateway and activate: Select the servers, filters and policies, set the evaluation order, activate, and give the assistant the one gateway URL.
What differs between server types is where the tools come from and how the connection is secured:
| Aspect | OIC MCP server | Third-party MCP server (Canopy) |
| What it exposes | Integrations from an OIC project, each registered as a tool | Tools published by the vendor; Canopy’s are read-only Amazon product tools |
| Who controls tool behavior | You, because each tool is an integration you build | The vendor |
| Connection | Endpoint and security policy set on the gateway connection | Endpoint and a supported policy such as OAuth 2.0 Client Credentials or OAuth using JWT User Assertion |
| Tool filter | Expose only the tools each audience needs | Expose only the tools you approve, so a new vendor tool stays hidden until you add it |
| PII detection | Useful where personal data flows in, such as the invoice | Useful on the outbound request, because it leaves your trust boundary |
Check the security options your Oracle Integration instance offers for each server. There is a second way to bring a third-party service in. Call its REST API from an OIC integration and expose that integration as a tool on an OIC MCP server. This is an architectural option built from documented capabilities, not a preconfigured Canopy connector. Either way, the gateway in front stays the same.
Because tool filters are defined per server and chosen per gateway, you can also publish different gateways from the same servers. A rewards-assistant gateway might expose only the eligibility tools and Canopy’s search tools, while a back-office gateway adds the claims tool.
Walking Through the Journey:
Here is what happens from the moment Emma opens her award email to the moment her manager receives the approval task. Tool names are illustrative.
Step 1: Upload the award email and validate it:
Emma uploads the award recognition email as a PDF. The assistant calls validate_award_email, a tool on OIC MCP server 1. The call goes through the gateway, which checks the caller, confirms the tool is approved, and routes the request. Inside OIC, OCI Document Understanding extracts the details from the email, and the integration matches the award to Emma’s user ID. If the match fails, the flow stops with a clear reason and the shopping tools are never used.
Step 2: Ask for the location:
Once the email is validated, the assistant asks which location Emma is based in. The location decides the eligible amount, so the assistant asks rather than assumes.
Step 3: Check the eligible amount:
The assistant calls check_eligible_amount, another tool on the same OIC MCP server 1, with the location. The gateway applies the same checks, and the integration looks up the amount in your rewards policy and returns it. This amount is resolved by a trusted integration, not supplied by the model, and it becomes the budget for the product search.
Step 4: Recommend bundles through Canopy:
With the budget known, the assistant uses the three Canopy tools that the tool filter allows:
- search_amazon_products to find candidates, with a search term and a maximum price.
- get_amazon_product to fetch details for a product.
- get_amazon_deals to surface products currently on deal.
This call meets more controls than the earlier ones. The tool filter lists only these three tools. A business policy rejects a search that has no maximum price or exceeds the program ceiling. PII detection inspects the outbound request. Only then does the gateway route the call to Canopy, using the credential stored on the gateway connection. The assistant groups the results into two or three bundles, and an integration checks the totals against the budget.
Step 5: The employee buys on Amazon:
Emma picks a bundle and buys it on Amazon with her own account and payment method. Nothing in this architecture can place an order for her. There is no purchase tool to call, and the tool filters would not expose one.
Step 6: Upload the invoice and submit the claim:
Emma uploads her invoice. The assistant calls submit_invoice_claim, a tool on OIC MCP server 2. It is the same gateway but a different server. PII detection masks personal data in the invoice request before it reaches the server. Tune the detectors so business fields such as the order reference, items, and total are not masked. The integration then validates the claim against your records, as described in the section on financial decisions below.
Step 7: Create the invoice and route the approval:
The integration behind the tool creates the invoice in Oracle Fusion and assigns an approval task to Emma’s manager. The flow waits for the decision. Only an approved claim moves on to reimbursement. If the manager rejects it, Emma receives the reason.
Configuring the MCP Gateway, Feature by Feature:
The setup follows Steps to Create an MCP Gateway. Everything happens in the MCP Gateway section of an OIC project, and each feature below applies in the same way to the OIC MCP servers and to Canopy.
1. Define the servers and their credentials:
Under MCP servers, choose Add for each server: OIC MCP server 1 (Eligibility), Canopy, and OIC MCP server 2 (Claims). Give each a descriptive name and a description of its tools. Enter the endpoint, pick the security policy that matches how it authenticates, then select Test and Save. Oracle documents OAuth 2.0 Client Credentials and OAuth using JWT User Assertion among the options. See Define MCP Servers to Manage. Keep credentials in the connection, never in the assistant’s prompt.
Where an action must run on behalf of the employee, Oracle documents user identity propagation using JWT user assertion. It needs configuration across the gateway, the MCP server, and the underlying integration, including the subject mapping. Do not assume it happens automatically.

2. Filter the tools per server:
Under Security policies, add a Tool filter for each server and include only the tools you approve:
- OIC MCP server 1: validate_award_email and check_eligible_amount.
- Canopy: search_amazon_products, get_amazon_product and get_amazon_deals.
- OIC MCP server 2: submit_invoice_claim.
A server can have several tool filters, so different gateways can expose different selections. When you test, review both the discovered tool list and an attempted call to an excluded tool.

3. Apply PII detection where data crosses a boundary:
Add a PII Detection security policy. Select the compartment where OCI Language is available, choose the built-in detectors you need, and add custom patterns for identifiers specific to your company, such as an employee ID format. Choose Block, or Redact by masking, replacing or removing.
PII policies can apply at the gateway, server, or tool level. In this design, apply it to the Canopy server on the request, so a product search carries no personal data to a third party. Apply it to submit_invoice_claim to mask personal data in the invoice. Add response-side protection where returned content also needs inspection, and test representative payloads rather than assuming every item will be detected. See Create Security Policies for MCP Servers.

4. Validate tool requests with business policies:
Business policies are free-form rules scoped to a server and a tool. They are enforced before the request is sent downstream. Select search_amazon_products, describe the rule in AI Assist, and choose Generate rules. OIC generates a JavaScript rule body using allow() and deny(). Review and edit it, then validate the syntax and save. A useful rule handles missing values, invalid types, negative values, and values above the ceiling. For illustration, with a ceiling of 500:

5. Assign the policies and set the order:
Under MCP gateways, choose Add, name the gateway, and select the three servers. Explicitly select the security and business policies to apply, then set their evaluation order. A request validation rule can reject an invalid search before later processing is needed. Review the order against the payload fields each policy reads. See Add an MCP Gateway.

6. Activate with gateway-specific authorization:
Save the gateway, open Actions and select Activate, and choose the authorization mode. Oracle’s dedicated gateway authorization creates a gateway-specific resource server with its own audience and scopes. A client gets access to this gateway without gaining access to every gateway in the instance. Reusing Oracle Integration authorization is also offered, with broader instance permissions. Oracle recommends the dedicated option for production gateways. Configure the client application with the scopes for tool discovery and invocation. The gateway URL appears under Actions → Run. Set it in the assistant’s MCP client. From then on, the assistant reaches all three servers through that one endpoint.

Keeping Financial Decisions in Trusted Workflows:
The gateway governs how the assistant reaches tools. It does not decide what an employee may spend, so those decisions stay in OIC workflows.
- The budget comes from a trusted tool. The eligible amount is returned by check_eligible_amount, not typed in by the user or inferred by the model. A budget supplied by the model alone is insufficient. If that budget must constrain every catalog request before it leaves the application, use a controlled integration that resolves and applies the permitted bound.
- Totals are calculated by an integration. Once product results return, the assistant can organize them into bundles. An integration should calculate quantities and totals using the program’s currency, rounding, tax, and delivery rules. Apply that check to candidates from every enabled catalog tool, because a search policy alone does not constrain results from the product-detail or deals tools. For example, a bundle priced at 120, 180, and 160 has a subtotal of 460. Whether it fits a reward of 500 depends on how tax and delivery are treated.
- The claim is validated on the invoice. Validate the actual claimed amount, and check reward ownership, validity, eligible purchases, currency, and prior claims against authoritative records. An uploaded email is evidence to process, not proof of entitlement, and successful invoice extraction is an input to validation, not confirmation that a claim is valid.
- A person approves. After validation, the manager’s approval task provides the human decision. Only an approved claim proceeds to reimbursement.
Demonstrating Governance:
These test cases show the gateway at work. Run them in your own environment and capture the Observe view for each one.
| # | Test case | Expected outcome | Controlled by |
| 1 | The assistant lists tools | Only the approved tools from each server appear | Tool filter |
| 2 | The assistant calls a tool that is not in the filter | Request rejected, no tool runs | Tool filter |
| 3 | A product search with no maximum price | Policy Denied before the request reaches Canopy | Business policy |
| 4 | A product search with a maximum price above the ceiling | Policy Denied | Business policy |
| 5 | A search request containing personal data | Redacted or blocked before it leaves for Canopy | PII detection |
| 6 | An invoice request containing personal data | Personal data masked before it reaches OIC MCP server 2 | PII detection |
| 7 | A full journey across both OIC MCP servers and Canopy | All calls appear as Succeeded in one Observe view | Gateway observability |
| 8 | A bundle total above the eligible amount | Rejected by the trusted workflow, not by the gateway | Application control |
| 9 | An invoice that does not match the reward or duplicates a prior claim | Claim rejected by the integration | Application control |
Cases 1 to 7 demonstrate gateway controls. Cases 8 and 9 are enforced by OIC integrations, and the distinction matters: the gateway governs access, and your workflows govern the business decision.
Observing and Auditing Every Call:
Because every call passes through one gateway, one place records them all. Under Observe → MCP Gateway → Instances, each request shows a status:
- In Progress: the request is being processed.
- Succeeded: the call completed.
- Errored: the call failed downstream or in processing.
- Policy Denied: a security or business policy rejected the request.
A request denied before dispatch can show blank server and tool columns, because it never reached a server. Treat Policy Denied as a signal: a run of denials on one tool may mean a bad prompt, a misconfigured rule or an attempt to push past a limit.
Tracing has two levels. Production tracing records the activity without payloads and keeps it for 32 days. Oracle recommends it for production environments. Audit tracing also records payloads and keeps them for 8 days, which helps while you build and test, but it can capture sensitive data, so use it deliberately.
The gateway shows the tool call. To follow a reward end to end, correlate it with the integration executions, the approval task, and the payment. See Monitor Your MCP Gateway.

How the Pieces Fit Together in OIC:
- OCI Document Understanding reads the award email and the invoice, and extracts the fields the integrations need.
- Integrations are the tools and the decision logic. Each tool on an OIC MCP server is an integration, and the eligibility, totals, and claim checks live in them.
- The AI assistant is the MCP client. It holds the conversation and calls tools, but it does not make financial decisions.
- The MCP Gateway is the single governed endpoint in front of both OIC MCP servers and Canopy, applying tool filters, PII detection, and business policies.
- Human in the Loop puts the manager’s approval between a validated claim and reimbursement.
- Adapters connect the integrations to Oracle Fusion, where the invoice is created.
Conclusion:
A few choices make this pattern hold up in production:
- Keep money decisions in integrations. Budgets, totals, and claim validation belong in OIC workflows, keyed on the invoice and the merchant order reference, not in the model.
- Scope each gateway to its audience. Separate gateways, with their own scopes and tool filters, keep access narrow.
- Protect data at the boundary. Redact on requests to third-party servers, and test PII detectors with representative payloads.
- Verify authentication per server. Identity propagation and security policies are not automatic. Confirm what each server supports.
- Treat Policy Denied as a signal, and plan for a quiet Canopy. Review denials regularly, and decide what the assistant says when a third-party server is slow or down.
The MCP Gateway gives an AI assistant one governed door to many servers. Two OIC MCP servers and Canopy sit behind the same endpoint, each with its own tool filter, PII protection, and business rules. Every call lands in one audit view. OIC decides eligibility, access, budget, and approvals. The employee decides what to buy.
The future of rewards isn’t a form. It’s a conversation, with guardrails you can see.



