Oracle Fusion Cloud ERP — read-only MCP server (STDIO transport)
Project description
mcp-oraclefusion
An MCP (Model Context Protocol) server for Oracle Fusion Cloud ERP. Gives any MCP-compatible AI client (Claude, Cursor, Windsurf, etc.) read-only access to your Oracle Fusion data via STDIO transport.
Quick start
Install and run via uvx:
{
"mcpServers": {
"oracle-fusion": {
"command": "uvx",
"args": ["mcp-oraclefusion"],
"env": {
"ORACLE_FUSION_BASE_URL": "https://your-oracle-instance.fa.ocs.oraclecloud.com",
"ORACLE_USERNAME": "your.name@example.com",
"ORACLE_PASSWORD": "your_oracle_password"
}
}
}
}
Or run directly:
pip install mcp-oraclefusion
export ORACLE_FUSION_BASE_URL=https://your-oracle-instance.fa.ocs.oraclecloud.com
export ORACLE_USERNAME=your.name@example.com
export ORACLE_PASSWORD=your_oracle_password
mcp-oraclefusion
What you can do
Ask natural-language questions about your Oracle Fusion data:
- "Show me all invoices from Google in Q1 2025"
- "Find open purchase orders from Dell over $50,000"
- "What's the USD to EUR corporate exchange rate for January 2025?"
- "Search requisitions pending approval in US Operations"
- "Look up supplier details for ACME Corp including sites and contacts"
- "Show AR invoices for customer XYZ"
- "Test the Oracle connection and show record counts"
Tools (24 read + 7 write)
Accounts Payable
search_invoices, get_invoice_details, search_payments, get_payment_details, list_payment_terms
Procurement
search_purchase_orders, get_po_details, search_suppliers, get_supplier_details, search_requisitions, search_receiving_receipts, search_approved_suppliers, search_categories
General Ledger
search_journal_batches, search_gl_balances, list_ledgers, list_chart_of_accounts, search_currency_rates
Accounts Receivable
search_ar_invoices, get_ar_invoice_details, search_receipts
Expenses & HCM
search_expense_reports, search_user_accounts
Infrastructure
test_oracle_connection
Write tools (set MCP_MODE=full to enable)
create_purchase_order, update_po_distribution, change_po_status, create_invoice, change_invoice_status, create_requisition, change_requisition_status
Configuration
| Env var | Required | Description |
|---|---|---|
ORACLE_FUSION_BASE_URL |
Yes | Your Oracle Fusion instance URL |
ORACLE_USERNAME |
Yes | Your Oracle Fusion username (email) |
ORACLE_PASSWORD |
If no JWT | Your Oracle Fusion password |
ORACLE_FUSION_API_VERSION |
No | REST API version (default 11.13.18.05) |
MCP_MODE |
No | readonly (default) or full (enables write tools) |
LOG_LEVEL |
No | WARNING (default), INFO, DEBUG — logs go to stderr |
JWT authentication (alternative to password)
Instead of a password you can authenticate with an RSA private key + certificate registered in Oracle's Security Console (API Authentication). Set these env vars and omit ORACLE_PASSWORD:
| Env var | Description |
|---|---|
ORACLE_JWT_PRIVATE_KEY_PATH |
Path to the RSA private key PEM file |
ORACLE_JWT_PRIVATE_KEY |
Inline PEM key (alternative to path, useful in containers) |
ORACLE_JWT_CERT_PATH |
Path to the matching X.509 certificate PEM file |
ORACLE_JWT_ISSUER |
Trusted issuer value configured in Oracle |
The server tries JWT first and falls back to Basic Auth if the JWT vars are not set.
Oracle REST API notes
- Query filters use Oracle syntax: conditions joined with
;(AND), string matching withLIKE '*term*' - Some fields are not queryable (
x-queryable: false) — the server uses finders or client-side filtering - CLOB fields are excluded from collection projections to avoid Oracle 500 errors
- The server auto-retries Oracle 500s by progressively stripping
totalResultsandfieldsparams - Status changes use Oracle action endpoints (
POST /resource/{id}/action/{name}), not PATCH - Supplier names are UPPERCASE in Oracle
- Pagination via
limit/offset;hasMoreindicates additional pages
Requirements
- Python 3.10+
- Oracle Fusion Cloud instance with REST API access and a user account
Author
Wanis Elabbar
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_oraclefusion-0.1.0.tar.gz.
File metadata
- Download URL: mcp_oraclefusion-0.1.0.tar.gz
- Upload date:
- Size: 52.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.3 {"installer":{"name":"uv","version":"0.10.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a1a56d45fdc13fc62a625245f6cd5dd8288d8163375a5c7c88cbfb4b45aebc8
|
|
| MD5 |
37eea85bf1a703e0259db829b0e66b47
|
|
| BLAKE2b-256 |
b465434924bdc0dc879c95cd120ace4fa3a230ba0e4ed29ece495b900c0b691d
|
File details
Details for the file mcp_oraclefusion-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mcp_oraclefusion-0.1.0-py3-none-any.whl
- Upload date:
- Size: 30.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.3 {"installer":{"name":"uv","version":"0.10.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43d2ba6f240cca0249d86b72206b4d0836785026c6bafeadcdb48292c9f2dd65
|
|
| MD5 |
2514064000f3570ab9f00a4c396fdf29
|
|
| BLAKE2b-256 |
603a0906b3d5f6ead41a9e16ba7ee59647a0c31bf376ed2475bd6172b8c9399d
|