Refresh tools from MCP server
curl --request POST \
--url https://connie.ai/api/mcp-registry/{id}/refresh \
--cookie session=import requests
url = "https://connie.ai/api/mcp-registry/{id}/refresh"
headers = {"cookie": "session="}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {cookie: 'session='}};
fetch('https://connie.ai/api/mcp-registry/{id}/refresh', 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://connie.ai/api/mcp-registry/{id}/refresh",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_COOKIE => "session=",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://connie.ai/api/mcp-registry/{id}/refresh"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("cookie", "session=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://connie.ai/api/mcp-registry/{id}/refresh")
.header("cookie", "session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://connie.ai/api/mcp-registry/{id}/refresh")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["cookie"] = 'session='
response = http.request(request)
puts response.read_body{
"mcp": {
"id": "<string>",
"workspace_id": "<string>",
"name": "<string>",
"description": "<string>",
"server_url": "<string>",
"server_type": "custom",
"enabled": true,
"access_mode": "everyone",
"created_at": "2023-11-07T05:31:56Z"
},
"sync": {
"discovered": 123,
"synced": 123,
"errors": [
"<string>"
]
}
}MCP Registry
Refresh tools from MCP server
Re-discovers tools from the HTTP MCP server. Only for custom/HTTP servers.
POST
/
mcp-registry
/
{id}
/
refresh
Refresh tools from MCP server
curl --request POST \
--url https://connie.ai/api/mcp-registry/{id}/refresh \
--cookie session=import requests
url = "https://connie.ai/api/mcp-registry/{id}/refresh"
headers = {"cookie": "session="}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {cookie: 'session='}};
fetch('https://connie.ai/api/mcp-registry/{id}/refresh', 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://connie.ai/api/mcp-registry/{id}/refresh",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_COOKIE => "session=",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://connie.ai/api/mcp-registry/{id}/refresh"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("cookie", "session=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://connie.ai/api/mcp-registry/{id}/refresh")
.header("cookie", "session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://connie.ai/api/mcp-registry/{id}/refresh")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["cookie"] = 'session='
response = http.request(request)
puts response.read_body{
"mcp": {
"id": "<string>",
"workspace_id": "<string>",
"name": "<string>",
"description": "<string>",
"server_url": "<string>",
"server_type": "custom",
"enabled": true,
"access_mode": "everyone",
"created_at": "2023-11-07T05:31:56Z"
},
"sync": {
"discovered": 123,
"synced": 123,
"errors": [
"<string>"
]
}
}