Skip to main content

OCI Usage MCP Server

Overview

This server provides tools for interacting with Oracle Cloud Infrastructure (OCI) Usage service.

Running the server

STDIO transport mode

uvx oracle.oci-usage-mcp-server

HTTP streaming transport mode

ORACLE_MCP_HOST=<bind_host> \
ORACLE_MCP_PORT=<port> \
ORACLE_MCP_BASE_URL=<public_base_url> \
OCI_REGION=<region> \
IDCS_DOMAIN=<idcs_domain> \
IDCS_CLIENT_ID=<client_id> \
IDCS_CLIENT_SECRET=<client_secret> \
IDCS_AUDIENCE=<audience> \
uvx oracle.oci-usage-mcp-server

Register ${ORACLE_MCP_BASE_URL}/auth/callback in the OCI IAM confidential application. If IDCS_REQUIRED_SCOPES is unset, the default is openid profile email oci_mcp.usage.invoke.

Tools

Tool Name Description
list_usage_reports List usage reports in the tenancy
get_usage_report Get usage report by ID

⚠️ NOTE: stdio uses the configured OCI CLI profile. HTTP uses the authenticated OCI IAM user and does not use the local OCI CLI profile for request authentication.

Third-Party APIs

Developers choosing to distribute a binary implementation of this project are responsible for obtaining and providing all required licenses and copyright notices for the third-party code used in order to ensure compliance with their respective open source licenses.

Disclaimer

Users are responsible for their local environment and credential safety. Different language model selections may yield different results and performance.

License

Copyright (c) 2025 Oracle and/or its affiliates.

Released under the Universal Permissive License v1.0 as shown at
https://oss.oracle.com/licenses/upl/.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oracle_oci_usage_mcp_server-2.0.1.tar.gz (66.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oracle_oci_usage_mcp_server-2.0.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file oracle_oci_usage_mcp_server-2.0.1.tar.gz.

File metadata

  • Download URL: oracle_oci_usage_mcp_server-2.0.1.tar.gz
  • Upload date:
  • Size: 66.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Oracle Linux Server","version":"9.8","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for oracle_oci_usage_mcp_server-2.0.1.tar.gz
Algorithm Hash digest
SHA256 58fe8cb4654afba13aaf50c1152ba507173d89869745b9f89b55f7e3c5a1391d
MD5 9dd41ad9a92cdb652156ac74b2411c48
BLAKE2b-256 be93c61c9e2ae0fb2e2a6f9d1dbac8785f441aeb49e3faede816d80851c1d72f

See more details on using hashes here.

File details

Details for the file oracle_oci_usage_mcp_server-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: oracle_oci_usage_mcp_server-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Oracle Linux Server","version":"9.8","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for oracle_oci_usage_mcp_server-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ff7f5a712be8b3fbb1fda8cfffdcfbff13cf8d100c1c02b95982bdcadf4551c1
MD5 cc2cbf1cca833de566f1f2cee93e245e
BLAKE2b-256 a2ca6276afbc9150f7560da7261b13c45b60beca22bdddfc22732aa11a42dd3e

See more details on using hashes here.

Release history Release notifications | RSS feed

2.0.2

2 files

This release

2.0.1 This release

2 files

2.0.0

2 files

1.1.2

2 files

1.1.0

2 files

1.0.1

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page