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

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_identity_mcp_server-3.0.2.tar.gz (72.4 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file oracle_oci_identity_mcp_server-3.0.2.tar.gz.

File metadata

  • Download URL: oracle_oci_identity_mcp_server-3.0.2.tar.gz
  • Upload date:
  • Size: 72.4 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_identity_mcp_server-3.0.2.tar.gz
Algorithm Hash digest
SHA256 adbc0ab775098583873c796d8e409120b1637bef5ca9d1e3285d18e5869721ee
MD5 227b481a37e16d5338a14b6db91e7fb7
BLAKE2b-256 7bc75118190ef468911531c55c36f88b4964aef897fd23dd4ad3380b7f54f811

See more details on using hashes here.

File details

Details for the file oracle_oci_identity_mcp_server-3.0.2-py3-none-any.whl.

File metadata

  • Download URL: oracle_oci_identity_mcp_server-3.0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.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_identity_mcp_server-3.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c32d3de7ac05b6efc5e22190d0f83f94fef924e9e11c60175a7a745199466538
MD5 1407c2fc38ad3b685cea52d1dfd5b001
BLAKE2b-256 ac93e3c19d4a23f0e1648b8594e2e84719c36db1258e6f500ad920e1f0d122da

See more details on using hashes here.

Release history Release notifications | RSS feed

3.0.3

2 files

This release

3.0.2 This release

2 files

3.0.1

2 files

3.0.0

2 files

2.1.3

2 files

2.1.1

2 files

2.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