Udviklere → MCP

MCP-server til Deres AI

NameOcean kører en ekstern MCP-server på én URL. Forbind Deres AI-klient én gang, så kan den administrere Deres DNS, SSL, app-servere, e-mail og webhooks med 64 værktøjer. De logger ind i browseren: ingen nøgle at indsætte, intet at installere.

https://nameocean.net/mcp

Forbind Deres klient

Claude Code

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

Kør derefter /mcp i Claude Code, og vælg nameocean for at logge ind.

Claude Desktop og claude.ai

Indstillinger → Connectors → Tilføj brugerdefineret connector. Giv den navnet NameOcean, og brug URL'en https://nameocean.net/mcp. Claude åbner NameOceans login-side første gang.

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}
  }
}

Med CLI'en

nameocean mcp install finder Claude Code, Cursor og OpenCode på Deres computer og tilføjer serveren til hver af dem. Installér CLI'en.

Klienter uden login via browser

Send en API-nøgle i en header: Authorization: Bearer no_live_…. Værktøjerne får da præcis nøglens rettigheder, så en nøgle med kun dns:read kan se, men ikke ændre.

Hvad De kan spørge om

  • "Peg blog.example.com til 203.0.113.10, og slå SSL til."
  • "Opsæt e-mail for example.com: en postkasse til hello@, videresend sales@ til min Gmail, og tjek DNS."
  • "Udrul dette projekt på min server, og vis mig logfilerne, hvis den ikke starter."
  • "Flyt alle records for example.com til den nye server-IP. Vis mig planen først."
  • "Send en webhook til https://example.com/hooks, når et domæne er ved at udløbe."

Hvad Deres AI kan og ikke kan

  • Den kan ikke registrere eller forny et domæne eller tilføje kredit. Den tjekker tilgængelighed og pris og sender dig videre til nameocean.net/domains for at købe.
  • Oprettelse af en app-server faktureres månedligt, så det kræver to kald: det første returnerer prisen, som AI'en viser dig, og det andet kører kun, hvis du siger ja. En API-nøgle med begrænsede rettigheder skal også have billing:write til det.
  • Adgangskoder til postkasser og værdier for miljøvariabler når aldrig frem til modellen; dem kan du se i kontrolpanelet.
  • Værktøjer, der sletter, stopper eller overskriver, er markeret som destruktive, så klienter, der beder om bekræftelse for sådanne værktøjer, spørger dig først.
  • Alt, hvad den ændrer, kan ses under Kontrolpanel → Aktivitet sammen med den app, der gjorde det. Du kan til enhver tid afbryde forbindelsen til en app under Kontrolpanel → Forbundne apps.
  • App-forbindelser og API-nøgler kræver totrinslogin på din konto.

Værktøjer

Beskrivelserne er det, din AI læser, så de er på engelsk. læs læser kun · skriv ændrer noget · destruktiv sletter, stopper eller overskriver

Account and domains

get_account
læs
Your email, account credit (USD) and how many domains and DNS zones you have.
check_domain
læs
Is a domain available to register, and its register/renew price in USD. Registering is done by the user in the dashboard.
list_activity
læs
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
læs
Domains registered in your account with expiry, auto-renew and nameservers.
get_domain
læs
One domain: nameservers, lock, auto-renew and SSL status.
update_domain
skriv
Turn auto-renew or the transfer lock on or off.
set_nameservers
destruktiv
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
læs
DNS zones hosted on NameOcean DNS.
create_dns_zone
skriv
Host a domain's DNS on NameOcean (free).
list_dns_records
læs
All records of a DNS zone with their type and id.
add_dns_record
skriv
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
skriv
Change fields of an existing record (find its type and id with list_dns_records).
delete_dns_record
destruktiv
Delete a DNS record by type and id.
export_dns_zone
læs
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
læs
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
destruktiv
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
læs
SSL certificate status of a zone and its download link.
issue_ssl
skriv
Issue a free wildcard Let's Encrypt certificate for a zone on NameOcean DNS.

App-servere

list_servers
læs
Your app servers with SSH command, git remote, open ports and bound domains.
get_server
læs
One app server in detail.
open_port
skriv
Open a port on a server. 80 (behind HTTPS on 443) and SSH are open already; NameOcean assigns the external port.
close_port
destruktiv
Close an open port by its id (see get_server).
bind_domain
skriv
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
destruktiv
Stop serving a domain from a server, by binding id (see get_server).
list_server_plans
læs
App server plans you can create: CPU, memory, disk and monthly price (USD).
create_server
skriv
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
skriv
Start a stopped server.
stop_server
destruktiv
Stop a server (its sites go down; billing continues). Ask the user first.
restart_server
destruktiv
Reboot a server (a short outage). Ask the user first.
list_backups
læs
A server's backups (free, nightly and manual; the last 7 days, at most 7).
backup_server
skriv
Start a backup of a server now.
restore_backup
destruktiv
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
læs
Supervisor programs on an app server and whether they run.
restart_apps
skriv
Restart every app (supervisor) on a server and reload nginx, e.g. after changing config.
read_logs
læs
The last lines of an app's output (a supervisor program), or nginx / nginx-access.
list_env
læs
Names of a server's env variables (values are secrets and are not shown here).
set_env
skriv
Set or remove env variables every app on the server gets, then restart the apps.
add_ssh_key
skriv
Let a public SSH key log in to a server as root (needed for git push from a new machine).
list_deploys
læs
The commit a server runs now and its recent deploys.
finish_deploy
skriv
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
læs
How to deploy code to a server: git remote, SSH, layout, ports and supervisor examples.

E-mail

list_email_domains
læs
Domains with paid NameOcean email hosting: plan, storage, mailbox count, expiry.
get_email_domain
læs
A mail domain's mailboxes, aliases, mailing lists and the IMAP/SMTP settings for mail apps.
check_email_dns
læs
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
skriv
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
skriv
Change a mailbox's display name or quota (GB).
reset_mailbox_password
skriv
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
destruktiv
Delete a mailbox with ALL its mail and aliases. Can't be undone: confirm with the user first.
add_email_alias
skriv
Deliver another address of the domain to a mailbox (e.g. sales@ to info@).
remove_email_alias
destruktiv
Delete an alias of a mail domain.
list_email_forwarding
læs
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
læs
A domain's forwarding aliases (and whether their targets confirmed) and mail webhooks.
enable_email_forwarding
skriv
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
destruktiv
Turn forwarding off for a domain (removes the MX record; aliases are kept).
add_email_forward
skriv
Forward localpart@domain to another address. A new target address gets a confirmation mail; forwarding starts once its owner confirms.
remove_email_forward
destruktiv
Stop forwarding localpart@domain.
list_forwarded_mail
læs
Mail a forwarding domain received in the last 30 days: from, subject, status (forwarded, spam, quota, bounced...). Never the body.
send_email
skriv
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
læs
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
læs
Webhook endpoints that receive this account's events (domain, DNS, SSL), with the event types they want.
create_webhook
skriv
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
destruktiv
Stop sending events to a webhook endpoint and delete it.
send_test_event
skriv
Post a webhook.test event to an endpoint now and show what it answered.
list_webhook_deliveries
læs
Recent deliveries to a webhook endpoint: event, status, attempts, the receiver's answer.

Protokol

Streamable HTTP, tilstandsløs, protokolversionerne 2025-11-25, 2025-06-18 og 2025-03-26. Login sker via OAuth 2.1 med PKCE og dynamisk klientregistrering; serverens metadata findes på /.well-known/oauth-protected-resource. Værktøjerne kalder den samme kode som REST API'et, så ejerskabstjek, scopes og hastighedsbegrænsninger er de samme.