Domains

Register, transfer and renew domains, host DNS for external domains, edit DNS records, connect websites and manage SSL certificates.

A domains resource is a resource with kind domains. It holds domains registered here (auto-renewing) and external domains whose DNS is hosted on our nameservers (hosted, paid plans). Each domain has DNS records, contacts and certificates. Use folders to organize domains.

Registrations, transfers, renewals and paid certificates are charged immediately to the organization’s billing card, at the quoted price passed as price_cents. If the price has changed, the call fails without charging. Failed registrations and transfers are refunded. Domains need only the billing card, on any plan; paid certificates require a paid plan.

Set the registrant with domain_save_contact before registering. Domains registered here get a transfer lock, WHOIS privacy, our DNS, and a free auto-renewing Let’s Encrypt certificate for the domain and its www subdomain.

A DNS record’s id is <domain>/<id>. Updates replace the whole record and fail if the record changed since it was read. Records the app maintains are marked managed. Editing or deleting a website’s record disconnects that address from the website. Certificate validation records are changed only through their certificate.

The examples use the callTool helper. To connect, see the Quickstart or Authentication.

Domains

Permissions

A limited agent can make only the changes its permissions allow. Read-only access allows no changes. See Access and permissions.

DomainsAllows
buyRegister, transfer in and renew domains, and order certificates. Spends money.
dnsAdd, change and delete DNS records, import zones, set up mail and connect websites.
manageChange auto-renew, locks, privacy, contacts, nameservers, transfer codes and certificate choice. Host external domains and manage folders.
keysDownload certificate private keys.

Domains

Limits

These limits apply alongside the general limits.

WhatLimit
Domains100 per resource
DNS records200 per domain, with values up to 1,000 characters
Host names253 characters
Nameservers2–13 per domain
Zone files200 KB
Certificates100 per resource
Registration and renewal1–10 years, up to 10 years ahead

Tools · Domains

domain_list

Returns the domains, folders, registration contacts and certificates in a domains resource, plus the price of a paid certificate.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.

Returns

An object with domains (as returned by domain_get, without records, contacts or certificates), folders (id, name, parent_id), contacts (see domain_save_contact), certificates (as returned by domain_get) and certificate_cents.

tools/call · domain_list
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_list",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8"
      }
    }
  }'
Result
{
  "domains": [
    {
      "domain": "example.com",
      "status": "active",
      "registered_at": "2026-09-30T23:46:04.540Z",
      "expires_at": "2027-09-30T23:46:04.540Z",
      "auto_renew": true,
      "locked": true,
      "privacy": true,
      "nameservers": [
        "ns1.systemdns.com",
        "ns2.systemdns.com",
        "ns3.systemdns.com"
      ],
      "custom_nameservers": false,
      "error": "",
      "folder_id": null,
      "position": "",
      "created_at": "2026-09-30T23:46:04.540Z",
      "hosted": false,
      "moved_at": null,
      "certificate_choice": "letsencrypt",
      "certificate_id": null,
      "verification": null
    }
  ],
  "folders": [],
  "contacts": {
    "owner": {
      "own": true,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    },
    "admin": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    },
    "tech": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    },
    "billing": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    }
  },
  "certificates": [
    {
      "id": "4d8b2f6a0c9e47b1a3f5d7e9c2b4a6f8",
      "domain": "example.com",
      "sans": [
        "www.example.com"
      ],
      "status": "issued",
      "authority": "letsencrypt",
      "renewing": false,
      "validation": "_acme-challenge.example.com. TXT \"Gm7xUq0iV3k…\"\n_acme-challenge.www.example.com. TXT \"pX2dR9bLw4c…\"",
      "issued_at": "2026-09-30T23:46:04.545Z",
      "expires_at": "2026-12-29T23:46:04.545Z",
      "error": "",
      "created_at": "2026-09-30T23:46:04.541Z"
    }
  ],
  "certificate_cents": 1099
}

Tools · Domains

domain_get

Returns a domain with its contacts, DNS records and certificates.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
domain string Required
A domain in the resource, such as example.com.

Returns

The domain with its contacts, records and certificates. status is registering, transferring, active, expired, failed or transferred. For hosted domains, it is verifying, delegating (until the domain uses our nameservers), active or moved. Other fields include registered_at, expires_at, auto_renew, locked, privacy, nameservers, folder_id, certificate_choice and certificate_id. custom_nameservers is set for external nameservers, which means records here aren’t served. verification contains a hosted domain’s TXT record name and value. error describes a registration or renewal failure. Each contact role is either own or follows the resource’s contact. Each record has id, type, relative name, value, priority, weight, port and managed (website:<id> or certificate:<id> for records the app maintains). Certificates omit PEM.

tools/call · domain_get
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_get",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "domain": "example.com"
      }
    }
  }'
Result
{
  "domain": "example.com",
  "status": "active",
  "registered_at": "2026-09-30T23:46:04.540Z",
  "expires_at": "2027-09-30T23:46:04.540Z",
  "auto_renew": true,
  "locked": true,
  "privacy": true,
  "nameservers": [
    "ns1.systemdns.com",
    "ns2.systemdns.com",
    "ns3.systemdns.com"
  ],
  "custom_nameservers": false,
  "error": "",
  "folder_id": null,
  "position": "",
  "created_at": "2026-09-30T23:46:04.540Z",
  "hosted": false,
  "moved_at": null,
  "certificate_choice": "letsencrypt",
  "certificate_id": null,
  "verification": null,
  "contacts": {
    "owner": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    },
    "admin": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    },
    "tech": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    },
    "billing": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    }
  },
  "records": [
    {
      "id": "example.com/6f2a9c4e1b7d43a5e8c0f2b6d9a1e3c7",
      "domain": "example.com",
      "type": "A",
      "name": "app",
      "value": "203.0.113.10",
      "priority": null,
      "weight": null,
      "port": null,
      "managed": null
    },
    {
      "id": "example.com/c1e7a3f9b5d248c6a0e4f8b2d6c1a9e5",
      "domain": "example.com",
      "type": "CNAME",
      "name": "www",
      "value": "7f3e9a1c5b2d48e6a0c4f8b2d6e1a3c5.tensorsites.net",
      "priority": null,
      "weight": null,
      "port": null,
      "managed": "website:7f3e9a1c5b2d48e6a0c4f8b2d6e1a3c5"
    }
  ],
  "certificates": [
    {
      "id": "4d8b2f6a0c9e47b1a3f5d7e9c2b4a6f8",
      "domain": "example.com",
      "sans": [
        "www.example.com"
      ],
      "status": "issued",
      "authority": "letsencrypt",
      "renewing": false,
      "validation": "_acme-challenge.example.com. TXT \"Gm7xUq0iV3k…\"\n_acme-challenge.www.example.com. TXT \"pX2dR9bLw4c…\"",
      "issued_at": "2026-09-30T23:46:04.545Z",
      "expires_at": "2026-12-29T23:46:04.545Z",
      "error": "",
      "created_at": "2026-09-30T23:46:04.541Z"
    }
  ]
}

Tools · Domains

domain_register

Registers an available domain with a transfer lock and our DNS, using the resource’s contacts. Set the contacts first with domain_save_contact. The organization’s billing card is charged first and refunded if the registrar refuses the registration. The domain auto-renews a month before it expires unless auto_renew is off, and gets a free certificate for the domain and its www subdomain. Domains need only the billing card, on any plan.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
domain string Required
A domain in the resource, such as example.com.
years integer Required
Years to register for, 1–10.
price_cents integer Required
Price in cents, from domain_search. The call fails without charging if the price has changed.
privacy boolean
Whether to enable WHOIS privacy. Defaults to true.

Returns

The domain, as returned by domain_get.

tools/call · domain_register
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_register",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "domain": "example.com",
        "years": 1,
        "price_cents": 1599
      }
    }
  }'
Result
{
  "domain": "example.com",
  "status": "active",
  "registered_at": "2026-09-30T23:46:04.540Z",
  "expires_at": "2027-09-30T23:46:04.540Z",
  "auto_renew": true,
  "locked": true,
  "privacy": true,
  "nameservers": [
    "ns1.systemdns.com",
    "ns2.systemdns.com",
    "ns3.systemdns.com"
  ],
  "custom_nameservers": false,
  "error": "",
  "folder_id": null,
  "position": "",
  "created_at": "2026-09-30T23:46:04.540Z",
  "hosted": false,
  "moved_at": null,
  "certificate_choice": "letsencrypt",
  "certificate_id": null,
  "verification": null,
  "contacts": {
    "owner": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    },
    "admin": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    },
    "tech": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    },
    "billing": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    }
  },
  "records": [],
  "certificates": [
    {
      "id": "4d8b2f6a0c9e47b1a3f5d7e9c2b4a6f8",
      "domain": "example.com",
      "sans": [
        "www.example.com"
      ],
      "status": "pending",
      "authority": "letsencrypt",
      "renewing": false,
      "validation": "_acme-challenge.example.com. TXT \"Gm7xUq0iV3k…\"\n_acme-challenge.www.example.com. TXT \"pX2dR9bLw4c…\"",
      "issued_at": null,
      "expires_at": null,
      "error": "",
      "created_at": "2026-09-30T23:46:04.541Z"
    }
  ]
}

Tools · Domains

domain_quote_transfer

Checks that an external domain can be transferred here and returns the transfer price, which includes a one-year renewal. The domain must be registered, unlocked at its current registrar and not already here.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
domain string Required
A domain in the resource, such as example.com.

Returns

The domain and the transfer price in cents.

tools/call · domain_quote_transfer
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_quote_transfer",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "domain": "example.org"
      }
    }
  }'
Result
{
  "domain": "example.org",
  "cents": 1799
}

Tools · Domains

domain_transfer

Transfers an external domain here using the transfer code from its current registrar. The organization’s billing card is charged first and refunded if the transfer is refused or doesn’t complete. The domain keeps its current nameservers, so nothing it serves changes. Its status is transferring until the registry completes the transfer, usually within five days. Then call domain_set_nameservers with null to serve its records here.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
domain string Required
A domain in the resource, such as example.com.
code string Required
Transfer code (EPP authInfo) from the current registrar, up to 64 characters.
price_cents integer Required
Price in cents, from domain_quote_transfer. The call fails without charging if the price has changed.
privacy boolean
Whether to enable WHOIS privacy. Defaults to true.

Returns

The domain, as returned by domain_get.

tools/call · domain_transfer
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_transfer",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "domain": "example.org",
        "code": "Xq7#pL2v",
        "price_cents": 1799
      }
    }
  }'
Result
{
  "domain": "example.org",
  "status": "transferring",
  "registered_at": null,
  "expires_at": null,
  "auto_renew": true,
  "locked": false,
  "privacy": true,
  "nameservers": [
    "ns1.otherhost.net",
    "ns2.otherhost.net"
  ],
  "custom_nameservers": false,
  "error": "",
  "folder_id": null,
  "position": "",
  "created_at": "2026-09-30T23:46:04.540Z",
  "hosted": false,
  "moved_at": null,
  "certificate_choice": "letsencrypt",
  "certificate_id": null,
  "verification": null,
  "contacts": {
    "owner": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    },
    "admin": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    },
    "tech": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    },
    "billing": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    }
  },
  "records": [],
  "certificates": []
}

Tools · Domains

domain_quote_renewal

Returns the price to renew a domain registered here. A registration can’t extend more than ten years ahead.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
domain string Required
A domain in the resource, such as example.com.
years integer Required
Years to renew for, 1–10.

Returns

The domain, the number of years and the price in cents.

tools/call · domain_quote_renewal
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_quote_renewal",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "domain": "example.com",
        "years": 2
      }
    }
  }'
Result
{
  "domain": "example.com",
  "years": 2,
  "cents": 3198
}

Tools · Domains

domain_renew

Renews a domain registered here. The organization’s billing card is charged first and refunded if the registrar refuses the renewal. Only one renewal per domain can run at a time.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
domain string Required
A domain in the resource, such as example.com.
years integer Required
Years to renew for, 1–10.
price_cents integer Required
Price in cents, from domain_quote_renewal. The call fails without charging if the price has changed.

Returns

The domain, as returned by domain_get, with the new expires_at.

tools/call · domain_renew
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_renew",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "domain": "example.com",
        "years": 2,
        "price_cents": 3198
      }
    }
  }'
Result
{
  "domain": "example.com",
  "status": "active",
  "registered_at": "2026-09-30T23:46:04.540Z",
  "expires_at": "2029-09-30T23:46:04.540Z",
  "auto_renew": true,
  "locked": true,
  "privacy": true,
  "nameservers": [
    "ns1.systemdns.com",
    "ns2.systemdns.com",
    "ns3.systemdns.com"
  ],
  "custom_nameservers": false,
  "error": "",
  "folder_id": null,
  "position": "",
  "created_at": "2026-09-30T23:46:04.540Z",
  "hosted": false,
  "moved_at": null,
  "certificate_choice": "letsencrypt",
  "certificate_id": null,
  "verification": null,
  "contacts": {
    "owner": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    },
    "admin": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    },
    "tech": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    },
    "billing": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    }
  },
  "records": [
    {
      "id": "example.com/6f2a9c4e1b7d43a5e8c0f2b6d9a1e3c7",
      "domain": "example.com",
      "type": "A",
      "name": "app",
      "value": "203.0.113.10",
      "priority": null,
      "weight": null,
      "port": null,
      "managed": null
    },
    {
      "id": "example.com/c1e7a3f9b5d248c6a0e4f8b2d6c1a9e5",
      "domain": "example.com",
      "type": "CNAME",
      "name": "www",
      "value": "7f3e9a1c5b2d48e6a0c4f8b2d6e1a3c5.tensorsites.net",
      "priority": null,
      "weight": null,
      "port": null,
      "managed": "website:7f3e9a1c5b2d48e6a0c4f8b2d6e1a3c5"
    }
  ],
  "certificates": [
    {
      "id": "4d8b2f6a0c9e47b1a3f5d7e9c2b4a6f8",
      "domain": "example.com",
      "sans": [
        "www.example.com"
      ],
      "status": "issued",
      "authority": "letsencrypt",
      "renewing": false,
      "validation": "_acme-challenge.example.com. TXT \"Gm7xUq0iV3k…\"\n_acme-challenge.www.example.com. TXT \"pX2dR9bLw4c…\"",
      "issued_at": "2026-09-30T23:46:04.545Z",
      "expires_at": "2026-12-29T23:46:04.545Z",
      "error": "",
      "created_at": "2026-09-30T23:46:04.541Z"
    }
  ]
}

Tools · Domains

domain_update

Updates a domain’s settings. Omitted fields are unchanged. For external domains, the transfer lock and WHOIS privacy are managed at the domain’s registrar.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
domain string Required
A domain in the resource, such as example.com.
auto_renew boolean
Whether to renew automatically a month before expiry. The renewal is charged at that time.
locked boolean
Whether to lock the domain against transfers to other registrars.
privacy boolean
Whether to hide contacts from public WHOIS.

Returns

The domain, as returned by domain_get.

tools/call · domain_update
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_update",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "domain": "example.com",
        "auto_renew": false
      }
    }
  }'
Result
{
  "domain": "example.com",
  "status": "active",
  "registered_at": "2026-09-30T23:46:04.540Z",
  "expires_at": "2027-09-30T23:46:04.540Z",
  "auto_renew": false,
  "locked": true,
  "privacy": true,
  "nameservers": [
    "ns1.systemdns.com",
    "ns2.systemdns.com",
    "ns3.systemdns.com"
  ],
  "custom_nameservers": false,
  "error": "",
  "folder_id": null,
  "position": "",
  "created_at": "2026-09-30T23:46:04.540Z",
  "hosted": false,
  "moved_at": null,
  "certificate_choice": "letsencrypt",
  "certificate_id": null,
  "verification": null,
  "contacts": {
    "owner": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    },
    "admin": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    },
    "tech": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    },
    "billing": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    }
  },
  "records": [
    {
      "id": "example.com/6f2a9c4e1b7d43a5e8c0f2b6d9a1e3c7",
      "domain": "example.com",
      "type": "A",
      "name": "app",
      "value": "203.0.113.10",
      "priority": null,
      "weight": null,
      "port": null,
      "managed": null
    },
    {
      "id": "example.com/c1e7a3f9b5d248c6a0e4f8b2d6c1a9e5",
      "domain": "example.com",
      "type": "CNAME",
      "name": "www",
      "value": "7f3e9a1c5b2d48e6a0c4f8b2d6e1a3c5.tensorsites.net",
      "priority": null,
      "weight": null,
      "port": null,
      "managed": "website:7f3e9a1c5b2d48e6a0c4f8b2d6e1a3c5"
    }
  ],
  "certificates": [
    {
      "id": "4d8b2f6a0c9e47b1a3f5d7e9c2b4a6f8",
      "domain": "example.com",
      "sans": [
        "www.example.com"
      ],
      "status": "issued",
      "authority": "letsencrypt",
      "renewing": false,
      "validation": "_acme-challenge.example.com. TXT \"Gm7xUq0iV3k…\"\n_acme-challenge.www.example.com. TXT \"pX2dR9bLw4c…\"",
      "issued_at": "2026-09-30T23:46:04.545Z",
      "expires_at": "2026-12-29T23:46:04.545Z",
      "error": "",
      "created_at": "2026-09-30T23:46:04.541Z"
    }
  ]
}

Tools · Domains

domain_get_transfer_code

Unlocks a domain registered here and generates a new transfer code for another registrar. The code isn’t stored and is returned only once.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
domain string Required
A domain in the resource, such as example.com.

Returns

The domain, its code, and locked: false.

tools/call · domain_get_transfer_code
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_get_transfer_code",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "domain": "example.com"
      }
    }
  }'
Result
{
  "domain": "example.com",
  "code": "Rk4xT9mQx2wLb7Vn",
  "locked": false
}

Tools · Domains

domain_remove

Removes a domain from the list once it is no longer held, because its registration or transfer failed, it expired, or it was transferred away. Hosted external domains can be removed at any time, and their zone here is deleted immediately.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
domain string Required
A domain in the resource, such as example.com.

Returns

The removed domain.

tools/call · domain_remove
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_remove",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "domain": "example.org"
      }
    }
  }'
Result
{
  "removed": "example.org"
}

Tools · Domains

domain_add_hosted

Hosts DNS on our nameservers for a domain registered elsewhere. Requires a paid plan. The domain’s status is verifying until domain_verify_hosted finds the returned TXT record at the domain’s current DNS. Our nameservers are shared, so pointing a domain at them doesn’t prove ownership.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
domain string Required
A domain in the resource, such as example.com.

Returns

The domain, and the name and value of the TXT record to add at its current DNS.

tools/call · domain_add_hosted
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_add_hosted",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "domain": "example.net"
      }
    }
  }'
Result
{
  "domain": "example.net",
  "name": "_tensorworks.example.net",
  "value": "tensorworks-verify=9c1e7a3f5b2d48e6a0c4f8b2d6e1a3c5"
}

Tools · Domains

domain_verify_hosted

Verifies a hosted domain by its TXT record and creates its zone here. The zone uses records kept from earlier hosting, or a copy of the current DNS if none were kept. Switching nameservers therefore preserves what the domain serves. The status is then delegating until the domain uses our nameservers (see nameservers in domain_get).

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
domain string Required
A domain in the resource, such as example.com.

Returns

The domain, copied (the number of records copied from its DNS), kept (the number of records kept from earlier hosting) and complete (whether every common name could be queried).

tools/call · domain_verify_hosted
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_verify_hosted",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "domain": "example.net"
      }
    }
  }'
Result
{
  "domain": "example.net",
  "copied": 6,
  "kept": 0,
  "complete": true
}

Tools · Domains

domain_check_hosted

Checks a hosted domain’s nameservers immediately, instead of waiting for the hourly check. Once all nameservers are ours, the domain becomes active and its records are served. If an active domain stops pointing here, it becomes moved, and its zone is deleted after 30 days.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
domain string Required
A domain in the resource, such as example.com.

Returns

The status and current nameservers.

tools/call · domain_check_hosted
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_check_hosted",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "domain": "example.net"
      }
    }
  }'
Result
{
  "status": "active",
  "nameservers": [
    "dns1.tensorworks.net",
    "dns2.tensorworks.net"
  ]
}

Tools · Domains

domain_save_contact

Sets the registration contact for one role: registrant (owner), administrative, technical or billing. Without domain, sets the resource’s default contact for future registrations and transfers. Roles other than owner follow the registrant until they are set. With domain, sets that domain’s contact and sends it to the registrar immediately.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
role enum Required
owner (the registrant), admin, tech or billing.
contact object | null Required
first_name, last_name, org_name (optional), email, phone (with country code, such as +1 919 555 0123), address1, address2 (optional), city, state (optional), postal_code and country (two-letter code). Pass null to follow the registrant (for the resource) or the resource’s contact (for a domain).
domain string
A domain registered here. Sets that domain’s contact instead of the resource’s.

Returns

The resource’s contacts, or the domain’s if domain is set. Each role is either own or following.

tools/call · domain_save_contact
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_save_contact",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "role": "owner",
        "contact": {
          "first_name": "Alex",
          "last_name": "Rivera",
          "org_name": "Launch Co",
          "email": "you@example.com",
          "phone": "+1 919 555 0123",
          "address1": "1 Main St",
          "city": "Raleigh",
          "state": "NC",
          "postal_code": "27601",
          "country": "US"
        }
      }
    }
  }'
Result
{
  "owner": {
    "own": true,
    "contact": {
      "first_name": "Alex",
      "last_name": "Rivera",
      "org_name": "Launch Co",
      "address1": "1 Main St",
      "address2": "",
      "city": "Raleigh",
      "state": "NC",
      "postal_code": "27601",
      "country": "US",
      "phone": "+1.9195550123",
      "email": "you@example.com"
    }
  },
  "admin": {
    "own": false,
    "contact": {
      "first_name": "Alex",
      "last_name": "Rivera",
      "org_name": "Launch Co",
      "address1": "1 Main St",
      "address2": "",
      "city": "Raleigh",
      "state": "NC",
      "postal_code": "27601",
      "country": "US",
      "phone": "+1.9195550123",
      "email": "you@example.com"
    }
  },
  "tech": {
    "own": false,
    "contact": {
      "first_name": "Alex",
      "last_name": "Rivera",
      "org_name": "Launch Co",
      "address1": "1 Main St",
      "address2": "",
      "city": "Raleigh",
      "state": "NC",
      "postal_code": "27601",
      "country": "US",
      "phone": "+1.9195550123",
      "email": "you@example.com"
    }
  },
  "billing": {
    "own": false,
    "contact": {
      "first_name": "Alex",
      "last_name": "Rivera",
      "org_name": "Launch Co",
      "address1": "1 Main St",
      "address2": "",
      "city": "Raleigh",
      "state": "NC",
      "postal_code": "27601",
      "country": "US",
      "phone": "+1.9195550123",
      "email": "you@example.com"
    }
  }
}

Tools · Domains

domain_create_folder

Creates a domain folder at the top level or inside another folder. If a folder with the same name and parent already exists, returns that folder.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
name string Required
1–255 characters, trimmed.
parent_id string | null
The parent folder id. Omit for the top level.

Returns

The folder, with id, name, parent_id and created_at.

tools/call · domain_create_folder
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_create_folder",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "name": "Clients"
      }
    }
  }'
Result
{
  "id": "e9c3a7f1b5d24e8a6c0b4f2d8e6a1c3b",
  "name": "Clients",
  "parent_id": null,
  "created_at": "2026-09-30T23:46:04.700Z"
}

Tools · Domains

domain_delete_folder

Deletes a domain folder. Its domains and subfolders move to its parent.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
folder_id string Required
The folder id.

Returns

The deleted folder’s id.

tools/call · domain_delete_folder
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_delete_folder",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "folder_id": "e9c3a7f1b5d24e8a6c0b4f2d8e6a1c3b"
      }
    }
  }'
Result
{
  "deleted": "e9c3a7f1b5d24e8a6c0b4f2d8e6a1c3b"
}

Tools · Domains

domain_move

Moves a domain to the end of a folder, or to the top level.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
domain string Required
A domain in the resource, such as example.com.
folder_id string | null Required
The folder id, or null for the top level.

Returns

The domain, as returned by domain_list.

tools/call · domain_move
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_move",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "domain": "example.com",
        "folder_id": "e9c3a7f1b5d24e8a6c0b4f2d8e6a1c3b"
      }
    }
  }'
Result
{
  "domain": "example.com",
  "status": "active",
  "registered_at": "2026-09-30T23:46:04.540Z",
  "expires_at": "2027-09-30T23:46:04.540Z",
  "auto_renew": true,
  "locked": true,
  "privacy": true,
  "nameservers": [
    "ns1.systemdns.com",
    "ns2.systemdns.com",
    "ns3.systemdns.com"
  ],
  "custom_nameservers": false,
  "error": "",
  "folder_id": "e9c3a7f1b5d24e8a6c0b4f2d8e6a1c3b",
  "position": "a0",
  "created_at": "2026-09-30T23:46:04.540Z",
  "hosted": false,
  "moved_at": null,
  "certificate_choice": "letsencrypt",
  "certificate_id": null,
  "verification": null
}

Tools · DNS records

domain_add_dns_record

Adds a record to a domain’s zone. Concurrent changes are applied in sequence, so none are lost. Records for an external domain are served once the domain uses our nameservers.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
domain string Required
A domain in the resource, such as example.com.
type enum Required
A, AAAA, CNAME, MX, TXT or SRV.
name string Required
Name relative to the domain. Use an empty string or @ for the apex, and * for a wildcard.
value string Required
An IP address (A, AAAA), a host name (CNAME, MX, SRV) or text (TXT, up to 1,000 characters).
priority integer | null
For MX and SRV, 0–65535.
weight integer | null
For SRV, 0–65535.
port integer | null
For SRV, 0–65535.

Returns

The domain and all its records, as returned by domain_get.

tools/call · domain_add_dns_record
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_add_dns_record",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "domain": "example.com",
        "type": "A",
        "name": "app",
        "value": "203.0.113.10"
      }
    }
  }'
Result
{
  "domain": "example.com",
  "records": [
    {
      "id": "example.com/6f2a9c4e1b7d43a5e8c0f2b6d9a1e3c7",
      "domain": "example.com",
      "type": "A",
      "name": "app",
      "value": "203.0.113.10",
      "priority": null,
      "weight": null,
      "port": null,
      "managed": null
    },
    {
      "id": "example.com/c1e7a3f9b5d248c6a0e4f8b2d6c1a9e5",
      "domain": "example.com",
      "type": "CNAME",
      "name": "www",
      "value": "7f3e9a1c5b2d48e6a0c4f8b2d6e1a3c5.tensorsites.net",
      "priority": null,
      "weight": null,
      "port": null,
      "managed": "website:7f3e9a1c5b2d48e6a0c4f8b2d6e1a3c5"
    }
  ]
}

Tools · DNS records

domain_update_dns_record

Replaces a record with the given values. Fails if the record changed or was removed since it was read. Updating a website’s managed record makes it an ordinary record and disconnects that address from the website. Certificate validation records can’t be updated; delete them instead.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
domain string Required
A domain in the resource, such as example.com.
record_id string Required
The record id, from domain_get.
type enum Required
A, AAAA, CNAME, MX, TXT or SRV.
name string Required
Name relative to the domain. Use an empty string or @ for the apex, and * for a wildcard.
value string Required
An IP address (A, AAAA), a host name (CNAME, MX, SRV) or text (TXT, up to 1,000 characters).
priority integer | null
For MX and SRV, 0–65535.
weight integer | null
For SRV, 0–65535.
port integer | null
For SRV, 0–65535.

Returns

The domain and all its records.

tools/call · domain_update_dns_record
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_update_dns_record",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "domain": "example.com",
        "record_id": "example.com/6f2a9c4e1b7d43a5e8c0f2b6d9a1e3c7",
        "type": "A",
        "name": "app",
        "value": "203.0.113.11"
      }
    }
  }'
Result
{
  "domain": "example.com",
  "records": [
    {
      "id": "example.com/8a4c6e2f0b9d41a3c5e7f9b1d3a5c7e9",
      "domain": "example.com",
      "type": "A",
      "name": "app",
      "value": "203.0.113.11",
      "priority": null,
      "weight": null,
      "port": null,
      "managed": null
    },
    {
      "id": "example.com/c1e7a3f9b5d248c6a0e4f8b2d6c1a9e5",
      "domain": "example.com",
      "type": "CNAME",
      "name": "www",
      "value": "7f3e9a1c5b2d48e6a0c4f8b2d6e1a3c5.tensorsites.net",
      "priority": null,
      "weight": null,
      "port": null,
      "managed": "website:7f3e9a1c5b2d48e6a0c4f8b2d6e1a3c5"
    }
  ]
}

Tools · DNS records

domain_delete_dns_record

Deletes a record. Deleting a website’s connection record also removes that address from the website.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
domain string Required
A domain in the resource, such as example.com.
record_id string Required
The record id, from domain_get.

Returns

The deleted record’s id, and disconnected, the address removed from its website (or null).

tools/call · domain_delete_dns_record
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_delete_dns_record",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "domain": "example.com",
        "record_id": "example.com/c1e7a3f9b5d248c6a0e4f8b2d6c1a9e5"
      }
    }
  }'
Result
{
  "deleted": "example.com/c1e7a3f9b5d248c6a0e4f8b2d6c1a9e5",
  "disconnected": "www.example.com"
}

Tools · DNS records

domain_import_zone

Imports records from a BIND-format zone file as a single all-or-nothing operation. Records that already exist are skipped.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
domain string Required
A domain in the resource, such as example.com.
zone string Required
Zone file contents, up to 200 KB.

Returns

The added count, and skipped records with reasons (unsupported types, names outside the domain). NS and SOA records are ignored. To change nameservers, use domain_set_nameservers.

tools/call · domain_import_zone
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_import_zone",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "domain": "example.com",
        "zone": "$ORIGIN example.com.\n@ 3600 IN MX 10 mail.example.net.\nblog 3600 IN CNAME blogs.example.net.\n@ 3600 IN CAA 0 issue \"letsencrypt.org\""
      }
    }
  }'
Result
{
  "added": 2,
  "skipped": [
    "example.com. CAA: CAA is not served here"
  ]
}

Tools · DNS records

domain_set_up_mail

Replaces the domain’s MX and SPF records with a mail provider’s MX, SPF and shared DKIM records. For per-account DKIM keys (shown in the provider’s admin console), use domain_add_dns_record.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
domain string Required
A domain in the resource, such as example.com.
provider enum Required
One of google (Google Workspace), microsoft (Microsoft 365), fastmail (Fastmail), zoho (Zoho Mail), icloud (iCloud+ Custom Email Domain), proton (Proton Mail), tuta (Tuta), mailbox-org (mailbox.org), migadu (Migadu), purelymail (Purelymail), titan (Titan), rackspace (Rackspace Email), privateemail (Namecheap Private Email), ionos (IONOS Mail), yandex (Yandex 360), improvmx (ImprovMX), forwardemail (Forward Email), simplelogin (SimpleLogin), addy (addy.io).

Returns

The provider’s name, the domain and all its records.

tools/call · domain_set_up_mail
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_set_up_mail",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "domain": "example.com",
        "provider": "google"
      }
    }
  }'
Result
{
  "provider": "Google Workspace",
  "domain": "example.com",
  "records": [
    {
      "id": "example.com/8a4c6e2f0b9d41a3c5e7f9b1d3a5c7e9",
      "domain": "example.com",
      "type": "MX",
      "name": "",
      "value": "smtp.google.com",
      "priority": 1,
      "weight": null,
      "port": null,
      "managed": null
    },
    {
      "id": "example.com/6f2a9c4e1b7d43a5e8c0f2b6d9a1e3c7",
      "domain": "example.com",
      "type": "TXT",
      "name": "",
      "value": "v=spf1 include:_spf.google.com ~all",
      "priority": null,
      "weight": null,
      "port": null,
      "managed": null
    },
    {
      "id": "example.com/c1e7a3f9b5d248c6a0e4f8b2d6c1a9e5",
      "domain": "example.com",
      "type": "CNAME",
      "name": "www",
      "value": "7f3e9a1c5b2d48e6a0c4f8b2d6e1a3c5.tensorsites.net",
      "priority": null,
      "weight": null,
      "port": null,
      "managed": "website:7f3e9a1c5b2d48e6a0c4f8b2d6e1a3c5"
    }
  ]
}

Tools · DNS records

domain_set_nameservers

Sets external nameservers, such as Cloudflare’s, for a domain registered here. Its records here then stop being served. Pass null to switch back to our DNS.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
domain string Required
A domain in the resource, such as example.com.
nameservers string[] | null Required
2–13 host names, none under the domain itself, or null for our DNS.

Returns

The domain and its current nameservers.

tools/call · domain_set_nameservers
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_set_nameservers",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "domain": "example.com",
        "nameservers": [
          "ada.ns.cloudflare.com",
          "bob.ns.cloudflare.com"
        ]
      }
    }
  }'
Result
{
  "domain": "example.com",
  "nameservers": [
    "ada.ns.cloudflare.com",
    "bob.ns.cloudflare.com"
  ]
}

Tools · DNS records

domain_list_dns_changes

Lists DNS record changes in the resource, newest first.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
domain string
Limits results to one domain.
limit integer
Number of changes to return, 1–500. Defaults to 50.

Returns

An array of changes, each with domain, removed and added records (an edit appears in both), by (a person, or the organization for automatic changes such as certificate validation), by_agent (the agent acting on their behalf) and created_at.

tools/call · domain_list_dns_changes
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_list_dns_changes",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "domain": "example.com",
        "limit": 1
      }
    }
  }'
Result
[
  {
    "id": "8a4c6e2f0b9d41a3c5e7f9b1d3a5c7e9",
    "domain": "example.com",
    "by": "5761e31cd8538b7da8a3ddd4157bd632",
    "by_agent": "9735814189d64dd5dc193fe843b45992",
    "kind": "records",
    "removed": [],
    "added": [
      {
        "type": "A",
        "name": "app",
        "value": "203.0.113.10",
        "priority": null,
        "weight": null,
        "port": null,
        "managed": null
      }
    ],
    "created_at": "2026-09-30T23:46:04.650Z"
  }
]

Tools · Domains

domain_list_changes

Lists every change made to the resource’s domains, newest first: to their DNS records, registration, WHOIS details, nameservers and certificates.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
domain string
Limits results to one domain.
kind enum
Limits results to one kind: records, registration, whois, nameservers or certificates.
limit integer
Number of changes to return, 1–500. Defaults to 50.

Returns

An array of changes, each with domain, kind, removed and added (records for records, as domain_list_dns_changes returns them; otherwise lines with a label and a value, a time where date is true), by (a person, or the organization for automatic changes), by_agent (the agent acting on their behalf) and created_at.

tools/call · domain_list_changes
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_list_changes",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "domain": "example.com",
        "kind": "nameservers",
        "limit": 1
      }
    }
  }'
Result
[
  {
    "id": "8a4c6e2f0b9d41a3c5e7f9b1d3a5c7e9",
    "domain": "example.com",
    "by": "5761e31cd8538b7da8a3ddd4157bd632",
    "by_agent": null,
    "kind": "nameservers",
    "removed": [
      {
        "label": "Nameserver",
        "value": "ns1.systemdns.com"
      }
    ],
    "added": [
      {
        "label": "Nameserver",
        "value": "ada.ns.cloudflare.com"
      }
    ],
    "created_at": "2026-09-30T23:46:04.660Z"
  }
]

Tools · DNS records

domain_connect_website

Serves an organization website at a host on a domain held here, by adding a managed CNAME record and a verified address on the website. Fails if records already exist for the host, unless replace_records is set. Requires an owner or admin. The apex domain gets A records of the CDN’s static IPs instead (an alias where its DNS is hosted here), where the server has them. The CDN serves the host with its own certificate a few minutes later, once DNS has spread.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
host string Required
A host under one of this resource’s domains, such as www.example.com, or the domain itself.
website_id string Required
The website id, from list_spaces.
replace_records boolean
Whether to delete the host’s existing records in place of the CNAME instead of failing. Records the app keeps, such as certificate validation, are never deleted. Defaults to false.

Returns

The host and cdn: null, or why the CDN could not be told just now (it is told again on its own).

tools/call · domain_connect_website
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_connect_website",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "host": "www.example.com",
        "website_id": "7f3e9a1c5b2d48e6a0c4f8b2d6e1a3c5"
      }
    }
  }'
Result
{
  "host": "www.example.com",
  "cdn": null
}

Tools · Certificates

domain_order_certificate

Orders a certificate for a domain held here, or for a host under it, with a server-generated key. The certificate is validated by a TXT record in the domain’s zone, so the domain’s DNS must be served here. Certificates are either free from Let’s Encrypt (auto-renewing) or paid for one year (charged first). Active domains already get a free certificate for the domain and its www subdomain. Poll the order with domain_check_certificate.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
host string Required
The certificate’s host name, such as shop.example.com.
authority enum
letsencrypt (free, default) or opensrs (paid, one year).
price_cents integer
For paid certificates, the certificate_cents value from domain_list. The call fails without charging if the price has changed.
use_for string
For paid certificates, a domain to use the certificate for.

Returns

The certificate, as returned by domain_get, with status pending during validation.

tools/call · domain_order_certificate
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_order_certificate",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "host": "shop.example.com"
      }
    }
  }'
Result
{
  "id": "4d8b2f6a0c9e47b1a3f5d7e9c2b4a6f8",
  "domain": "shop.example.com",
  "sans": [],
  "status": "pending",
  "authority": "letsencrypt",
  "renewing": false,
  "validation": "_acme-challenge.shop.example.com. TXT \"Hk2pW8yZr1d…\"",
  "issued_at": null,
  "expires_at": null,
  "error": "",
  "created_at": "2026-09-30T23:46:04.541Z"
}

Tools · Certificates

domain_check_certificate

Checks a certificate’s order or renewal with the authority immediately. Automatic checks run every minute.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
certificate_id string Required
The certificate id, from domain_get.

Returns

The certificate, with status issued, failed (with error) or pending.

tools/call · domain_check_certificate
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_check_certificate",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "certificate_id": "4d8b2f6a0c9e47b1a3f5d7e9c2b4a6f8"
      }
    }
  }'
Result
{
  "id": "4d8b2f6a0c9e47b1a3f5d7e9c2b4a6f8",
  "domain": "example.com",
  "sans": [
    "www.example.com"
  ],
  "status": "issued",
  "authority": "letsencrypt",
  "renewing": false,
  "validation": "_acme-challenge.example.com. TXT \"Gm7xUq0iV3k…\"\n_acme-challenge.www.example.com. TXT \"pX2dR9bLw4c…\"",
  "issued_at": "2026-09-30T23:46:04.545Z",
  "expires_at": "2026-12-29T23:46:04.545Z",
  "error": "",
  "created_at": "2026-09-30T23:46:04.541Z"
}

Tools · Certificates

domain_get_certificate

Returns a certificate with its PEM and, optionally, its private key. The private key requires the keys permission or full access.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
certificate_id string Required
The certificate id, from domain_get.
private_key boolean
Whether to include the private key as PEM.

Returns

The certificate, with certificate (the certificate and chain as PEM, or null until issued) and private_key if requested.

tools/call · domain_get_certificate
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_get_certificate",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "certificate_id": "4d8b2f6a0c9e47b1a3f5d7e9c2b4a6f8"
      }
    }
  }'
Result
{
  "id": "4d8b2f6a0c9e47b1a3f5d7e9c2b4a6f8",
  "domain": "example.com",
  "sans": [
    "www.example.com"
  ],
  "status": "issued",
  "authority": "letsencrypt",
  "renewing": false,
  "validation": "_acme-challenge.example.com. TXT \"Gm7xUq0iV3k…\"\n_acme-challenge.www.example.com. TXT \"pX2dR9bLw4c…\"",
  "issued_at": "2026-09-30T23:46:04.545Z",
  "expires_at": "2026-12-29T23:46:04.545Z",
  "error": "",
  "created_at": "2026-09-30T23:46:04.541Z",
  "certificate": "-----BEGIN CERTIFICATE-----\nMIIFBjCCA+6gAwIBAgISBK…\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\nMIIFFjCCAv6gAwIBAgIRAJ…\n-----END CERTIFICATE-----\n"
}

Tools · Certificates

domain_renew_certificate

Orders a new Let’s Encrypt certificate after expiration or a failed order or renewal. Otherwise, certificates renew automatically when a third of their lifetime is left. The current certificate stays in use until the new one is issued. Paid certificates can’t be renewed. Order a new one instead.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
certificate_id string Required
The certificate id, from domain_get.

Returns

The certificate, with renewing set until it is reissued.

tools/call · domain_renew_certificate
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_renew_certificate",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "certificate_id": "4d8b2f6a0c9e47b1a3f5d7e9c2b4a6f8"
      }
    }
  }'
Result
{
  "id": "4d8b2f6a0c9e47b1a3f5d7e9c2b4a6f8",
  "domain": "example.com",
  "sans": [
    "www.example.com"
  ],
  "status": "issued",
  "authority": "letsencrypt",
  "renewing": true,
  "validation": "_acme-challenge.example.com. TXT \"Gm7xUq0iV3k…\"\n_acme-challenge.www.example.com. TXT \"pX2dR9bLw4c…\"",
  "issued_at": "2026-09-30T23:46:04.545Z",
  "expires_at": "2026-12-29T23:46:04.545Z",
  "error": "",
  "created_at": "2026-09-30T23:46:04.541Z"
}

Tools · Certificates

domain_set_certificate_choice

Sets which certificate a domain uses: free Let’s Encrypt (the default), one uploaded with domain_upload_certificate, or a paid certificate ordered here. If an uploaded or paid certificate can’t be used, the domain falls back to Let’s Encrypt.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
domain string Required
A domain in the resource, such as example.com.
choice enum Required
letsencrypt, existing or paid.
certificate_id string
The certificate id for the chosen kind and domain. Defaults to the current certificate, or else the newest.

Returns

The domain, as returned by domain_get.

tools/call · domain_set_certificate_choice
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_set_certificate_choice",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "domain": "example.com",
        "choice": "letsencrypt"
      }
    }
  }'
Result
{
  "domain": "example.com",
  "status": "active",
  "registered_at": "2026-09-30T23:46:04.540Z",
  "expires_at": "2027-09-30T23:46:04.540Z",
  "auto_renew": true,
  "locked": true,
  "privacy": true,
  "nameservers": [
    "ns1.systemdns.com",
    "ns2.systemdns.com",
    "ns3.systemdns.com"
  ],
  "custom_nameservers": false,
  "error": "",
  "folder_id": null,
  "position": "",
  "created_at": "2026-09-30T23:46:04.540Z",
  "hosted": false,
  "moved_at": null,
  "certificate_choice": "letsencrypt",
  "certificate_id": null,
  "verification": null,
  "contacts": {
    "owner": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    },
    "admin": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    },
    "tech": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    },
    "billing": {
      "own": false,
      "contact": {
        "first_name": "Alex",
        "last_name": "Rivera",
        "org_name": "Launch Co",
        "address1": "1 Main St",
        "address2": "",
        "city": "Raleigh",
        "state": "NC",
        "postal_code": "27601",
        "country": "US",
        "phone": "+1.9195550123",
        "email": "you@example.com"
      }
    }
  },
  "records": [
    {
      "id": "example.com/6f2a9c4e1b7d43a5e8c0f2b6d9a1e3c7",
      "domain": "example.com",
      "type": "A",
      "name": "app",
      "value": "203.0.113.10",
      "priority": null,
      "weight": null,
      "port": null,
      "managed": null
    },
    {
      "id": "example.com/c1e7a3f9b5d248c6a0e4f8b2d6c1a9e5",
      "domain": "example.com",
      "type": "CNAME",
      "name": "www",
      "value": "7f3e9a1c5b2d48e6a0c4f8b2d6e1a3c5.tensorsites.net",
      "priority": null,
      "weight": null,
      "port": null,
      "managed": "website:7f3e9a1c5b2d48e6a0c4f8b2d6e1a3c5"
    }
  ],
  "certificates": [
    {
      "id": "4d8b2f6a0c9e47b1a3f5d7e9c2b4a6f8",
      "domain": "example.com",
      "sans": [
        "www.example.com"
      ],
      "status": "issued",
      "authority": "letsencrypt",
      "renewing": false,
      "validation": "_acme-challenge.example.com. TXT \"Gm7xUq0iV3k…\"\n_acme-challenge.www.example.com. TXT \"pX2dR9bLw4c…\"",
      "issued_at": "2026-09-30T23:46:04.545Z",
      "expires_at": "2026-12-29T23:46:04.545Z",
      "error": "",
      "created_at": "2026-09-30T23:46:04.541Z"
    }
  ]
}

Tools · Certificates

domain_upload_certificate

Uploads a certificate from another authority, with its chain (in any order) and unencrypted private key, and sets it as the domain’s certificate. Fails if the key doesn’t match the certificate or its names don’t cover the domain. Expired, self-signed and chainless certificates are stored with an error, and the domain falls back to Let’s Encrypt.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
domain string Required
A domain in the resource, such as example.com.
certificate string Required
Certificate and chain as PEM, up to 32,000 characters.
key string Required
Private key as PEM, without a passphrase.

Returns

The certificate, as returned by domain_get, with authority: uploaded.

tools/call · domain_upload_certificate
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_upload_certificate",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "domain": "example.com",
        "certificate": "-----BEGIN CERTIFICATE-----\n…",
        "key": "-----BEGIN PRIVATE KEY-----\n…"
      }
    }
  }'
Result
{
  "id": "8a4c6e2f0b9d41a3c5e7f9b1d3a5c7e9",
  "domain": "example.com",
  "sans": [
    "www.example.com"
  ],
  "status": "issued",
  "authority": "uploaded",
  "renewing": false,
  "validation": "",
  "issued_at": "2026-09-30T23:46:04.000Z",
  "expires_at": "2027-09-30T00:00:00.000Z",
  "error": "",
  "created_at": "2026-09-30T23:46:04.710Z"
}

Tools · Certificates

domain_remove_certificate

Removes a certificate. Fails while the certificate is being validated.

Parameters

project_id string Required
The project id.
space_id string Required
The domains resource id, from list_spaces.
certificate_id string Required
The certificate id, from domain_get.

Returns

The removed certificate’s id.

tools/call · domain_remove_certificate
curl https://tensorworks.net/mcp \
  -H "Authorization: Bearer $TENSORWORKS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "domain_remove_certificate",
      "arguments": {
        "project_id": "b6909c9cf00c1d482686b5f52eadd58e",
        "space_id": "2b7e5c1a9f3d40e8b6c2a7f1e9d3b5c8",
        "certificate_id": "4d8b2f6a0c9e47b1a3f5d7e9c2b4a6f8"
      }
    }
  }'
Result
{
  "deleted": "4d8b2f6a0c9e47b1a3f5d7e9c2b4a6f8"
}

Questions or something missing? Contact us.