Skip to main content

OCI API MCP Server

Overview

This server provides tools to run OCI CLI commands to interact with the OCI services. It includes tools to help with OCI command execution and provide helpful information.

Running the server

STDIO transport mode

uvx oracle.oci-api-mcp-server

HTTP streaming transport mode

oracle.oci-api-mcp-server supports stdio only.

Tools

Tool Name Description
get_oci_command_help Returns helpful instructions for running an OCI CLI command. Only provide the command after 'oci', do not include the string 'oci' in your command.
run_oci_command Runs an OCI CLI command. This tool allows you to run OCI CLI commands on the user's behalf. Only provide the command after 'oci', do not include the string 'oci' in your command.
get_oci_commands (Resource) Returns helpful information on various OCI services and related commands.

⚠️ NOTE: All actions use the configured OCI CLI profile. OCI_CLI_AUTH is authoritative: when it is set, run_oci_command adds no authentication override and lets the OCI CLI select authentication. Otherwise, run_oci_command resolves OCI_MCP_AUTH_TYPE using oracle-mcp-common. Supported values are api_key, security_token, instance_principal, resource_principal, and oke_workload_identity. auto selects API-key or session-token authentication from the selected profile's direct configuration. The server rejects unclassifiable auto profiles and auth modes without OCI CLI equivalents (identity_domain_upst, instance_principal_delegation, and resource_principal_delegation).

The server owns OCI CLI authentication and connection configuration. Commands cannot supply global overrides such as --auth, --profile, --config-file, --endpoint, or --proxy. Use least-privilege IAM and protect secrets.

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_api_mcp_server-2.1.2.tar.gz (77.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_api_mcp_server-2.1.2-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

Details for the file oracle_oci_api_mcp_server-2.1.2.tar.gz.

File metadata

  • Download URL: oracle_oci_api_mcp_server-2.1.2.tar.gz
  • Upload date:
  • Size: 77.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","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_api_mcp_server-2.1.2.tar.gz
Algorithm Hash digest
SHA256 9ee09e78cb2cc5cbe414bd959de6e5c9895c2803b9f88ebccff87c30eaa70ae1
MD5 40f9bc20cbb12a60b7f7ae18bb865897
BLAKE2b-256 1dfb21971703f4526b1fe500f0a957fba5b4c941570eed56f2e2b750766fae8b

See more details on using hashes here.

File details

Details for the file oracle_oci_api_mcp_server-2.1.2-py3-none-any.whl.

File metadata

  • Download URL: oracle_oci_api_mcp_server-2.1.2-py3-none-any.whl
  • Upload date:
  • Size: 22.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","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_api_mcp_server-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 018669afc56f540181ed3c41ab8d06e1763b83883450a17706ae1566ea165f94
MD5 b98d5e346337a08a410f58df60886e23
BLAKE2b-256 9472774a44d57b5cfe8edd1d0dd96b5dba0b06043abba984a56f7c2050856c48

See more details on using hashes here.

Release history Release notifications | RSS feed

2.1.5

2 files

2.1.4

2 files

2.1.3

2 files

This release

2.1.2 This release

2 files

2.1.0

2 files

2.0.0

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