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",
"document_count": 123
}{
"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 stay unchanged. Updating a hosted MCP server in any way takes a tenant-level administrator (403).
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",
"document_count": 123
}{
"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
No control characters such as a line break. Unique, ignoring case, within the plugin's organization and against tenant-wide plugins; a tenant-wide plugin's name is unique across the tenant (409, details.reason plugin_name_conflict).
1 - 255What the plugin is for; the agent reads it to decide when to use the plugin. Required for an HTTP API, up to 1,800 characters.
2000Replaces the whole connection; it cannot be removed. A plugin without a connection can take one, and an MCP endpoint and a hosted MCP server can swap, only in an update that leaves the plugin disabled. An HTTP API never becomes an MCP server, or the reverse (400): create a new plugin. Switching to a hosted MCP server takes a tenant-level administrator (403).
Show child attributes
Show child attributes
Turns the plugin on or off for every agent that holds it, from their next turn; off keeps the assignments.
Moves the plugin to that organization. Returns 409 (details.reason plugin_move_blocked) while agents outside it still hold it; details.agent_ids lists them.
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
What the plugin is for; the agent reads it to decide when to use the plugin.
Null for a legacy plugin without an endpoint, or a stored connection that cannot be read, which cannot be enabled until its connection is saved again.
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.
Off stops every agent from using the plugin and keeps the assignments.
Null for a tenant-wide plugin.
An HTTP API's API documents. Only the plugin list carries it.

