You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ai-agents/pages/mcp/remote/quickstart.adoc
+26-4Lines changed: 26 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -187,7 +187,29 @@ It may take a few seconds to start. The status changes from *Starting* to *Runni
187
187
Data Plane API::
188
188
+
189
189
--
190
-
. Using the Data Plane API URL and token from the previous section, make a request to link:/api/doc/cloud-dataplane/operation/operation-mcpserverservice_createmcpserver[`POST /v1/redpanda-connect/mcp-servers`] to create the MCP server:
190
+
. Create a service account using the link:/api/doc/cloud-controlplane/operation/operation-serviceaccountservice_createserviceaccount[Control Plane API]:
191
+
+
192
+
[,bash]
193
+
----
194
+
curl -X POST "https://api.redpanda.com/v1/service-accounts" \
195
+
-H "Authorization: Bearer <token>" \
196
+
-H "Content-Type: application/json" \
197
+
-d '{
198
+
"service_account": {
199
+
"name": "mcp-server-demo",
200
+
"description": "Service account for MCP server demo"
201
+
}
202
+
}'
203
+
----
204
+
+
205
+
The response includes `client_id` and `client_secret`. Save these values.
206
+
207
+
. Store the service account credentials in the xref:develop:connect/configuration/secret-management.adoc[Secrets Store]:
208
+
+
209
+
* Create secret `REDPANDA_SA_CLIENT_ID` with the service account `client_id`.
210
+
* Create secret `REDPANDA_SA_CLIENT_SECRET` with the service account `client_secret`.
211
+
212
+
. Using the Data Plane API URL from the previous section, make a request to link:/api/doc/cloud-dataplane/operation/operation-mcpserverservice_createmcpserver[`POST /v1/redpanda-connect/mcp-servers`] to create the MCP server:
191
213
+
192
214
[,bash]
193
215
----
@@ -207,8 +229,8 @@ curl -X POST "https://<dataplane-api-url>/v1/redpanda-connect/mcp-servers" \
0 commit comments