Create an MCP-server ownership claim
curl --request POST \
--url https://api.mnemom.ai/v1/mcp-servers \
--header 'Content-Type: application/json' \
--cookie mnemom_session= \
--data '
{
"server_id": "https://api.example.com/mcp"
}
'import requests
url = "https://api.mnemom.ai/v1/mcp-servers"
payload = { "server_id": "https://api.example.com/mcp" }
headers = {
"cookie": "mnemom_session=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {cookie: 'mnemom_session=', 'Content-Type': 'application/json'},
body: JSON.stringify({server_id: 'https://api.example.com/mcp'})
};
fetch('https://api.mnemom.ai/v1/mcp-servers', 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.mnemom.ai/v1/mcp-servers",
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([
'server_id' => 'https://api.example.com/mcp'
]),
CURLOPT_COOKIE => "mnemom_session=",
CURLOPT_HTTPHEADER => [
"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.mnemom.ai/v1/mcp-servers"
payload := strings.NewReader("{\n \"server_id\": \"https://api.example.com/mcp\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("cookie", "mnemom_session=")
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.mnemom.ai/v1/mcp-servers")
.header("cookie", "mnemom_session=")
.header("Content-Type", "application/json")
.body("{\n \"server_id\": \"https://api.example.com/mcp\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mnemom.ai/v1/mcp-servers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["cookie"] = 'mnemom_session='
request["Content-Type"] = 'application/json'
request.body = "{\n \"server_id\": \"https://api.example.com/mcp\"\n}"
response = http.request(request)
puts response.read_body{
"server_id": "https://api.example.com/mcp",
"origin_domain": "example.com",
"status": "pending",
"verification": {
"method": "dns-txt",
"type": "TXT",
"host": "<string>",
"record": "<string>",
"name": "<string>",
"value": "<string>",
"instructions": "<string>"
},
"verified_at": "2023-11-07T05:31:56Z",
"honor_roll": true,
"response_note": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}MCP Servers
Create an MCP-server ownership claim
Starts a claim on an MCP server you operate (identified by its endpoint URL, e.g.
POST
/
mcp-servers
Create an MCP-server ownership claim
curl --request POST \
--url https://api.mnemom.ai/v1/mcp-servers \
--header 'Content-Type: application/json' \
--cookie mnemom_session= \
--data '
{
"server_id": "https://api.example.com/mcp"
}
'import requests
url = "https://api.mnemom.ai/v1/mcp-servers"
payload = { "server_id": "https://api.example.com/mcp" }
headers = {
"cookie": "mnemom_session=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {cookie: 'mnemom_session=', 'Content-Type': 'application/json'},
body: JSON.stringify({server_id: 'https://api.example.com/mcp'})
};
fetch('https://api.mnemom.ai/v1/mcp-servers', 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.mnemom.ai/v1/mcp-servers",
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([
'server_id' => 'https://api.example.com/mcp'
]),
CURLOPT_COOKIE => "mnemom_session=",
CURLOPT_HTTPHEADER => [
"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.mnemom.ai/v1/mcp-servers"
payload := strings.NewReader("{\n \"server_id\": \"https://api.example.com/mcp\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("cookie", "mnemom_session=")
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.mnemom.ai/v1/mcp-servers")
.header("cookie", "mnemom_session=")
.header("Content-Type", "application/json")
.body("{\n \"server_id\": \"https://api.example.com/mcp\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mnemom.ai/v1/mcp-servers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["cookie"] = 'mnemom_session='
request["Content-Type"] = 'application/json'
request.body = "{\n \"server_id\": \"https://api.example.com/mcp\"\n}"
response = http.request(request)
puts response.read_body{
"server_id": "https://api.example.com/mcp",
"origin_domain": "example.com",
"status": "pending",
"verification": {
"method": "dns-txt",
"type": "TXT",
"host": "<string>",
"record": "<string>",
"name": "<string>",
"value": "<string>",
"instructions": "<string>"
},
"verified_at": "2023-11-07T05:31:56Z",
"honor_roll": true,
"response_note": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}Authorizations
CookieAuthBearerAuth
HttpOnly, Secure, SameSite=Lax cookie issued by /v1/auth/sign-in (or the SSO / email-callback flows). The value is an AES-256-GCM-encrypted blob of {access_token, refresh_token, issued_at, auth_method}. Browser clients include this automatically with credentials: "include".
Body
application/json
The MCP server endpoint URL (e.g. https://api.example.com/mcp).
Example:
"https://api.example.com/mcp"
Response
Claim created or idempotently re-fetched; TXT record returned.
Example:
"https://api.example.com/mcp"
Example:
"example.com"
Available options:
pending, verified Everything needed to place the DNS TXT record at the origin domain apex (the domain that serves the MCP server).
Show child attributes
Show child attributes