Probe how a remote MCP server authenticates
curl --request POST \
--url https://api.runaether.dev/orgs/{orgID}/mcp-servers/probe \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"headers": {}
}
'import requests
url = "https://api.runaether.dev/orgs/{orgID}/mcp-servers/probe"
payload = {
"url": "<string>",
"headers": {}
}
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({url: '<string>', headers: {}})
};
fetch('https://api.runaether.dev/orgs/{orgID}/mcp-servers/probe', 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.runaether.dev/orgs/{orgID}/mcp-servers/probe",
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([
'url' => '<string>',
'headers' => [
]
]),
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.runaether.dev/orgs/{orgID}/mcp-servers/probe"
payload := strings.NewReader("{\n \"url\": \"<string>\",\n \"headers\": {}\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.runaether.dev/orgs/{orgID}/mcp-servers/probe")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"<string>\",\n \"headers\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runaether.dev/orgs/{orgID}/mcp-servers/probe")
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 \"url\": \"<string>\",\n \"headers\": {}\n}"
response = http.request(request)
puts response.read_body{
"kind": "none"
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "org_membership_required",
"error": "<string>"
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}MCP Servers
Probe how a remote MCP server authenticates
Probes how a remote MCP server at an https URL authenticates, without adding it to the catalog.
Use this tool when you need to:
- Check that a URL answers as an MCP server before adding it with createMcpServer
- Learn whether a server needs no credential, an API key or OAuth, and which issuer its OAuth uses
Examples:
- POST /orgs/{orgID}/mcp-servers/probe {"url": "https://mcp.acme.dev/mcp"}
- POST /orgs/{orgID}/mcp-servers/probe {"url": "https://api.githubcopilot.com/mcp/", "headers": {"X-MCP-Toolsets": "issues"}}
Hints:
- url is required, https and at most 2048 bytes; a url the schema refuses (not https, or empty) is a plain 422, and one it admits that is not a valid server URL is 422 mcp_server_url_invalid. headers is optional, the non-secret headers the server would be added with, sent on the probe's MCP request (never Authorization, Accept, Content-Type, Last-Event-ID or an Mcp- header: 422 mcp_server_headers_invalid).
- Sends one MCP request to the URL and, on 401, discovers its OAuth protected-resource and authorization-server metadata. Only public https addresses are probed. Nothing is stored.
- Answers 200 with the probe itself, a union on kind: none, static_secret, oauth (with issuer and registrations: cimd, dcr or both) or oauth_app_required (with the issuer the organization must save an OAuth app for, putMcpOAuthApp).
- Refused with 422 mcp_server_url_invalid, and with 422 mcp_server_address_refused, mcp_server_unreachable, mcp_server_not_mcp, mcp_server_auth_unsupported, mcp_server_auth_discovery_failed or mcp_server_response_too_large when the URL cannot be classified.
- Use createMcpServer instead to add the server, which probes it again.
- Org admins only: owners and admins of the organization in the path; a member, viewer or billing member is refused with 403 org_role_insufficient and a non-member with 403 org_membership_required.
POST
/
orgs
/
{orgID}
/
mcp-servers
/
probe
Probe how a remote MCP server authenticates
curl --request POST \
--url https://api.runaether.dev/orgs/{orgID}/mcp-servers/probe \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"headers": {}
}
'import requests
url = "https://api.runaether.dev/orgs/{orgID}/mcp-servers/probe"
payload = {
"url": "<string>",
"headers": {}
}
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({url: '<string>', headers: {}})
};
fetch('https://api.runaether.dev/orgs/{orgID}/mcp-servers/probe', 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.runaether.dev/orgs/{orgID}/mcp-servers/probe",
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([
'url' => '<string>',
'headers' => [
]
]),
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.runaether.dev/orgs/{orgID}/mcp-servers/probe"
payload := strings.NewReader("{\n \"url\": \"<string>\",\n \"headers\": {}\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.runaether.dev/orgs/{orgID}/mcp-servers/probe")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"<string>\",\n \"headers\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runaether.dev/orgs/{orgID}/mcp-servers/probe")
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 \"url\": \"<string>\",\n \"headers\": {}\n}"
response = http.request(request)
puts response.read_body{
"kind": "none"
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "org_membership_required",
"error": "<string>"
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}Authorizations
Body
application/json