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. The server also uses an empty OCI CLI RC file, so command and parameter aliases, canned queries, defaults, and settings from a user CLI RC file are not applied. 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/.

Metadata

Release files for oracle.oci-api-mcp-server 2.2.0

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-api-mcp-server 2.2.0
File Size Uploaded Provenance Actions
oracle_oci_api_mcp_server-2.2.0.tar.gz 31.5 kB Without provenance Details for oracle_oci_api_mcp_server-2.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 56.3 kB

Release files / oracle_oci_api_mcp_server-2.2.0.tar.gz

Download URL oracle_oci_api_mcp_server-2.2.0.tar.gz
Size 31.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fe86ce298d540378d0edd4e9036886429653f23a4d8e7280b06a660ad75b86ff
BLAKE2b-256 checksum
How to use checksums
4659d76d108cb9138c304a5415fec940e6b99f67fbf7d81401888f36d73e0d5e
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_api_mcp_server-2.2.0-py3-none-any.whl

Download URL oracle_oci_api_mcp_server-2.2.0-py3-none-any.whl
Size 24.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04ee1844b474e8823a40b07e449f59ea2c33bd29879e734c6f58d27db2170317
BLAKE2b-256 checksum
How to use checksums
dcedae3727d9ddcc9fe65c7cff4d305755601cf8816a4882092f848bc69ab708
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-api-mcp-server 2.2.0

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