Update an MCP server
Only the fields you send are changed.
curl --request PATCH \
--url https://api.voice.wixzel.com/v1/mcp-servers/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "HubSpot",
"url": "https://mcp.example.com/mcp",
"transport": "auto",
"auth": {
"type": "none",
"headers": [
{
"name": "Authorization",
"value": "Bearer sk_live_…"
}
],
"oauth": {
"client_id": "<string>",
"client_secret": "<string>",
"scope": "<string>"
}
},
"enabled_tools": [
"<string>"
]
}
'import requests
url = "https://api.voice.wixzel.com/v1/mcp-servers/{id}"
payload = {
"name": "HubSpot",
"url": "https://mcp.example.com/mcp",
"transport": "auto",
"auth": {
"type": "none",
"headers": [
{
"name": "Authorization",
"value": "Bearer sk_live_…"
}
],
"oauth": {
"client_id": "<string>",
"client_secret": "<string>",
"scope": "<string>"
}
},
"enabled_tools": ["<string>"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'HubSpot',
url: 'https://mcp.example.com/mcp',
transport: 'auto',
auth: {
type: 'none',
headers: [{name: 'Authorization', value: 'Bearer sk_live_…'}],
oauth: {client_id: '<string>', client_secret: '<string>', scope: '<string>'}
},
enabled_tools: ['<string>']
})
};
fetch('https://api.voice.wixzel.com/v1/mcp-servers/{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://api.voice.wixzel.com/v1/mcp-servers/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'HubSpot',
'url' => 'https://mcp.example.com/mcp',
'transport' => 'auto',
'auth' => [
'type' => 'none',
'headers' => [
[
'name' => 'Authorization',
'value' => 'Bearer sk_live_…'
]
],
'oauth' => [
'client_id' => '<string>',
'client_secret' => '<string>',
'scope' => '<string>'
]
],
'enabled_tools' => [
'<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://api.voice.wixzel.com/v1/mcp-servers/{id}"
payload := strings.NewReader("{\n \"name\": \"HubSpot\",\n \"url\": \"https://mcp.example.com/mcp\",\n \"transport\": \"auto\",\n \"auth\": {\n \"type\": \"none\",\n \"headers\": [\n {\n \"name\": \"Authorization\",\n \"value\": \"Bearer sk_live_…\"\n }\n ],\n \"oauth\": {\n \"client_id\": \"<string>\",\n \"client_secret\": \"<string>\",\n \"scope\": \"<string>\"\n }\n },\n \"enabled_tools\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://api.voice.wixzel.com/v1/mcp-servers/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"HubSpot\",\n \"url\": \"https://mcp.example.com/mcp\",\n \"transport\": \"auto\",\n \"auth\": {\n \"type\": \"none\",\n \"headers\": [\n {\n \"name\": \"Authorization\",\n \"value\": \"Bearer sk_live_…\"\n }\n ],\n \"oauth\": {\n \"client_id\": \"<string>\",\n \"client_secret\": \"<string>\",\n \"scope\": \"<string>\"\n }\n },\n \"enabled_tools\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.voice.wixzel.com/v1/mcp-servers/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"HubSpot\",\n \"url\": \"https://mcp.example.com/mcp\",\n \"transport\": \"auto\",\n \"auth\": {\n \"type\": \"none\",\n \"headers\": [\n {\n \"name\": \"Authorization\",\n \"value\": \"Bearer sk_live_…\"\n }\n ],\n \"oauth\": {\n \"client_id\": \"<string>\",\n \"client_secret\": \"<string>\",\n \"scope\": \"<string>\"\n }\n },\n \"enabled_tools\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "6a96a3ead6e886d42462dd3e",
"object": "mcp_server",
"name": "<string>",
"url": "<string>",
"transport": "auto",
"auth": {
"type": "none",
"header_names": [
"<string>"
],
"oauth": {
"client_id": "<string>",
"scope": "<string>",
"connected": true,
"connected_at": "2026-09-01T12:00:00.000Z"
}
},
"status": "pending",
"last_error": "<string>",
"server_info": {
"name": "<string>",
"version": "<string>"
},
"tools": [
{
"name": "<string>",
"title": "<string>",
"description": "<string>",
"input_schema": {},
"read_only": true,
"destructive": true,
"enabled": true
}
],
"tools_refreshed_at": "2026-09-01T12:00:00.000Z",
"created_at": "2026-09-01T12:00:00.000Z"
}{
"error": {
"type": "invalid_request_error",
"code": "agent_not_found",
"message": "<string>",
"request_id": "req_01HXYZ...",
"param": "<string>",
"doc_url": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "agent_not_found",
"message": "<string>",
"request_id": "req_01HXYZ...",
"param": "<string>",
"doc_url": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "agent_not_found",
"message": "<string>",
"request_id": "req_01HXYZ...",
"param": "<string>",
"doc_url": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "agent_not_found",
"message": "<string>",
"request_id": "req_01HXYZ...",
"param": "<string>",
"doc_url": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "agent_not_found",
"message": "<string>",
"request_id": "req_01HXYZ...",
"param": "<string>",
"doc_url": "<string>"
}
}Authorizations
Your Wixzel Voice API key: Authorization: Bearer wv_live_.... Keys are scoped; grant only what the integration needs.
Path Parameters
^[0-9a-f]{24}$"6a96a3ead6e886d42462dd3e"
Body
What the agent is told the app is called, so make it the name a caller would recognise.
1 - 100"HubSpot"
The server’s remote MCP endpoint (Streamable HTTP or SSE). Must be public https or http on port 443 or 80.
2048"https://mcp.example.com/mcp"
auto tries Streamable HTTP, then falls back to SSE.
auto, streamable_http, sse Show child attributes
Show child attributes
Names of the tools agents may call. Replaced as a whole when sent. When never set, the first discovery enables only the tools the server marks read-only; anything that writes has to be switched on deliberately.
1001 - 128Response
The updated an MCP server
^[0-9a-f]{24}$"6a96a3ead6e886d42462dd3e"
mcp_server auto, streamable_http, sse Show child attributes
Show child attributes
ready once its tools have been read. needs_auth until an OAuth server is connected, or after its sign-in expires. error when it could not be reached; last_error says why. Agents only use servers that are ready.
pending, ready, needs_auth, error Show child attributes
Show child attributes
Show child attributes
Show child attributes
ISO 8601, always UTC.
"2026-09-01T12:00:00.000Z"
ISO 8601, always UTC.
"2026-09-01T12:00:00.000Z"
curl --request PATCH \
--url https://api.voice.wixzel.com/v1/mcp-servers/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "HubSpot",
"url": "https://mcp.example.com/mcp",
"transport": "auto",
"auth": {
"type": "none",
"headers": [
{
"name": "Authorization",
"value": "Bearer sk_live_…"
}
],
"oauth": {
"client_id": "<string>",
"client_secret": "<string>",
"scope": "<string>"
}
},
"enabled_tools": [
"<string>"
]
}
'import requests
url = "https://api.voice.wixzel.com/v1/mcp-servers/{id}"
payload = {
"name": "HubSpot",
"url": "https://mcp.example.com/mcp",
"transport": "auto",
"auth": {
"type": "none",
"headers": [
{
"name": "Authorization",
"value": "Bearer sk_live_…"
}
],
"oauth": {
"client_id": "<string>",
"client_secret": "<string>",
"scope": "<string>"
}
},
"enabled_tools": ["<string>"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'HubSpot',
url: 'https://mcp.example.com/mcp',
transport: 'auto',
auth: {
type: 'none',
headers: [{name: 'Authorization', value: 'Bearer sk_live_…'}],
oauth: {client_id: '<string>', client_secret: '<string>', scope: '<string>'}
},
enabled_tools: ['<string>']
})
};
fetch('https://api.voice.wixzel.com/v1/mcp-servers/{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://api.voice.wixzel.com/v1/mcp-servers/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'HubSpot',
'url' => 'https://mcp.example.com/mcp',
'transport' => 'auto',
'auth' => [
'type' => 'none',
'headers' => [
[
'name' => 'Authorization',
'value' => 'Bearer sk_live_…'
]
],
'oauth' => [
'client_id' => '<string>',
'client_secret' => '<string>',
'scope' => '<string>'
]
],
'enabled_tools' => [
'<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://api.voice.wixzel.com/v1/mcp-servers/{id}"
payload := strings.NewReader("{\n \"name\": \"HubSpot\",\n \"url\": \"https://mcp.example.com/mcp\",\n \"transport\": \"auto\",\n \"auth\": {\n \"type\": \"none\",\n \"headers\": [\n {\n \"name\": \"Authorization\",\n \"value\": \"Bearer sk_live_…\"\n }\n ],\n \"oauth\": {\n \"client_id\": \"<string>\",\n \"client_secret\": \"<string>\",\n \"scope\": \"<string>\"\n }\n },\n \"enabled_tools\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://api.voice.wixzel.com/v1/mcp-servers/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"HubSpot\",\n \"url\": \"https://mcp.example.com/mcp\",\n \"transport\": \"auto\",\n \"auth\": {\n \"type\": \"none\",\n \"headers\": [\n {\n \"name\": \"Authorization\",\n \"value\": \"Bearer sk_live_…\"\n }\n ],\n \"oauth\": {\n \"client_id\": \"<string>\",\n \"client_secret\": \"<string>\",\n \"scope\": \"<string>\"\n }\n },\n \"enabled_tools\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.voice.wixzel.com/v1/mcp-servers/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"HubSpot\",\n \"url\": \"https://mcp.example.com/mcp\",\n \"transport\": \"auto\",\n \"auth\": {\n \"type\": \"none\",\n \"headers\": [\n {\n \"name\": \"Authorization\",\n \"value\": \"Bearer sk_live_…\"\n }\n ],\n \"oauth\": {\n \"client_id\": \"<string>\",\n \"client_secret\": \"<string>\",\n \"scope\": \"<string>\"\n }\n },\n \"enabled_tools\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "6a96a3ead6e886d42462dd3e",
"object": "mcp_server",
"name": "<string>",
"url": "<string>",
"transport": "auto",
"auth": {
"type": "none",
"header_names": [
"<string>"
],
"oauth": {
"client_id": "<string>",
"scope": "<string>",
"connected": true,
"connected_at": "2026-09-01T12:00:00.000Z"
}
},
"status": "pending",
"last_error": "<string>",
"server_info": {
"name": "<string>",
"version": "<string>"
},
"tools": [
{
"name": "<string>",
"title": "<string>",
"description": "<string>",
"input_schema": {},
"read_only": true,
"destructive": true,
"enabled": true
}
],
"tools_refreshed_at": "2026-09-01T12:00:00.000Z",
"created_at": "2026-09-01T12:00:00.000Z"
}{
"error": {
"type": "invalid_request_error",
"code": "agent_not_found",
"message": "<string>",
"request_id": "req_01HXYZ...",
"param": "<string>",
"doc_url": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "agent_not_found",
"message": "<string>",
"request_id": "req_01HXYZ...",
"param": "<string>",
"doc_url": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "agent_not_found",
"message": "<string>",
"request_id": "req_01HXYZ...",
"param": "<string>",
"doc_url": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "agent_not_found",
"message": "<string>",
"request_id": "req_01HXYZ...",
"param": "<string>",
"doc_url": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "agent_not_found",
"message": "<string>",
"request_id": "req_01HXYZ...",
"param": "<string>",
"doc_url": "<string>"
}
}
