Skip to content

Commit b40d095

Browse files
committed
fix: Correct MCP API examples and secret naming
- Fix update_mask to be query parameter in scale-resources.adoc - Fix SASL configuration to use array format in pipeline-patterns.adoc - Update secret references to use uppercase snakecase (OPENAI_API_KEY) - All changes follow OpenAPI spec and documented conventions
1 parent 9f55377 commit b40d095

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

modules/ai-agents/pages/mcp/overview.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ In Redpanda Cloud, there are two complementary options to use MCP:
1414

1515
[cols="1s,2a,2a"]
1616
|===
17-
| Redpanda Cloud MCP Server badge::[label=beta, tooltip={page-beta-text}] | Remote MCP
17+
| |Redpanda Cloud MCP Server badge::[label=beta, tooltip={page-beta-text}] | Remote MCP
1818

1919
| Description
2020
| A server that gives your AI assistant access to your Redpanda Cloud account and clusters.

modules/ai-agents/pages/mcp/remote/pipeline-patterns.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Integrate AI and LLM services into your MCP tools for intelligent data processin
130130
[source,yaml]
131131
----
132132
openai_chat_completion:
133-
api_key: "${secrets.openai.api_key}"
133+
api_key: "${secrets.OPENAI_API_KEY}"
134134
model: "gpt-4"
135135
prompt: |
136136
Analyze this customer feedback and provide:
@@ -149,7 +149,7 @@ See also: xref:develop:connect/components/processors/openai_chat_completion.adoc
149149
[source,yaml]
150150
----
151151
openai_embeddings:
152-
api_key: "${secrets.openai.api_key}"
152+
api_key: "${secrets.OPENAI_API_KEY}"
153153
model: "text-embedding-3-small"
154154
text: ${! json("content") }
155155
----

modules/ai-agents/pages/mcp/remote/scale-resources.adoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Data Plane API::
3939
+
4040
[,bash]
4141
----
42-
curl -X PATCH "https://<dataplane-api-url>/v1/redpanda-connect/mcp-servers/<mcp-server-id>" \
42+
curl -X PATCH "https://<dataplane-api-url>/v1/redpanda-connect/mcp-servers/<mcp-server-id>?update_mask=resources" \
4343
-H "Authorization: Bearer <token>" \
4444
-H "Content-Type: application/json" \
4545
-d '{
@@ -48,8 +48,7 @@ curl -X PATCH "https://<dataplane-api-url>/v1/redpanda-connect/mcp-servers/<mcp-
4848
"memory_shares": "2Gi",
4949
"cpu_shares": "1000m"
5050
}
51-
},
52-
"update_mask": "resources"
51+
}
5352
}'
5453
----
5554
+

0 commit comments

Comments
 (0)