Agents
Ping MCP server
Check connectivity status of an MCP server
GET
/
api
/
agents
/
mcp-configs
/
{name}
/
ping
Ping MCP server
curl --request GET \
--url https://{baseUrl}/api/v1/api/agents/mcp-configs/{name}/pingimport requests
url = "https://{baseUrl}/api/v1/api/agents/mcp-configs/{name}/ping"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{baseUrl}/api/v1/api/agents/mcp-configs/{name}/ping', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{baseUrl}/api/v1/api/agents/mcp-configs/{name}/ping"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"status": "online",
"latency": 42
}⌘I
Ping MCP server
curl --request GET \
--url https://{baseUrl}/api/v1/api/agents/mcp-configs/{name}/pingimport requests
url = "https://{baseUrl}/api/v1/api/agents/mcp-configs/{name}/ping"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{baseUrl}/api/v1/api/agents/mcp-configs/{name}/ping', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{baseUrl}/api/v1/api/agents/mcp-configs/{name}/ping"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"status": "online",
"latency": 42
}