oracle.oci-load-balancer-mcp-server

v1.0.3
oracle.oci-load-balancer-mcp-server Checked 5 hours ago Published 28 days ago

An 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

ParameterTypeDescription
compartment_id *stringThe OCID of the compartment
display_nameExact display name to filter on
lifecycle_stateThe lifecycle state of the load balancer to filter on
limitThe maximum amount of load balancers to return. If None, there is no limit.
sort_byField to sort by
sort_orderSort 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

ParameterTypeDescription
load_balancer_id *stringThe 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.

ParameterTypeDescription
compartment_id *stringThe OCID of the compartment to create the load balancer in.
display_name *stringA user-friendly display name for the load balancer.
shape_name *stringThe shape name for the load balancer (e.g., Flexible, 100Mbps).
subnet_ids *arrayAn array of subnet OCIDs for the load balancer.
ip_modeWhether the load balancer should have IPv4 or IPv6 address
is_delete_protection_enabledEnable delete protection for this load balancer
is_privateWhether the load balancer should be private
is_request_id_enabledEnable Request Id header feature for HTTP listeners
maximum_bandwidth_in_mbpsMaximum bandwidth in Mbps (Flexible shape only)
minimum_bandwidth_in_mbpsMinimum bandwidth in Mbps (Flexible shape only)
network_security_group_idsArray of NSG OCIDs to associate with the load balancer
request_id_headerCustom header name for Request Id feature when enabled

update_load_balancer

Update a load balancer configuration

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer to update
defined_tagsDefined tags to set on the resource
defined_tags_extendedExtended defined tags to set on the resource
display_nameNew display name for the load balancer
freeform_tagsFree-form tags to set on the resource
is_delete_protection_enabledWhether delete protection should be enabled
is_request_id_enabledEnable Request Id header feature for HTTP listeners
request_id_headerCustom header name for Request Id feature when enabled

update_load_balancer_shape

Update the shape (bandwidth) of a load balancer

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer to update
maximum_bandwidth_in_mbpsMaximum bandwidth in Mbps (Flexible shape only)
minimum_bandwidth_in_mbpsMinimum bandwidth in Mbps (Flexible shape only)
shape_nameThe 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

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer to delete

update_load_balancer_network_security_groups

Update the network security groups associated with a load balancer

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer to update
network_security_group_idsArray 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.

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
limitThe maximum number of listeners to return. If None, all listeners are returned.

create_load_balancer_listener

Adds a listener to a load balancer

ParameterTypeDescription
default_backend_set_name *stringThe name of the associated backend set
load_balancer_id *stringThe OCID of the load balancer
name *stringA friendly name for the listener
port *integerThe communication port for the listener
protocol *stringThe protocol on which the listener accepts connection requests
backend_tcp_proxy_protocol_optionsPPv2 options that can be enabled on TCP listeners
backend_tcp_proxy_protocol_versionBackend TCP Proxy Protocol version (1 or 2)
hostname_namesAn array of hostname resource names
idle_timeoutMaximum idle time in seconds between client/backend operations
path_route_set_nameDeprecated. Name of the PathRouteSet applied to this listener
routing_policy_nameName of the RoutingPolicy applied to this listener
rule_set_namesNames of RuleSets applied to this listener
ssl_certificate_nameCertificate bundle name configured on the load balancer
ssl_cipher_suite_nameCipher suite name to use for SSL/HTTPS
ssl_has_session_resumptionWhether TLS session resumption should be enabled
ssl_protocolsSupported SSL protocols (e.g., TLSv1.2, TLSv1.3)
ssl_server_order_preferencePreference for server ciphers over client ciphers
ssl_verify_depthMax depth for peer certificate chain verification
ssl_verify_peer_certificateWhether to verify peer certificates

get_load_balancer_listener

Gets a listener by name from the given load balancer

ParameterTypeDescription
listener_name *stringThe name of the listener to fetch
load_balancer_id *stringThe OCID of the load balancer

update_load_balancer_listener

Updates a listener for a given load balancer

ParameterTypeDescription
listener_name *stringThe name of the listener to update
load_balancer_id *stringThe OCID of the load balancer
backend_tcp_proxy_protocol_optionsPPv2 options that can be enabled on TCP listeners
backend_tcp_proxy_protocol_versionBackend TCP Proxy Protocol version (1 or 2)
default_backend_set_nameThe name of the associated backend set
hostname_namesAn array of hostname resource names
idle_timeoutMaximum idle time in seconds between client/backend operations
path_route_set_nameDeprecated. Name of the PathRouteSet applied to this listener
portThe communication port for the listener
protocolThe protocol on which the listener accepts connection requests
routing_policy_nameName of the RoutingPolicy applied to this listener
rule_set_namesNames of RuleSets applied to this listener
ssl_certificate_nameCertificate bundle name configured on the load balancer
ssl_cipher_suite_nameCipher suite name to use for SSL/HTTPS
ssl_has_session_resumptionWhether TLS session resumption should be enabled
ssl_protocolsSupported SSL protocols (e.g., TLSv1.2, TLSv1.3)
ssl_server_order_preferencePreference for server ciphers over client ciphers
ssl_verify_depthMax depth for peer certificate chain verification
ssl_verify_peer_certificateWhether to verify peer certificates

delete_load_balancer_listener

Deletes a listener from a load balancer

ParameterTypeDescription
listener_name *stringThe name of the listener to delete
load_balancer_id *stringThe OCID of the load balancer

list_load_balancer_backend_sets

Lists the backend sets from the given load balancer

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
limitThe 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

ParameterTypeDescription
backend_set_name *stringThe name of the backend set to fetch
load_balancer_id *stringThe OCID of the load balancer

create_load_balancer_backend_set

Adds a backend set to a load balancer

ParameterTypeDescription
health_checker_protocol *stringProtocol used for health checks (HTTP or TCP)
load_balancer_id *stringThe OCID of the load balancer
name *stringA friendly, unique backend set name
policy *stringLoad balancer policy for this backend set
backend_max_connectionsMax simultaneous connections to any backend unless overridden at backend level
backendsBackends to include in the backend set
health_checker_interval_in_millisInterval between health checks in milliseconds
health_checker_is_force_plain_textForce plaintext health checks regardless of backend set SSL configuration
health_checker_portPort to use for the health check
health_checker_response_body_regexRegex to match against HTTP response body
health_checker_retriesNumber of retries before marking backend unhealthy
health_checker_return_codeExpected return code from healthy backend
health_checker_timeout_in_millisTimeout in milliseconds for health check replies
health_checker_url_pathPath for HTTP health checks
lb_cookie_cookie_nameName of cookie inserted by the load balancer
lb_cookie_disable_fallbackDisable fallback when original backend unavailable
lb_cookie_domainCookie domain
lb_cookie_is_http_onlyWhether to set the HttpOnly attribute on the cookie
lb_cookie_is_secureWhether to set the Secure attribute on the cookie
lb_cookie_max_age_in_secondsCookie Max-Age in seconds
lb_cookie_pathCookie path
session_persistence_cookie_nameCookie name for application-cookie stickiness
session_persistence_disable_fallbackDisable fallback to a different backend when original unavailable
ssl_certificate_idsOCI Certificates service certificate OCIDs
ssl_certificate_nameCertificate bundle name configured on the load balancer
ssl_cipher_suite_nameCipher suite name for SSL configuration
ssl_has_session_resumptionWhether TLS session resumption should be enabled
ssl_protocolsSupported SSL protocols (e.g., TLSv1.2, TLSv1.3)
ssl_server_order_preferencePreference for server ciphers over client ciphers
ssl_trusted_certificate_authority_idsOCI Certificates CA/bundle OCIDs to trust
ssl_verify_depthMax depth for peer certificate chain verification
ssl_verify_peer_certificateWhether to verify peer certificates

update_load_balancer_backend_set

Updates a backend set on a load balancer

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
name *stringThe name of the backend set to update
backend_max_connectionsMax simultaneous connections to any backend unless overridden at backend level
backendsBackends to include in the backend set
health_checker_interval_in_millisInterval between health checks in milliseconds
health_checker_is_force_plain_textForce plaintext health checks regardless of backend set SSL configuration
health_checker_portPort to use for the health check
health_checker_protocolProtocol used for health checks (HTTP or TCP)
health_checker_response_body_regexRegex to match against HTTP response body
health_checker_retriesNumber of retries before marking backend unhealthy
health_checker_return_codeExpected return code from healthy backend
health_checker_timeout_in_millisTimeout in milliseconds for health check replies
health_checker_url_pathPath for HTTP health checks
lb_cookie_cookie_nameName of cookie inserted by the load balancer
lb_cookie_disable_fallbackDisable fallback when original backend unavailable
lb_cookie_domainCookie domain
lb_cookie_is_http_onlyWhether to set the HttpOnly attribute on the cookie
lb_cookie_is_secureWhether to set the Secure attribute on the cookie
lb_cookie_max_age_in_secondsCookie Max-Age in seconds
lb_cookie_pathCookie path
policyLoad balancer policy for this backend set
session_persistence_cookie_nameCookie name for application-cookie stickiness
session_persistence_disable_fallbackDisable fallback to a different backend when original unavailable
ssl_certificate_idsOCI Certificates service certificate OCIDs
ssl_certificate_nameCertificate bundle name configured on the load balancer
ssl_cipher_suite_nameCipher suite name for SSL configuration
ssl_has_session_resumptionWhether TLS session resumption should be enabled
ssl_protocolsSupported SSL protocols (e.g., TLSv1.2, TLSv1.3)
ssl_server_order_preferencePreference for server ciphers over client ciphers
ssl_trusted_certificate_authority_idsOCI Certificates CA/bundle OCIDs to trust
ssl_verify_depthMax depth for peer certificate chain verification
ssl_verify_peer_certificateWhether to verify peer certificates

delete_load_balancer_backend_set

Deletes a backend set from a load balancer

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
name *stringThe name of the backend set to delete

list_backends

Lists the backends from the given backend set and load balancer

ParameterTypeDescription
backend_set_name *stringThe name of the backend set
load_balancer_id *stringThe OCID of the load balancer
limitThe maximum number of backends to return. If None, all are returned.

create_backend

Adds a backend to a backend set

ParameterTypeDescription
backend_set_name *stringThe name of the backend set
ip_address *stringIP address of the backend server
load_balancer_id *stringThe OCID of the load balancer
port *integerPort of the backend server
backupWhether this backend is a backup
drainWhether the backend is in drain mode
max_connectionsMaximum simultaneous connections for the backend
offlineWhether the backend is offline
weightLoad balancing weight for the backend

get_backend

Gets a backend by name from the given backend set and load balancer

ParameterTypeDescription
backend_name *stringThe name of the backend (IP:port)
backend_set_name *stringThe name of the backend set
load_balancer_id *stringThe OCID of the load balancer

update_backend

Updates a backend in a backend set

ParameterTypeDescription
backend_name *stringThe name of the backend (IP:port)
backend_set_name *stringThe name of the backend set
load_balancer_id *stringThe OCID of the load balancer
backupWhether this backend is a backup
drainWhether the backend is in drain mode
max_connectionsMaximum simultaneous connections for the backend
offlineWhether the backend is offline
weightLoad balancing weight for the backend

delete_backend

Deletes a backend from a backend set

ParameterTypeDescription
backend_name *stringThe name of the backend (IP:port)
backend_set_name *stringThe name of the backend set
load_balancer_id *stringThe OCID of the load balancer

list_load_balancer_certificates

Lists the certificates from the given load balancer

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
limitThe 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

ParameterTypeDescription
certificate_name *stringA friendly name for the certificate
load_balancer_id *stringThe OCID of the load balancer
private_key *stringPrivate key PEM contents
public_certificate *stringPublic certificate PEM contents
ca_certificateCA certificate PEM contents (optional if using certificate bundle)
passphrasePassphrase for the private key if encrypted

delete_load_balancer_certificate

Deletes a certificate from a load balancer

ParameterTypeDescription
certificate_name *stringThe name of the certificate to delete
load_balancer_id *stringThe OCID of the load balancer

list_ssl_cipher_suites

Lists the SSL cipher suites from the given load balancer

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
limitMaximum 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

ParameterTypeDescription
ciphers *arrayList of cipher names for the suite
load_balancer_id *stringThe OCID of the load balancer
name *stringFriendly name for the SSL cipher suite

get_ssl_cipher_suite

Gets an SSL cipher suite by name from a load balancer

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
name *stringName of the SSL cipher suite to retrieve

update_ssl_cipher_suite

Updates an existing SSL cipher suite for a load balancer

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
name *stringName of the SSL cipher suite to update
ciphersUpdated list of cipher names for the suite

delete_ssl_cipher_suite

Deletes an SSL cipher suite from a load balancer

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
name *stringName of the SSL cipher suite to delete

list_hostnames

Lists the hostnames from the given load balancer

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
limitMaximum number of hostnames to return. If None, all are returned.

create_hostname

Creates a new hostname resource for a load balancer

ParameterTypeDescription
hostname *stringVirtual hostname (e.g., app.example.com)
load_balancer_id *stringThe OCID of the load balancer
name *stringUnique name for the hostname resource

get_hostname

Gets a hostname resource by name from a load balancer

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
name *stringName of the hostname resource

update_hostname

Updates an existing hostname resource

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
name *stringName of the hostname resource to update
hostnameNew virtual hostname (e.g., app.example.com)

delete_hostname

Deletes a hostname resource from a load balancer

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
name *stringName of the hostname resource to delete

list_rule_sets

Lists the rule sets from the given load balancer

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
limitMaximum number of rule sets to return. If None, all are returned.

create_rule_set

Creates a new rule set for a load balancer

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
name *stringUnique name for the rule set
itemsList of rule definitions (raw dicts) to include in the rule set

get_rule_set

Gets a rule set by name from a load balancer

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
name *stringName of the rule set

update_rule_set

Updates an existing rule set

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
name *stringName of the rule set to update
itemsUpdated list of rule definitions (raw dicts)

delete_rule_set

Deletes a rule set from a load balancer

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
name *stringName of the rule set to delete

list_routing_policies

Lists the routing policies from the given load balancer

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
limitMaximum number of routing policies to return. If None, all are returned.

create_routing_policy

Creates a new routing policy for a load balancer

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
name *stringUnique name for the routing policy
condition_language_versionVersion of the routing condition language
rulesList of routing rule definitions (raw dicts)

get_routing_policy

Gets a routing policy by name from a load balancer

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
name *stringName of the routing policy

update_routing_policy

Updates an existing routing policy

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
name *stringName of the routing policy to update
condition_language_versionVersion of the routing condition language
rulesUpdated list of routing rule definitions (raw dicts)

delete_routing_policy

Deletes a routing policy from a load balancer

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
name *stringName of the routing policy to delete

get_load_balancer_health

Get health status of a load balancer

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer

get_backend_set_health

Get health status of a backend set within a load balancer

ParameterTypeDescription
backend_set_name *stringThe name of the backend set
load_balancer_id *stringThe OCID of the load balancer

get_backend_health

Get health status of a specific backend within a backend set

ParameterTypeDescription
backend_name *stringThe name of the backend (IP:port)
backend_set_name *stringThe name of the backend set
load_balancer_id *stringThe OCID of the load balancer

list_load_balancer_healths

List health summaries for all load balancers in a compartment

ParameterTypeDescription
compartment_id *stringThe OCID of the compartment
limitMaximum number of health summaries to return. If None, no limit.

list_load_balancer_work_requests

List work requests for a given load balancer

ParameterTypeDescription
load_balancer_id *stringThe OCID of the load balancer
limitMaximum number of work requests to return. If None, no limit.

get_load_balancer_work_request

Get details of a specific load balancer work request

ParameterTypeDescription
work_request_id *stringThe OCID of the work request