curl --request POST \
--url https://api.quiva.ai/hub/mcp/register \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"endpoint": "https://example.com/mcp",
"name": "Example integration",
"transport": "streamable-http"
}
'import requests
url = "https://api.quiva.ai/hub/mcp/register"
payload = {
"endpoint": "https://example.com/mcp",
"name": "Example integration",
"transport": "streamable-http"
}
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({
endpoint: 'https://example.com/mcp',
name: 'Example integration',
transport: 'streamable-http'
})
};
fetch('https://api.quiva.ai/hub/mcp/register', 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.quiva.ai/hub/mcp/register",
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([
'endpoint' => 'https://example.com/mcp',
'name' => 'Example integration',
'transport' => 'streamable-http'
]),
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.quiva.ai/hub/mcp/register"
payload := strings.NewReader("{\n \"endpoint\": \"https://example.com/mcp\",\n \"name\": \"Example integration\",\n \"transport\": \"streamable-http\"\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://api.quiva.ai/hub/mcp/register")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"endpoint\": \"https://example.com/mcp\",\n \"name\": \"Example integration\",\n \"transport\": \"streamable-http\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.quiva.ai/hub/mcp/register")
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 \"endpoint\": \"https://example.com/mcp\",\n \"name\": \"Example integration\",\n \"transport\": \"streamable-http\"\n}"
response = http.request(request)
puts response.read_body{
"server_id": "<string>",
"name": "<string>",
"tools": [
{}
],
"env": [
{}
]
}Register an MCP server to your account
Connects to a remote MCP server, runs its initialize and tools/list handshake, and adds it to your account’s own catalog. Its tools become callable by your assistants immediately. Registering a server you do not control puts its tool descriptions and results directly into assistant context — review an unfamiliar endpoint the way you would an unreviewed package before registering it.
curl --request POST \
--url https://api.quiva.ai/hub/mcp/register \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"endpoint": "https://example.com/mcp",
"name": "Example integration",
"transport": "streamable-http"
}
'import requests
url = "https://api.quiva.ai/hub/mcp/register"
payload = {
"endpoint": "https://example.com/mcp",
"name": "Example integration",
"transport": "streamable-http"
}
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({
endpoint: 'https://example.com/mcp',
name: 'Example integration',
transport: 'streamable-http'
})
};
fetch('https://api.quiva.ai/hub/mcp/register', 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.quiva.ai/hub/mcp/register",
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([
'endpoint' => 'https://example.com/mcp',
'name' => 'Example integration',
'transport' => 'streamable-http'
]),
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.quiva.ai/hub/mcp/register"
payload := strings.NewReader("{\n \"endpoint\": \"https://example.com/mcp\",\n \"name\": \"Example integration\",\n \"transport\": \"streamable-http\"\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://api.quiva.ai/hub/mcp/register")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"endpoint\": \"https://example.com/mcp\",\n \"name\": \"Example integration\",\n \"transport\": \"streamable-http\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.quiva.ai/hub/mcp/register")
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 \"endpoint\": \"https://example.com/mcp\",\n \"name\": \"Example integration\",\n \"transport\": \"streamable-http\"\n}"
response = http.request(request)
puts response.read_body{
"server_id": "<string>",
"name": "<string>",
"tools": [
{}
],
"env": [
{}
]
}Authorizations
JWT Authorization header using the Bearer scheme.
Body
Provide endpoint (a remote MCP server URL) or registry_name (an entry id from GET /hub/mcp/registry) — one is required.
Remote MCP server URL. Works whether or not the server is listed in the public registry.
A registry entry id, e.g. "io.github.owner/repo" — selects that entry instead of a URL.
"io.github.owner/repo"
stdio is not supported for a registered remote server.
streamable-http, sse Catalog id for this registration. Derived from name when omitted.
Non-secret static headers replayed on every call. Do not put credentials here.
Show child attributes
Show child attributes
Used only for this registration's handshake — never stored.
An existing connection id from a prior OAuth handshake with this server.
Marks the server as needing a credential supplied at call time.
Allow overwriting an existing registration with the same server_id.
Declared environment variables the server needs; echoed back so a connection form can collect them.