oracle.oci-compute-mcp-server

v2.1.0
oracle.oci-compute-mcp-server Checked 5 hours ago Published 28 days ago

OCI 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

ParameterTypeDescription
compartment_id *stringThe OCID of the compartment
lifecycle_stateThe lifecycle state of the instance to filter on
limitThe maximum amount of instances to return. If None, there is no limit.

get_instance

Get Instance with a given instance OCID

ParameterTypeDescription
instance_id *stringThe OCID of the instance

launch_instance

Create a new instance. Another word for instance could be compute, server, or virtual machine

ParameterTypeDescription
availability_domain *stringThis 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 *stringThis 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 *stringThe 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 *stringThis 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_idThe non-empty OCID of an existing boot volume to use as the instance source. When provided, this takes precedence over image_id.
image_idThis 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_gbsThe total amount of memory in gigabytes to assigned to the instance
ocpusThe total number of cores in the instances
shapeThis is the name of the shape for the instance

terminate_instance

Delete instance with given instance OCID

ParameterTypeDescription
instance_id *stringThe OCID of the instance

update_instance

Update instance. This may restart the instance, so warn the user

ParameterTypeDescription
instance_id *stringThe OCID of the instance
memory_in_gbsThe total amount of memory in gigabytes to assigned to the instance
ocpusThe total number of cores in the instances

list_images

List images in a given compartment, optionally filtered by operating system

ParameterTypeDescription
compartment_id *stringThe OCID of the compartment
limitThe maximum amount of resources to return. If None, there is no limit.
operating_systemThe operating system to filter with

get_image

Get Image with a given image OCID

ParameterTypeDescription
image_id *stringThe OCID of the image

instance_action

Perform the desired action on a given instance

ParameterTypeDescription
action *stringThe instance action to be performed
instance_id *stringThe OCID of the instance

list_vnic_attachments

List vnic attachments in a given compartment and/or on a given instance.

ParameterTypeDescription
compartment_id *stringThe 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_idThe OCID of the instance
limitThe maximum amount of resources to return. If None, there is no limit.

get_vnic_attachment

Get Vnic Attachment with a given OCID

ParameterTypeDescription
vnic_attachment_id *stringThe OCID of the vnic attachment