curl --request PUT \
--url https://{controlPlaneURL}/api/svc/v1/mcp-servers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"manifest": {
"type": "mcp-server/remote",
"name": "<string>",
"description": "<string>",
"url": "<string>",
"transport": "streamable-http",
"collaborators": [
{
"subject": "<string>",
"role_id": "<string>"
}
],
"tls_settings": {
"reject_unauthorized": true,
"ca_cert": "<string>"
},
"auth_data": {
"type": "header",
"headers": {}
},
"ownedBy": {
"account": "<string>"
},
"tags": {}
}
}
'{
"data": {
"name": "<string>",
"fqn": "<string>",
"manifest": {},
"createdBySubject": {
"subjectId": "<string>",
"subjectType": "user",
"subjectSlug": "<string>",
"subjectDisplayName": "<string>"
},
"accountId": "<string>",
"id": "<string>",
"tools": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"proxyUrl": "<string>",
"oauth2AuthStatus": "<string>"
}
}Creates a new MCP server or updates an existing one.
curl --request PUT \
--url https://{controlPlaneURL}/api/svc/v1/mcp-servers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"manifest": {
"type": "mcp-server/remote",
"name": "<string>",
"description": "<string>",
"url": "<string>",
"transport": "streamable-http",
"collaborators": [
{
"subject": "<string>",
"role_id": "<string>"
}
],
"tls_settings": {
"reject_unauthorized": true,
"ca_cert": "<string>"
},
"auth_data": {
"type": "header",
"headers": {}
},
"ownedBy": {
"account": "<string>"
},
"tags": {}
}
}
'{
"data": {
"name": "<string>",
"fqn": "<string>",
"manifest": {},
"createdBySubject": {
"subjectId": "<string>",
"subjectType": "user",
"subjectSlug": "<string>",
"subjectDisplayName": "<string>"
},
"accountId": "<string>",
"id": "<string>",
"tools": [
{}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"proxyUrl": "<string>",
"oauth2AuthStatus": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
MCP Server Manifest
Show child attributes
MCP server created or updated successfully
MCP Server
Show child attributes
Was this page helpful?