oci_kafka_configure_connection
Configure or update Kafka cluster connection details at runtime. Takes effect immediately without server restart.
Instructions
Configure or update the Kafka cluster connection details at runtime.
Use this tool when:
No Kafka cluster is configured yet and other tools return a 'not configured' error.
The user wants to switch to a different Kafka cluster.
The user provides new credentials or bootstrap servers.
The new connection takes effect immediately — no server restart required. All existing clients are reset and will reconnect on the next tool call.
Args: bootstrap_servers: Kafka broker address(es), e.g. 'bootstrap-clstr-XXXXX.kafka.us-chicago-1.oci.oraclecloud.com:9092' security_protocol: PLAINTEXT, SSL, SASL_PLAINTEXT, or SASL_SSL (default: SASL_SSL) sasl_mechanism: SCRAM-SHA-512, SCRAM-SHA-256, or PLAIN (required for SASL_*) sasl_username: SASL username (required for SASL_*) sasl_password: SASL password (required for SASL_*) ssl_ca_location: Path to CA certificate bundle for TLS verification. If not set and security_protocol is SASL_SSL or SSL, the system default CA bundle is used. persist: If True, save the connection details to ~/.oci/kafka-mcp-connection.env so they survive server restarts. Load them with: source ~/.oci/kafka-mcp-connection.env
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| persist | No | ||
| sasl_password | No | ||
| sasl_username | No | ||
| sasl_mechanism | No | ||
| ssl_ca_location | No | ||
| bootstrap_servers | Yes | ||
| security_protocol | No | SASL_SSL |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |