Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions modules/ai-agents/examples/redpanda_cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ redpanda:
tls:
enabled: true
sasl:
- mechanism: "SCRAM-SHA-512"
username: "${secrets.MCP_REDPANDA_CREDENTIALS.username}"
password: "${secrets.MCP_REDPANDA_CREDENTIALS.password}"
- mechanism: REDPANDA_CLOUD_SERVICE_ACCOUNT

meta:
mcp:
Expand Down
4 changes: 1 addition & 3 deletions modules/ai-agents/examples/redpanda_output.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ redpanda:
tls:
enabled: true
sasl:
- mechanism: SCRAM-SHA-256
username: ${secrets.REDPANDA_USERNAME}
password: ${secrets.REDPANDA_PASSWORD}
- mechanism: REDPANDA_CLOUD_SERVICE_ACCOUNT
meta:
mcp:
enabled: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ redpanda:
tls:
enabled: true
sasl:
- mechanism: "${REDPANDA_SASL_MECHANISM}"
username: "${REDPANDA_SASL_USERNAME}"
password: "${REDPANDA_SASL_PASSWORD}"
- mechanism: REDPANDA_CLOUD_SERVICE_ACCOUNT

processors:
- openai_chat_completion:
Expand Down
4 changes: 1 addition & 3 deletions modules/ai-agents/pages/mcp/remote/pipeline-patterns.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@ redpanda:
tls:
enabled: true
sasl:
- mechanism: "${REDPANDA_SASL_MECHANISM}"
username: "${REDPANDA_SASL_USERNAME}"
password: "${REDPANDA_SASL_PASSWORD}"
- mechanism: REDPANDA_CLOUD_SERVICE_ACCOUNT
----

See also: xref:develop:connect/components/inputs/redpanda.adoc[`redpanda` input]
Expand Down
12 changes: 10 additions & 2 deletions modules/ai-agents/pages/mcp/remote/quickstart.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,15 @@ The template populates the configuration with YAML for the tool definition.

. From the *Template* dropdown, select *Redpanda Output*.
+
The template populates the configuration for publishing to Redpanda. Authentication is handled automatically by the MCP server's service account.
The template populates the configuration for publishing to Redpanda. Update the `sasl` section to use:
+
[source,yaml]
----
sasl:
- mechanism: REDPANDA_CLOUD_SERVICE_ACCOUNT
----
+
This automatically uses the service account associated with your MCP server for authentication.

. Click *Lint* to check the configuration. You should see no errors.

Expand Down Expand Up @@ -238,7 +246,7 @@ curl -X POST "https://<dataplane-api-url>/v1/redpanda-connect/mcp-servers" \
},
"redpanda_output": {
"component_type": "COMPONENT_TYPE_OUTPUT",
"config_yaml": "redpanda:\n seed_brokers: [ \"${REDPANDA_BROKERS}\" ]\n topic: events\n tls:\n enabled: true\n"
"config_yaml": "redpanda:\n seed_brokers: [ \"${REDPANDA_BROKERS}\" ]\n topic: events\n tls:\n enabled: true\n sasl:\n - mechanism: REDPANDA_CLOUD_SERVICE_ACCOUNT\n"
}
}
}
Expand Down
Loading