oracle.oci-compute-mcp-server
v2.1.0OCI Compute Service MCP server
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_instances
List Instances in a given compartment
| Parameter | Type | Description |
|---|---|---|
compartment_id * | string | The OCID of the compartment |
lifecycle_state | The lifecycle state of the instance to filter on | |
limit | The maximum amount of instances to return. If None, there is no limit. |
get_instance
Get Instance with a given instance OCID
| Parameter | Type | Description |
|---|---|---|
instance_id * | string | The OCID of the instance |
launch_instance
Create a new instance. Another word for instance could be compute, server, or virtual machine
| Parameter | Type | Description |
|---|---|---|
availability_domain * | string | This is the availability domain to create the instance in. It must be formatted like "<4-digit-tenancy-code>:<ad-string>". Example: "aNMj:US-ASHBURN-AD-1". The value changes per tenancy, per region, a… |
compartment_id * | string | This is the ocid of the compartment to create the instance in.Must begin with "ocid". If the user specifies a compartment name, then you may use the list_compartments tool in order to map the compartm… |
display_name * | string | The display name of the instance. If no value is provded, then you can pass in "instance-<year><month><day>-<hour><minute>" where those time values come from the current date time |
subnet_id * | string | This is the ocid of the subnet to attach to the primary virtual network interface card (VNIC) of the compute instance. If no value is provided, you may use the list_subnets tool, selecting the first s… |
boot_volume_id | The non-empty OCID of an existing boot volume to use as the instance source. When provided, this takes precedence over image_id. | |
image_id | This is the ocid of the image for the instance. If it is left unspecified or if the user specifies an image name, then you may have to list the images in the root compartment in order to map the image… | |
memory_in_gbs | The total amount of memory in gigabytes to assigned to the instance | |
ocpus | The total number of cores in the instances | |
shape | This is the name of the shape for the instance |
terminate_instance
Delete instance with given instance OCID
| Parameter | Type | Description |
|---|---|---|
instance_id * | string | The OCID of the instance |
update_instance
Update instance. This may restart the instance, so warn the user
| Parameter | Type | Description |
|---|---|---|
instance_id * | string | The OCID of the instance |
memory_in_gbs | The total amount of memory in gigabytes to assigned to the instance | |
ocpus | The total number of cores in the instances |
list_images
List images in a given compartment, optionally filtered by operating system
| Parameter | Type | Description |
|---|---|---|
compartment_id * | string | The OCID of the compartment |
limit | The maximum amount of resources to return. If None, there is no limit. | |
operating_system | The operating system to filter with |
get_image
Get Image with a given image OCID
| Parameter | Type | Description |
|---|---|---|
image_id * | string | The OCID of the image |
instance_action
Perform the desired action on a given instance
| Parameter | Type | Description |
|---|---|---|
action * | string | The instance action to be performed |
instance_id * | string | The OCID of the instance |
list_vnic_attachments
List vnic attachments in a given compartment and/or on a given instance.
| Parameter | Type | Description |
|---|---|---|
compartment_id * | string | The OCID of the compartment. If an instance_id is passed in, but no compartment_id is passed in,then the compartment OCID of the instance may be used as a default. |
instance_id | The OCID of the instance | |
limit | The maximum amount of resources to return. If None, there is no limit. |
get_vnic_attachment
Get Vnic Attachment with a given OCID
| Parameter | Type | Description |
|---|---|---|
vnic_attachment_id * | string | The OCID of the vnic attachment |