Skip to main content

OCI Identity MCP Server

Overview

This server provides tools to interact with the OCI Identity service.

Running the server

STDIO transport mode

uvx oracle.oci-identity-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-identity-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.identity.invoke.

Environment Variables

The server supports the following environment variables:

  • OCI_CONFIG_PROFILE: OCI configuration profile name (default: "DEFAULT")
  • TENANCY_ID_OVERRIDE: Overrides the tenancy ID from the config file

Tools

Tool Name Description
list_compartments List compartments in a given tenancy.
get_tenancy_info Get tenancy information.
list_availability_domains List availability domains in a given tenancy.
get_current_tenancy Get current tenancy information.
get_current_user Get current user information.
get_compartment_by_name Return a compartment matching the provided name
list_subscribed_regions Return a list of all regions the customer (tenancy) is subscribed to

⚠️ 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/.

Metadata

Release files for oracle.oci-identity-mcp-server 3.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oracle.oci-identity-mcp-server 3.0.4
File Size Uploaded Provenance Actions
oracle_oci_identity_mcp_server-3.0.4.tar.gz 16.2 kB Without provenance Details for oracle_oci_identity_mcp_server-3.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for oracle.oci-identity-mcp-server 3.0.4
File Interpreter ABI Platform Actions
oracle_oci_identity_mcp_server-3.0.4-py3-none-any.whl Python 3 none any Details for oracle_oci_identity_mcp_server-3.0.4-py3-none-any.whl

Total release size: 27.3 kB

Release files / oracle_oci_identity_mcp_server-3.0.4.tar.gz

Download URL oracle_oci_identity_mcp_server-3.0.4.tar.gz
Size 16.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a10f9392038452e4e80ededaaf6432e652f1df333883d030d44d30faa0d1c2e8
BLAKE2b-256 checksum
How to use checksums
6b1b16db1b7d3404228046da066738352e3148db823f1fe2d015ba8d3fae1000
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / oracle_oci_identity_mcp_server-3.0.4-py3-none-any.whl

Download URL oracle_oci_identity_mcp_server-3.0.4-py3-none-any.whl
Size 11.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41ad404df7393e2dd0f038813fe777d5cdb00b0c77c0c660f9e5460ea5ad39b9
BLAKE2b-256 checksum
How to use checksums
9637fd1f02bcdc9b8801865b665888fa919fa66a1cb9df20b9a867aee050a177
Upload date
Uploaded using Trusted Publishing?
What is 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}

Security for oracle.oci-identity-mcp-server 3.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page