oracle.oci-load-balancer-mcp-server
v1.0.3An OCI Model Context Protocol server for load-balancer
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_load_balancers
Lists OCI load balancers in a compartment. Requires a compartment OCID. If you have a display name, you may first use this tool to list load balancers and search for the desired OCID based on display_name. You MUST pass compartment_id=... (do NOT use name or 'root').Example: call list_load_balancers with compartment_id=ocid1.tenancy.oc1..abcd
| Parameter | Type | Description |
|---|---|---|
compartment_id * | string | The OCID of the compartment |
display_name | Exact display name to filter on | |
lifecycle_state | The lifecycle state of the load balancer to filter on | |
limit | The maximum amount of load balancers to return. If None, there is no limit. | |
sort_by | Field to sort by | |
sort_order | Sort order to use |
get_load_balancer
Get details for a specific load balancer. Requires load_balancer_id (OCID). If you only have a display name, first perform a list_load_balancers call and search for the matching display_name to figure out the OCID. Example: call get_load_balancer with load_balancer_id=ocid1.loadbalancer.oc1..abcd
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
create_load_balancer
Create a new load balancer. Requires compartment_id (OCID), display_name, shape_name, and subnet_ids (list of OCIDs). Do NOT use compartment name. Example: call create_load_balancer with compartment_id=ocid1.tenancy.oc1..abcd, display_name=lb-name, shape_name=Flexible, subnet_ids=[ocid1.subnet.oc1..subnet-abcd] When a compartment_id is not provided, use the currently active compartment.
| Parameter | Type | Description |
|---|---|---|
compartment_id * | string | The OCID of the compartment to create the load balancer in. |
display_name * | string | A user-friendly display name for the load balancer. |
shape_name * | string | The shape name for the load balancer (e.g., Flexible, 100Mbps). |
subnet_ids * | array | An array of subnet OCIDs for the load balancer. |
ip_mode | Whether the load balancer should have IPv4 or IPv6 address | |
is_delete_protection_enabled | Enable delete protection for this load balancer | |
is_private | Whether the load balancer should be private | |
is_request_id_enabled | Enable Request Id header feature for HTTP listeners | |
maximum_bandwidth_in_mbps | Maximum bandwidth in Mbps (Flexible shape only) | |
minimum_bandwidth_in_mbps | Minimum bandwidth in Mbps (Flexible shape only) | |
network_security_group_ids | Array of NSG OCIDs to associate with the load balancer | |
request_id_header | Custom header name for Request Id feature when enabled |
update_load_balancer
Update a load balancer configuration
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer to update |
defined_tags | Defined tags to set on the resource | |
defined_tags_extended | Extended defined tags to set on the resource | |
display_name | New display name for the load balancer | |
freeform_tags | Free-form tags to set on the resource | |
is_delete_protection_enabled | Whether delete protection should be enabled | |
is_request_id_enabled | Enable Request Id header feature for HTTP listeners | |
request_id_header | Custom header name for Request Id feature when enabled |
update_load_balancer_shape
Update the shape (bandwidth) of a load balancer
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer to update |
maximum_bandwidth_in_mbps | Maximum bandwidth in Mbps (Flexible shape only) | |
minimum_bandwidth_in_mbps | Minimum bandwidth in Mbps (Flexible shape only) | |
shape_name | The shape name for the load balancer (e.g., Flexible, 100Mbps) |
delete_load_balancer
Delete the specified load balancer. Requires load_balancer_id (OCID). If you have only a display name, use list_load_balancers to obtain the OCID first. Example: call delete_load_balancer with load_balancer_id=ocid1.loadbalancer.oc1..abcd
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer to delete |
update_load_balancer_network_security_groups
Update the network security groups associated with a load balancer
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer to update |
network_security_group_ids | Array of NSG OCIDs to associate with the load balancer |
list_load_balancer_listeners
List all listeners for the given load balancer. Use full OCID for load_balancer_id (do NOT use display_name or nickname). Example: call list_load_balancer_listeners with load_balancer_id=ocid1.loadbalancer.oc1..abcd IMPORTANT: Must be called by: list_load_balancer_listeners.
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
limit | The maximum number of listeners to return. If None, all listeners are returned. |
create_load_balancer_listener
Adds a listener to a load balancer
| Parameter | Type | Description |
|---|---|---|
default_backend_set_name * | string | The name of the associated backend set |
load_balancer_id * | string | The OCID of the load balancer |
name * | string | A friendly name for the listener |
port * | integer | The communication port for the listener |
protocol * | string | The protocol on which the listener accepts connection requests |
backend_tcp_proxy_protocol_options | PPv2 options that can be enabled on TCP listeners | |
backend_tcp_proxy_protocol_version | Backend TCP Proxy Protocol version (1 or 2) | |
hostname_names | An array of hostname resource names | |
idle_timeout | Maximum idle time in seconds between client/backend operations | |
path_route_set_name | Deprecated. Name of the PathRouteSet applied to this listener | |
routing_policy_name | Name of the RoutingPolicy applied to this listener | |
rule_set_names | Names of RuleSets applied to this listener | |
ssl_certificate_name | Certificate bundle name configured on the load balancer | |
ssl_cipher_suite_name | Cipher suite name to use for SSL/HTTPS | |
ssl_has_session_resumption | Whether TLS session resumption should be enabled | |
ssl_protocols | Supported SSL protocols (e.g., TLSv1.2, TLSv1.3) | |
ssl_server_order_preference | Preference for server ciphers over client ciphers | |
ssl_verify_depth | Max depth for peer certificate chain verification | |
ssl_verify_peer_certificate | Whether to verify peer certificates |
get_load_balancer_listener
Gets a listener by name from the given load balancer
| Parameter | Type | Description |
|---|---|---|
listener_name * | string | The name of the listener to fetch |
load_balancer_id * | string | The OCID of the load balancer |
update_load_balancer_listener
Updates a listener for a given load balancer
| Parameter | Type | Description |
|---|---|---|
listener_name * | string | The name of the listener to update |
load_balancer_id * | string | The OCID of the load balancer |
backend_tcp_proxy_protocol_options | PPv2 options that can be enabled on TCP listeners | |
backend_tcp_proxy_protocol_version | Backend TCP Proxy Protocol version (1 or 2) | |
default_backend_set_name | The name of the associated backend set | |
hostname_names | An array of hostname resource names | |
idle_timeout | Maximum idle time in seconds between client/backend operations | |
path_route_set_name | Deprecated. Name of the PathRouteSet applied to this listener | |
port | The communication port for the listener | |
protocol | The protocol on which the listener accepts connection requests | |
routing_policy_name | Name of the RoutingPolicy applied to this listener | |
rule_set_names | Names of RuleSets applied to this listener | |
ssl_certificate_name | Certificate bundle name configured on the load balancer | |
ssl_cipher_suite_name | Cipher suite name to use for SSL/HTTPS | |
ssl_has_session_resumption | Whether TLS session resumption should be enabled | |
ssl_protocols | Supported SSL protocols (e.g., TLSv1.2, TLSv1.3) | |
ssl_server_order_preference | Preference for server ciphers over client ciphers | |
ssl_verify_depth | Max depth for peer certificate chain verification | |
ssl_verify_peer_certificate | Whether to verify peer certificates |
delete_load_balancer_listener
Deletes a listener from a load balancer
| Parameter | Type | Description |
|---|---|---|
listener_name * | string | The name of the listener to delete |
load_balancer_id * | string | The OCID of the load balancer |
list_load_balancer_backend_sets
Lists the backend sets from the given load balancer
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
limit | The maximum number of backend sets to return. If None, all are returned. |
get_load_balancer_backend_set
Gets the backend set with the given name from the given load balancer
| Parameter | Type | Description |
|---|---|---|
backend_set_name * | string | The name of the backend set to fetch |
load_balancer_id * | string | The OCID of the load balancer |
create_load_balancer_backend_set
Adds a backend set to a load balancer
| Parameter | Type | Description |
|---|---|---|
health_checker_protocol * | string | Protocol used for health checks (HTTP or TCP) |
load_balancer_id * | string | The OCID of the load balancer |
name * | string | A friendly, unique backend set name |
policy * | string | Load balancer policy for this backend set |
backend_max_connections | Max simultaneous connections to any backend unless overridden at backend level | |
backends | Backends to include in the backend set | |
health_checker_interval_in_millis | Interval between health checks in milliseconds | |
health_checker_is_force_plain_text | Force plaintext health checks regardless of backend set SSL configuration | |
health_checker_port | Port to use for the health check | |
health_checker_response_body_regex | Regex to match against HTTP response body | |
health_checker_retries | Number of retries before marking backend unhealthy | |
health_checker_return_code | Expected return code from healthy backend | |
health_checker_timeout_in_millis | Timeout in milliseconds for health check replies | |
health_checker_url_path | Path for HTTP health checks | |
lb_cookie_cookie_name | Name of cookie inserted by the load balancer | |
lb_cookie_disable_fallback | Disable fallback when original backend unavailable | |
lb_cookie_domain | Cookie domain | |
lb_cookie_is_http_only | Whether to set the HttpOnly attribute on the cookie | |
lb_cookie_is_secure | Whether to set the Secure attribute on the cookie | |
lb_cookie_max_age_in_seconds | Cookie Max-Age in seconds | |
lb_cookie_path | Cookie path | |
session_persistence_cookie_name | Cookie name for application-cookie stickiness | |
session_persistence_disable_fallback | Disable fallback to a different backend when original unavailable | |
ssl_certificate_ids | OCI Certificates service certificate OCIDs | |
ssl_certificate_name | Certificate bundle name configured on the load balancer | |
ssl_cipher_suite_name | Cipher suite name for SSL configuration | |
ssl_has_session_resumption | Whether TLS session resumption should be enabled | |
ssl_protocols | Supported SSL protocols (e.g., TLSv1.2, TLSv1.3) | |
ssl_server_order_preference | Preference for server ciphers over client ciphers | |
ssl_trusted_certificate_authority_ids | OCI Certificates CA/bundle OCIDs to trust | |
ssl_verify_depth | Max depth for peer certificate chain verification | |
ssl_verify_peer_certificate | Whether to verify peer certificates |
update_load_balancer_backend_set
Updates a backend set on a load balancer
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
name * | string | The name of the backend set to update |
backend_max_connections | Max simultaneous connections to any backend unless overridden at backend level | |
backends | Backends to include in the backend set | |
health_checker_interval_in_millis | Interval between health checks in milliseconds | |
health_checker_is_force_plain_text | Force plaintext health checks regardless of backend set SSL configuration | |
health_checker_port | Port to use for the health check | |
health_checker_protocol | Protocol used for health checks (HTTP or TCP) | |
health_checker_response_body_regex | Regex to match against HTTP response body | |
health_checker_retries | Number of retries before marking backend unhealthy | |
health_checker_return_code | Expected return code from healthy backend | |
health_checker_timeout_in_millis | Timeout in milliseconds for health check replies | |
health_checker_url_path | Path for HTTP health checks | |
lb_cookie_cookie_name | Name of cookie inserted by the load balancer | |
lb_cookie_disable_fallback | Disable fallback when original backend unavailable | |
lb_cookie_domain | Cookie domain | |
lb_cookie_is_http_only | Whether to set the HttpOnly attribute on the cookie | |
lb_cookie_is_secure | Whether to set the Secure attribute on the cookie | |
lb_cookie_max_age_in_seconds | Cookie Max-Age in seconds | |
lb_cookie_path | Cookie path | |
policy | Load balancer policy for this backend set | |
session_persistence_cookie_name | Cookie name for application-cookie stickiness | |
session_persistence_disable_fallback | Disable fallback to a different backend when original unavailable | |
ssl_certificate_ids | OCI Certificates service certificate OCIDs | |
ssl_certificate_name | Certificate bundle name configured on the load balancer | |
ssl_cipher_suite_name | Cipher suite name for SSL configuration | |
ssl_has_session_resumption | Whether TLS session resumption should be enabled | |
ssl_protocols | Supported SSL protocols (e.g., TLSv1.2, TLSv1.3) | |
ssl_server_order_preference | Preference for server ciphers over client ciphers | |
ssl_trusted_certificate_authority_ids | OCI Certificates CA/bundle OCIDs to trust | |
ssl_verify_depth | Max depth for peer certificate chain verification | |
ssl_verify_peer_certificate | Whether to verify peer certificates |
delete_load_balancer_backend_set
Deletes a backend set from a load balancer
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
name * | string | The name of the backend set to delete |
list_backends
Lists the backends from the given backend set and load balancer
| Parameter | Type | Description |
|---|---|---|
backend_set_name * | string | The name of the backend set |
load_balancer_id * | string | The OCID of the load balancer |
limit | The maximum number of backends to return. If None, all are returned. |
create_backend
Adds a backend to a backend set
| Parameter | Type | Description |
|---|---|---|
backend_set_name * | string | The name of the backend set |
ip_address * | string | IP address of the backend server |
load_balancer_id * | string | The OCID of the load balancer |
port * | integer | Port of the backend server |
backup | Whether this backend is a backup | |
drain | Whether the backend is in drain mode | |
max_connections | Maximum simultaneous connections for the backend | |
offline | Whether the backend is offline | |
weight | Load balancing weight for the backend |
get_backend
Gets a backend by name from the given backend set and load balancer
| Parameter | Type | Description |
|---|---|---|
backend_name * | string | The name of the backend (IP:port) |
backend_set_name * | string | The name of the backend set |
load_balancer_id * | string | The OCID of the load balancer |
update_backend
Updates a backend in a backend set
| Parameter | Type | Description |
|---|---|---|
backend_name * | string | The name of the backend (IP:port) |
backend_set_name * | string | The name of the backend set |
load_balancer_id * | string | The OCID of the load balancer |
backup | Whether this backend is a backup | |
drain | Whether the backend is in drain mode | |
max_connections | Maximum simultaneous connections for the backend | |
offline | Whether the backend is offline | |
weight | Load balancing weight for the backend |
delete_backend
Deletes a backend from a backend set
| Parameter | Type | Description |
|---|---|---|
backend_name * | string | The name of the backend (IP:port) |
backend_set_name * | string | The name of the backend set |
load_balancer_id * | string | The OCID of the load balancer |
list_load_balancer_certificates
Lists the certificates from the given load balancer
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
limit | The maximum number of certificates to return. If None, all are returned. |
create_load_balancer_certificate
Creates a new certificate for HTTPS termination on a load balancer
| Parameter | Type | Description |
|---|---|---|
certificate_name * | string | A friendly name for the certificate |
load_balancer_id * | string | The OCID of the load balancer |
private_key * | string | Private key PEM contents |
public_certificate * | string | Public certificate PEM contents |
ca_certificate | CA certificate PEM contents (optional if using certificate bundle) | |
passphrase | Passphrase for the private key if encrypted |
delete_load_balancer_certificate
Deletes a certificate from a load balancer
| Parameter | Type | Description |
|---|---|---|
certificate_name * | string | The name of the certificate to delete |
load_balancer_id * | string | The OCID of the load balancer |
list_ssl_cipher_suites
Lists the SSL cipher suites from the given load balancer
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
limit | Maximum number of cipher suites to return. If None, all are returned. |
create_ssl_cipher_suite
Creates a new SSL cipher suite for a load balancer
| Parameter | Type | Description |
|---|---|---|
ciphers * | array | List of cipher names for the suite |
load_balancer_id * | string | The OCID of the load balancer |
name * | string | Friendly name for the SSL cipher suite |
get_ssl_cipher_suite
Gets an SSL cipher suite by name from a load balancer
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
name * | string | Name of the SSL cipher suite to retrieve |
update_ssl_cipher_suite
Updates an existing SSL cipher suite for a load balancer
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
name * | string | Name of the SSL cipher suite to update |
ciphers | Updated list of cipher names for the suite |
delete_ssl_cipher_suite
Deletes an SSL cipher suite from a load balancer
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
name * | string | Name of the SSL cipher suite to delete |
list_hostnames
Lists the hostnames from the given load balancer
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
limit | Maximum number of hostnames to return. If None, all are returned. |
create_hostname
Creates a new hostname resource for a load balancer
| Parameter | Type | Description |
|---|---|---|
hostname * | string | Virtual hostname (e.g., app.example.com) |
load_balancer_id * | string | The OCID of the load balancer |
name * | string | Unique name for the hostname resource |
get_hostname
Gets a hostname resource by name from a load balancer
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
name * | string | Name of the hostname resource |
update_hostname
Updates an existing hostname resource
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
name * | string | Name of the hostname resource to update |
hostname | New virtual hostname (e.g., app.example.com) |
delete_hostname
Deletes a hostname resource from a load balancer
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
name * | string | Name of the hostname resource to delete |
list_rule_sets
Lists the rule sets from the given load balancer
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
limit | Maximum number of rule sets to return. If None, all are returned. |
create_rule_set
Creates a new rule set for a load balancer
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
name * | string | Unique name for the rule set |
items | List of rule definitions (raw dicts) to include in the rule set |
get_rule_set
Gets a rule set by name from a load balancer
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
name * | string | Name of the rule set |
update_rule_set
Updates an existing rule set
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
name * | string | Name of the rule set to update |
items | Updated list of rule definitions (raw dicts) |
delete_rule_set
Deletes a rule set from a load balancer
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
name * | string | Name of the rule set to delete |
list_routing_policies
Lists the routing policies from the given load balancer
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
limit | Maximum number of routing policies to return. If None, all are returned. |
create_routing_policy
Creates a new routing policy for a load balancer
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
name * | string | Unique name for the routing policy |
condition_language_version | Version of the routing condition language | |
rules | List of routing rule definitions (raw dicts) |
get_routing_policy
Gets a routing policy by name from a load balancer
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
name * | string | Name of the routing policy |
update_routing_policy
Updates an existing routing policy
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
name * | string | Name of the routing policy to update |
condition_language_version | Version of the routing condition language | |
rules | Updated list of routing rule definitions (raw dicts) |
delete_routing_policy
Deletes a routing policy from a load balancer
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
name * | string | Name of the routing policy to delete |
get_load_balancer_health
Get health status of a load balancer
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
get_backend_set_health
Get health status of a backend set within a load balancer
| Parameter | Type | Description |
|---|---|---|
backend_set_name * | string | The name of the backend set |
load_balancer_id * | string | The OCID of the load balancer |
get_backend_health
Get health status of a specific backend within a backend set
| Parameter | Type | Description |
|---|---|---|
backend_name * | string | The name of the backend (IP:port) |
backend_set_name * | string | The name of the backend set |
load_balancer_id * | string | The OCID of the load balancer |
list_load_balancer_healths
List health summaries for all load balancers in a compartment
| Parameter | Type | Description |
|---|---|---|
compartment_id * | string | The OCID of the compartment |
limit | Maximum number of health summaries to return. If None, no limit. |
list_load_balancer_work_requests
List work requests for a given load balancer
| Parameter | Type | Description |
|---|---|---|
load_balancer_id * | string | The OCID of the load balancer |
limit | Maximum number of work requests to return. If None, no limit. |
get_load_balancer_work_request
Get details of a specific load balancer work request
| Parameter | Type | Description |
|---|---|---|
work_request_id * | string | The OCID of the work request |