Ontwikkelaars → MCP

MCP-server voor uw AI

NameOcean draait een remote MCP-server op één URL. Koppel uw AI-client één keer en die kan uw DNS, SSL, app-servers, e-mail en webhooks beheren met 64 tools. U logt in via de browser: geen sleutel om te plakken, niets om te installeren.

https://nameocean.net/mcp

Koppel uw client

Claude Code

Claude Code
$ claude mcp add --transport http nameocean https://nameocean.net/mcp

Voer daarna /mcp uit in Claude Code en kies nameocean om in te loggen.

Claude Desktop en claude.ai

Instellingen → Connectors → Aangepaste connector toevoegen. Noem deze NameOcean en gebruik de URL https://nameocean.net/mcp. Claude opent de eerste keer de inlogpagina van NameOcean.

Cursor

~/.cursor/mcp.json
{
  "mcpServers": {
    "nameocean": {"url": "https://nameocean.net/mcp"}
  }
}

VS Code

.vscode/mcp.json
{
  "servers": {
    "nameocean": {"type": "http", "url": "https://nameocean.net/mcp"}
  }
}

OpenCode

~/.config/opencode/opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "nameocean": {"type": "remote", "url": "https://nameocean.net/mcp", "enabled": true}
  }
}

Met de CLI

nameocean mcp install vindt Claude Code, Cursor en OpenCode op uw computer en voegt de server aan elk ervan toe. Installeer de CLI.

Clients zonder inloggen via de browser

Stuur een API-sleutel mee in een header: Authorization: Bearer no_live_…. De tools hebben dan precies de scopes van de sleutel, dus een sleutel met alleen dns:read kan kijken maar niets wijzigen.

Wat u kunt vragen

  • "Laat blog.example.com naar 203.0.113.10 verwijzen en schakel SSL in."
  • "Stel e-mail in voor example.com: een mailbox voor hello@, stuur sales@ door naar mijn Gmail en controleer de DNS."
  • "Deploy dit project naar mijn server en laat me de logs zien als het niet opstart."
  • "Verplaats alle records van example.com naar het nieuwe server-IP. Laat me eerst het plan zien."
  • "Stuur een webhook naar https://example.com/hooks wanneer een domein bijna verloopt."

Wat uw AI wel en niet kan

  • Het kan geen domein registreren of verlengen en geen tegoed toevoegen. Het controleert de beschikbaarheid en prijs, en stuurt u door naar nameocean.net/domains om te kopen.
  • Het aanmaken van een app-server wordt maandelijks gefactureerd, dus dit gebeurt in twee aanroepen: de eerste geeft de prijs terug die de AI u laat zien, de tweede wordt pas uitgevoerd na uw akkoord. Een API-sleutel met beperkte scopes heeft hiervoor ook billing:write nodig.
  • Wachtwoorden van mailboxen en waarden van omgevingsvariabelen bereiken het model nooit; u bekijkt ze in het dashboard.
  • Tools die iets verwijderen, stoppen of overschrijven zijn gemarkeerd als destructief, zodat clients die zulke tools laten bevestigen u eerst om toestemming vragen.
  • Alles wat het wijzigt staat in Dashboard → Activiteit, samen met de app die het heeft gedaan. U kunt een app op elk moment ontkoppelen via Dashboard → Gekoppelde apps.
  • Voor app-koppelingen en API-sleutels is inloggen in twee stappen op uw account vereist.

Tools

De beschrijvingen zijn wat uw AI leest, daarom zijn ze in het Engels. lezen leest alleen · schrijven wijzigt iets · destructief verwijdert, stopt of overschrijft

Account and domains

get_account
lezen
Your email, account credit (USD) and how many domains and DNS zones you have.
check_domain
lezen
Is a domain available to register, and its register/renew price in USD. Registering is done by the user in the dashboard.
list_activity
lezen
The account's activity log, newest first: changes made through the API, the CLI and MCP (by which key or app), refused calls, and API key and app changes. Use it to show the user what was done.
list_domains
lezen
Domains registered in your account with expiry, auto-renew and nameservers.
get_domain
lezen
One domain: nameservers, lock, auto-renew and SSL status.
update_domain
schrijven
Turn auto-renew or the transfer lock on or off.
set_nameservers
destructief
Change a domain's nameservers. Pass 2-4 hostnames, or ["nameocean"] to go back to NameOcean DNS. Moving away from NameOcean DNS stops DNS records, server bindings and email from working.

DNS

list_dns_zones
lezen
DNS zones hosted on NameOcean DNS.
create_dns_zone
schrijven
Host a domain's DNS on NameOcean (free).
list_dns_records
lezen
All records of a DNS zone with their type and id.
add_dns_record
schrijven
Add a DNS record. Fields by type: A {hostname, ip}, CNAME {hostname, target}, MX {hostname, priority, target}, TXT {hostname, text}, SRV {hostname, priority, weight, port, target}, PTR {hostname, target}, REDIRECT {hostname, target URL, save_path}. Changes reach the nameservers within seconds.
update_dns_record
schrijven
Change fields of an existing record (find its type and id with list_dns_records).
delete_dns_record
destructief
Delete a DNS record by type and id.
export_dns_zone
lezen
The zone as a DNS-as-code file (JSON, records in {name, type, value, ttl} form), without ids. Start from this to change many records at once with plan_dns_zone / apply_dns_zone.
plan_dns_zone
lezen
Compare a full list of records with the zone and show what apply_dns_zone would create, change and delete. Changes nothing. Show the plan to the user before applying it.
apply_dns_zone
destructief
Make the zone match a full list of records, in one transaction (nothing changes when one record is refused). Run plan_dns_zone first, get the user's OK for its deletes, and pass its serial so a zone changed in between is refused.

SSL

get_ssl
lezen
SSL certificate status of a zone and its download link.
issue_ssl
schrijven
Issue a free wildcard Let's Encrypt certificate for a zone on NameOcean DNS.

App-servers

list_servers
lezen
Your app servers with SSH command, git remote, open ports and bound domains.
get_server
lezen
One app server in detail.
open_port
schrijven
Open a port on a server. 80 (behind HTTPS on 443) and SSH are open already; NameOcean assigns the external port.
close_port
destructief
Close an open port by its id (see get_server).
bind_domain
schrijven
Serve a domain or subdomain from a server over HTTPS. The domain must use NameOcean DNS; DNS records and the certificate are set up automatically.
unbind_domain
destructief
Stop serving a domain from a server, by binding id (see get_server).
list_server_plans
lezen
App server plans you can create: CPU, memory, disk and monthly price (USD).
create_server
schrijven
Create an app server; it is billed monthly. First call without confirm to get the price, show it to the user, and call again with confirm: true only after they agree.
start_server
schrijven
Start a stopped server.
stop_server
destructief
Stop a server (its sites go down; billing continues). Ask the user first.
restart_server
destructief
Reboot a server (a short outage). Ask the user first.
list_backups
lezen
A server's backups (free, nightly and manual; the last 7 days, at most 7).
backup_server
schrijven
Start a backup of a server now.
restore_backup
destructief
Replace EVERYTHING on a server with one of its backups. Can't be undone: get the user's explicit OK for this backup first.
list_apps
lezen
Supervisor programs on an app server and whether they run.
restart_apps
schrijven
Restart every app (supervisor) on a server and reload nginx, e.g. after changing config.
read_logs
lezen
The last lines of an app's output (a supervisor program), or nginx / nginx-access.
list_env
lezen
Names of a server's env variables (values are secrets and are not shown here).
set_env
schrijven
Set or remove env variables every app on the server gets, then restart the apps.
add_ssh_key
schrijven
Let a public SSH key log in to a server as root (needed for git push from a new machine).
list_deploys
lezen
The commit a server runs now and its recent deploys.
finish_deploy
schrijven
After `git push` to the server's git remote: check the commit arrived, restart the apps, reload nginx and record the deploy. Returns each app's state and the output.
get_deploy_guide
lezen
How to deploy code to a server: git remote, SSH, layout, ports and supervisor examples.

E-mail

list_email_domains
lezen
Domains with paid NameOcean email hosting: plan, storage, mailbox count, expiry.
get_email_domain
lezen
A mail domain's mailboxes, aliases, mailing lists and the IMAP/SMTP settings for mail apps.
check_email_dns
lezen
Look up a mail domain's NS, MX, SPF, DKIM and DMARC now and say which differ from what NameOcean mail needs (with the expected values).
create_mailbox
schrijven
Create a mailbox (username@domain) on a mail domain. A password is generated; it is not returned here, the user reads it in the dashboard. quota_gb comes out of the plan's storage (default 1).
update_mailbox
schrijven
Change a mailbox's display name or quota (GB).
reset_mailbox_password
schrijven
Give a mailbox a new generated password. The old one stops working at once (mail apps must be updated); the new one is shown to the user in the dashboard, not returned here. Ask the user first.
delete_mailbox
destructief
Delete a mailbox with ALL its mail and aliases. Can't be undone: confirm with the user first.
add_email_alias
schrijven
Deliver another address of the domain to a mailbox (e.g. sales@ to info@).
remove_email_alias
destructief
Delete an alias of a mail domain.
list_email_forwarding
lezen
Free email forwarding: every domain registered in the account, whether forwarding is on, and if it is off, why it can't be turned on.
get_email_forwarding
lezen
A domain's forwarding aliases (and whether their targets confirmed) and mail webhooks.
enable_email_forwarding
schrijven
Turn free email forwarding on for a domain registered at NameOcean: writes its MX record. If the zone has other MX records (another mail provider) this fails unless replace_mx is true, which removes them - ask the user before that.
disable_email_forwarding
destructief
Turn forwarding off for a domain (removes the MX record; aliases are kept).
add_email_forward
schrijven
Forward localpart@domain to another address. A new target address gets a confirmation mail; forwarding starts once its owner confirms.
remove_email_forward
destructief
Stop forwarding localpart@domain.
list_forwarded_mail
lezen
Mail a forwarding domain received in the last 30 days: from, subject, status (forwarded, spam, quota, bounced...). Never the body.
send_email
schrijven
Send an email from one of the user's mailboxes or aliases (a domain with NameOcean email hosting whose SPF and DKIM are set up). Before calling, show the user the from address, the recipients, the subject and the body, and send only after they say yes. Returns one id per recipient; delivery results come later in list_sent_email.
list_sent_email
lezen
Mail sent with the API in the last 30 days and what happened to each recipient (queued, delivered, delayed, failed, suppressed), with the SMTP error. Never the body.

Webhooks

list_webhooks
lezen
Webhook endpoints that receive this account's events (domain, DNS, SSL), with the event types they want.
create_webhook
schrijven
Send account events to an https URL. events: types such as dns.record.created, groups such as dns.*, or ["*"]; the event list is at https://nameocean.net/developers/webhooks/. Returns the signing secret.
delete_webhook
destructief
Stop sending events to a webhook endpoint and delete it.
send_test_event
schrijven
Post a webhook.test event to an endpoint now and show what it answered.
list_webhook_deliveries
lezen
Recent deliveries to a webhook endpoint: event, status, attempts, the receiver's answer.

Protocol

Streamable HTTP, stateless, protocolversies 2025-11-25, 2025-06-18 en 2025-03-26. Inloggen gaat via OAuth 2.1 met PKCE en dynamische clientregistratie; de metadata van de server staat op /.well-known/oauth-protected-resource. De tools roepen dezelfde code aan als de REST API, dus eigendomscontroles, scopes en rate limits zijn hetzelfde.