curl --request POST \
--url https://{command_center_host}/api/v1/plugins/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"connection": {
"url": "<string>",
"authentication": {
"method": "anonymous"
}
},
"enabled": true,
"org_id": "<string>",
"trusted_issuer": "<string>"
}
'import requests
url = "https://{command_center_host}/api/v1/plugins/{id}"
payload = {
"name": "<string>",
"description": "<string>",
"connection": {
"url": "<string>",
"authentication": { "method": "anonymous" }
},
"enabled": True,
"org_id": "<string>",
"trusted_issuer": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
description: '<string>',
connection: {url: '<string>', authentication: {method: 'anonymous'}},
enabled: true,
org_id: '<string>',
trusted_issuer: '<string>'
})
};
fetch('https://{command_center_host}/api/v1/plugins/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{command_center_host}/api/v1/plugins/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'description' => '<string>',
'connection' => [
'url' => '<string>',
'authentication' => [
'method' => 'anonymous'
]
],
'enabled' => true,
'org_id' => '<string>',
'trusted_issuer' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{command_center_host}/api/v1/plugins/{id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"connection\": {\n \"url\": \"<string>\",\n \"authentication\": {\n \"method\": \"anonymous\"\n }\n },\n \"enabled\": true,\n \"org_id\": \"<string>\",\n \"trusted_issuer\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{command_center_host}/api/v1/plugins/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"connection\": {\n \"url\": \"<string>\",\n \"authentication\": {\n \"method\": \"anonymous\"\n }\n },\n \"enabled\": true,\n \"org_id\": \"<string>\",\n \"trusted_issuer\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{command_center_host}/api/v1/plugins/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"connection\": {\n \"url\": \"<string>\",\n \"authentication\": {\n \"method\": \"anonymous\"\n }\n },\n \"enabled\": true,\n \"org_id\": \"<string>\",\n \"trusted_issuer\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"description": "<string>",
"connection": {
"transport": "streamable-http",
"url": "<string>",
"authentication": {
"method": "anonymous"
}
},
"hosted_server": true,
"id": "<string>",
"name": "<string>",
"enabled": true,
"tenant_id": "<string>",
"org_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"code": "VALIDATION_FAILED",
"message": "Validation failed",
"request_id": "req_3702b7e7-...",
"field": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"details": {}
}{
"code": "VALIDATION_FAILED",
"message": "Validation failed",
"request_id": "req_3702b7e7-...",
"field": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"details": {}
}{
"code": "VALIDATION_FAILED",
"message": "Validation failed",
"request_id": "req_3702b7e7-...",
"field": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"details": {}
}{
"code": "VALIDATION_FAILED",
"message": "Validation failed",
"request_id": "req_3702b7e7-...",
"field": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"details": {}
}{
"code": "VALIDATION_FAILED",
"message": "Validation failed",
"request_id": "req_3702b7e7-...",
"field": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"details": {}
}Update a plugin
Partial update. Omitted fields remain unchanged. The name can be changed. A plugin of an organization cannot share its name with another plugin of that organization or with a tenant-wide plugin, and a tenant-wide plugin cannot share it with any plugin of the tenant, ignoring case (409 otherwise). A connection replaces the complete connection object and cannot be removed. A plugin without a connection can take one, and a plugin can switch between an MCP endpoint and a hosted MCP server, only in an update that leaves it disabled. Updating a hosted MCP server plugin in any way, or switching a plugin to one, takes a tenant-level administrator (403 otherwise). A bearer or API key connection names the Secret or Vault path credential it sends in authentication.credential_id, of the plugin organization or tenant-wide; it may be left out while the plugin is disabled, and enabling it without one returns 400. Moving the plugin to an organization returns 409 (details.reason plugin_move_blocked) while agents or specialties outside it still hold it; details.agent_ids or details.specialty_ids lists them.
curl --request POST \
--url https://{command_center_host}/api/v1/plugins/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"connection": {
"url": "<string>",
"authentication": {
"method": "anonymous"
}
},
"enabled": true,
"org_id": "<string>",
"trusted_issuer": "<string>"
}
'import requests
url = "https://{command_center_host}/api/v1/plugins/{id}"
payload = {
"name": "<string>",
"description": "<string>",
"connection": {
"url": "<string>",
"authentication": { "method": "anonymous" }
},
"enabled": True,
"org_id": "<string>",
"trusted_issuer": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
description: '<string>',
connection: {url: '<string>', authentication: {method: 'anonymous'}},
enabled: true,
org_id: '<string>',
trusted_issuer: '<string>'
})
};
fetch('https://{command_center_host}/api/v1/plugins/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{command_center_host}/api/v1/plugins/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'description' => '<string>',
'connection' => [
'url' => '<string>',
'authentication' => [
'method' => 'anonymous'
]
],
'enabled' => true,
'org_id' => '<string>',
'trusted_issuer' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{command_center_host}/api/v1/plugins/{id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"connection\": {\n \"url\": \"<string>\",\n \"authentication\": {\n \"method\": \"anonymous\"\n }\n },\n \"enabled\": true,\n \"org_id\": \"<string>\",\n \"trusted_issuer\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{command_center_host}/api/v1/plugins/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"connection\": {\n \"url\": \"<string>\",\n \"authentication\": {\n \"method\": \"anonymous\"\n }\n },\n \"enabled\": true,\n \"org_id\": \"<string>\",\n \"trusted_issuer\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{command_center_host}/api/v1/plugins/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"connection\": {\n \"url\": \"<string>\",\n \"authentication\": {\n \"method\": \"anonymous\"\n }\n },\n \"enabled\": true,\n \"org_id\": \"<string>\",\n \"trusted_issuer\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"description": "<string>",
"connection": {
"transport": "streamable-http",
"url": "<string>",
"authentication": {
"method": "anonymous"
}
},
"hosted_server": true,
"id": "<string>",
"name": "<string>",
"enabled": true,
"tenant_id": "<string>",
"org_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"code": "VALIDATION_FAILED",
"message": "Validation failed",
"request_id": "req_3702b7e7-...",
"field": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"details": {}
}{
"code": "VALIDATION_FAILED",
"message": "Validation failed",
"request_id": "req_3702b7e7-...",
"field": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"details": {}
}{
"code": "VALIDATION_FAILED",
"message": "Validation failed",
"request_id": "req_3702b7e7-...",
"field": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"details": {}
}{
"code": "VALIDATION_FAILED",
"message": "Validation failed",
"request_id": "req_3702b7e7-...",
"field": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"details": {}
}{
"code": "VALIDATION_FAILED",
"message": "Validation failed",
"request_id": "req_3702b7e7-...",
"field": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
],
"details": {}
}Authorizations
An API key minted in Command Center (Settings -> API Keys), sent as Authorization: Bearer 2501_ak_.... A Command Center session cookie is also accepted.
Path Parameters
Body
1 - 2552000- Option 1
- Option 2
Show child attributes
Show child attributes
OAuth only: the authorization server the MCP server names, trusted from this save on. Ignored when the plugin already trusts one.
2048Response
The updated plugin
- Option 1
- Option 2
Show child attributes
Show child attributes
Whether the plugin runs a hosted MCP server, also when its stored connection is unreadable and sent as null.

