oracle.oci-cloud-mcp-server

v2.3.1
oracle.oci-cloud-mcp-server Checked 4 hours ago Published 17 days ago

OCI Python SDK MCP server

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

find_oci_api

Thin keyword/resource-action fallback search across OCI Python SDK client methods. Use this only when you cannot infer a plausible client class or method well enough to call list_client_operations or describe_oci_operation first.

ParameterTypeDescription
query *stringShort SDK-oriented resource/action query such as 'list regions', 'launch instance', or 'vcn create'. Reduce requests to concise search terms; do not pass full sentences. This is an escape hatch, not t…
client_fqnOptional fully-qualified client class to narrow the search, e.g. 'oci.core.ComputeClient'.
include_paramsbooleanInclude compact signatures for each match.
limitintegerMaximum matches to return. Keep this small (3-5) for initial discovery.

describe_oci_operation

Describe a specific OCI Python SDK client method, including required params, optional params, pagination behavior, aliases, and request model hints.

ParameterTypeDescription
client_fqn *stringFully-qualified client class, e.g. 'oci.core.VirtualNetworkClient'
operation *stringOperation name, e.g. 'create_vcn' or 'list_instances'
max_model_fieldsintegerMaximum number of model fields to include per request model hint.

invoke_oci_api

Invoke an OCI Python SDK client method by fully-qualified client class and operation name. This is a thin wrapper over the OCI Python SDK call. Equivalent Python `oci.core.ComputeClient.list_instances(compartment_id='...')` maps to `client_fqn='oci.core.ComputeClient', operation='list_instances', params={'compartment_id': '...'}`. The default result_mode='auto' keeps list, summarize, and paginated results compact.

ParameterTypeDescription
client_fqn *stringFully-qualified client class, e.g. 'oci.core.ComputeClient'
operation *stringClient method/operation name, e.g. 'list_instances' or 'get_instance'
fieldsOptional top-level response fields to project after serialization, e.g. ['id', 'display_name', 'lifecycle_state']. This shapes the returned payload only; it does not change the SDK call contract.
max_resultsOptionally limit returned records for paginated operations, or trim top-level lists after serialization.
paramsKeyword arguments for the SDK method (JSON object). These are the snake_case kwargs you would pass in Python.
result_modestringUse 'auto' for compact defaults, 'summary' for a compact structural summary, or 'full' for the full payload.

list_client_operations

List public callable OCI Python SDK methods for a given client class. Prefer this over find_oci_api when you already know the likely client family.

ParameterTypeDescription
client_fqn *stringFully-qualified client class, e.g. 'oci.core.ComputeClient'
include_paramsbooleanInclude compact method signatures in the response.
limitOptional maximum number of operations to return.
queryOptional keyword/resource filter to keep the result compact, e.g. 'instance' or 'launch'.

list_oci_clients

List OCI Python SDK client classes discoverable in the current environment. Prefer direct SDK-shaped calls or find_oci_api for task-oriented requests; use this for capability discovery or debugging.