oracle.oci-cloud-mcp-server
v2.3.1OCI 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.
| Parameter | Type | Description |
|---|---|---|
query * | string | Short 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_fqn | Optional fully-qualified client class to narrow the search, e.g. 'oci.core.ComputeClient'. | |
include_params | boolean | Include compact signatures for each match. |
limit | integer | Maximum 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.
| Parameter | Type | Description |
|---|---|---|
client_fqn * | string | Fully-qualified client class, e.g. 'oci.core.VirtualNetworkClient' |
operation * | string | Operation name, e.g. 'create_vcn' or 'list_instances' |
max_model_fields | integer | Maximum 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.
| Parameter | Type | Description |
|---|---|---|
client_fqn * | string | Fully-qualified client class, e.g. 'oci.core.ComputeClient' |
operation * | string | Client method/operation name, e.g. 'list_instances' or 'get_instance' |
fields | Optional 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_results | Optionally limit returned records for paginated operations, or trim top-level lists after serialization. | |
params | Keyword arguments for the SDK method (JSON object). These are the snake_case kwargs you would pass in Python. | |
result_mode | string | Use '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.
| Parameter | Type | Description |
|---|---|---|
client_fqn * | string | Fully-qualified client class, e.g. 'oci.core.ComputeClient' |
include_params | boolean | Include compact method signatures in the response. |
limit | Optional maximum number of operations to return. | |
query | Optional 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.