Προγραμματιστές → MCP

MCP server για το AI σας

Η NameOcean λειτουργεί έναν απομακρυσμένο MCP server σε ένα μόνο URL. Συνδέστε μία φορά τον AI client σας και θα μπορεί να διαχειρίζεται το DNS, το SSL, τους app servers, το email και τα webhooks σας με 150 εργαλεία. Συνδέεστε από τον browser: κανένα κλειδί για επικόλληση, τίποτα για εγκατάσταση.

https://nameocean.net/mcp

Συνδέστε τον client σας

Claude Code

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

Στη συνέχεια εκτελέστε /mcp στο Claude Code και επιλέξτε nameocean για να συνδεθείτε.

Claude Desktop και claude.ai

Settings → Connectors → Add custom connector. Ονομάστε τον NameOcean και χρησιμοποιήστε το URL https://nameocean.net/mcp. Την πρώτη φορά το Claude ανοίγει τη σελίδα σύνδεσης της 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}
  }
}

Με το CLI

Η εντολή nameocean mcp install εντοπίζει τα Claude Code, Cursor, OpenCode και VS Code στον υπολογιστή σας και προσθέτει τον διακομιστή στο καθένα. Εγκαταστήστε το CLI.

Clients χωρίς σύνδεση μέσω browser

Στείλτε ένα κλειδί API σε header: Authorization: Bearer no_live_…. Τα εργαλεία έχουν τότε ακριβώς τα δικαιώματα του κλειδιού, οπότε ένα κλειδί μόνο με dns:read μπορεί να βλέπει αλλά όχι να αλλάζει.

Τι να ζητήσετε

  • "Συνδέστε το blog.example.com με το 203.0.113.10 και ενεργοποιήστε το SSL."
  • «Ρύθμισε το email για το example.com: ένα mailbox για το hello@, προώθηση του sales@ στο Gmail μου, και έλεγξε το DNS.»
  • «Κάνε deploy αυτό το project στον server μου και δείξε μου τα logs αν δεν ξεκινήσει.»
  • «Μετέφερε όλες τις εγγραφές του example.com στη νέα IP του server. Δείξε μου πρώτα το πλάνο.»
  • «Στείλε ένα webhook στο https://example.com/hooks όταν ένα domain πρόκειται να λήξει.»

Τι μπορεί και τι δεν μπορεί να κάνει το AI σας

  • Μπορεί να καταχωρίσει, να ανανεώσει και να μεταφέρει domains από το υπόλοιπο του λογαριασμού σας μόνο αν επιλέξατε την άδεια χρεώσεων κατά τη σύνδεση. Κάθε αγορά απαιτεί δύο κλήσεις: η πρώτη επιστρέφει την τιμή για να σας τη δείξει το AI, η δεύτερη εκτελείται μόνο με τη δική σας έγκριση. Οι αγορές μέσω API, CLI και AI σταματούν στο μηνιαίο όριο δαπανών σας ($100, εκτός αν το αλλάξετε στο Πίνακας ελέγχου → Κλειδιά API)· πάνω από αυτό, το domain μπαίνει στο καλάθι σας για να το πληρώσετε. Το AI δεν μπορεί να προσθέσει πίστωση ή να αλλάξει το όριο.
  • Για να το δοκιμάσετε χωρίς χρέωση, συνδέστε το με κλειδί δοκιμής (no_test_..., που δημιουργείται στο Πίνακας ελέγχου → Κλειδιά API): οι αγορές προσομοιώνονται με δοκιμαστική πίστωση και τίποτα δεν φτάνει σε μητρώο.
  • Η δημιουργία app server χρεώνεται μηνιαία, γι' αυτό απαιτούνται δύο κλήσεις: η πρώτη επιστρέφει την τιμή ώστε να σας την εμφανίσει το AI και η δεύτερη εκτελείται μόνο με τη δική σας έγκριση. Ένα API key με περιορισμένα δικαιώματα χρειάζεται επίσης το billing:write για αυτή την ενέργεια.
  • Οι κωδικοί των γραμματοκιβωτίων και οι τιμές των μεταβλητών περιβάλλοντος δεν φτάνουν ποτέ στο μοντέλο· τις βλέπετε στον πίνακα ελέγχου.
  • Τα εργαλεία που διαγράφουν, σταματούν ή αντικαθιστούν δεδομένα επισημαίνονται ως καταστροφικά, ώστε οι clients που ζητούν επιβεβαίωση για τέτοια εργαλεία να σας ρωτούν πρώτα.
  • Όλες οι αλλαγές που κάνει εμφανίζονται στο Πίνακας ελέγχου → Δραστηριότητα, μαζί με την εφαρμογή που τις έκανε. Μπορείτε να αποσυνδέσετε μια εφαρμογή οποιαδήποτε στιγμή από το Πίνακας ελέγχου → Συνδεδεμένες εφαρμογές.
  • Οι συνδέσεις εφαρμογών και τα API keys απαιτούν σύνδεση σε δύο βήματα στον λογαριασμό σας.

Εργαλεία

Οι περιγραφές είναι αυτό που διαβάζει το AI σας, γι' αυτό είναι στα αγγλικά. ανάγνωση μόνο ανάγνωση · εγγραφή κάνει αλλαγές · καταστροφικό διαγράφει, σταματά ή αντικαθιστά

Account and domains

get_account
ανάγνωση
Your email, account credit (USD), how many domains and DNS zones you have, and the monthly spending limit for purchases through the API, CLI and MCP (spending: limit, spent_this_month, remaining). test: true means a test key: sandbox credit and domains.
check_domain
ανάγνωση
Is a domain available to register, and its register/renew price in USD. To buy it, use register_domain (with the user's yes) or add_domain_to_cart.
whois_domain
ανάγνωση
WHOIS/RDAP data of any domain (not only the user's): registrar, created/updated/expiry dates, EPP status, nameservers, DNSSEC. registered=false means the registry has no such domain; use check_domain for availability and price.
list_activity
ανάγνωση
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
ανάγνωση
Domains registered in your account with expiry, auto-renew and nameservers.
get_domain
ανάγνωση
One domain: nameservers, lock, auto-renew and SSL status.
update_domain
εγγραφή
Turn auto-renew or the transfer lock on or off.
set_nameservers
καταστροφικό
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.
add_domain_to_cart
εγγραφή
Put a domain in the user's cart for registration and return the checkout link and cart total. Nothing is charged: the user reviews the cart and pays at checkout_url themselves, so give them that link. Check the price first with check_domain and tell the user what it costs.
get_cart
ανάγνωση
Domains in the user's cart with price, total and the checkout link.
remove_from_cart
εγγραφή
Take a domain out of the user's cart.
get_renewal
ανάγνωση
What renewing a domain costs and where the user renews it. Nothing is charged here: renewal opens 60 days before expiry and the user renews at renew_url (or turns on auto_renew with update_domain).
register_domain
καταστροφικό
Register a domain, paid from the account credit. Without confirm it returns the quote (price, credit, within_spend_limit) and charges nothing: show the user the domain and price, then call again with confirm: true after a clear yes. Over the monthly spending limit the answer is spend_limit_reached: the domain was put in the cart, give the user pay_url. Premium names also need accept_premium: true.
renew_domain
καταστροφικό
Renew a domain for one year from the account credit (renewal opens 60 days before expiry). Without confirm it returns the quote; call again with confirm: true after the user agrees. Over the monthly spending limit: spend_limit_reached with pay_url, where the user renews it themselves.
check_transfer
ανάγνωση
Can a domain registered elsewhere be transferred to NameOcean now (not locked, older than 60 days), its current registrar and the transfer price (one year is added to its expiry).
start_transfer
καταστροφικό
Transfer a domain in from another registrar, paid from the account credit, with the auth (EPP) code the user got from the current registrar. Without confirm it returns the quote; call again with confirm: true after the user agrees. If a transfer failed (wrong code, still locked), calling again with a new auth_code retries it at no charge. Follow it with list_transfers.
get_tld
ανάγνωση
Prices and rules of a domain extension (com, io, de...): register/renew/transfer price, registration periods, transfer rules, length limits, who can register and required documents.
reset_sandbox
καταστροφικό
Test keys (no_test_) only: delete the test domains and transfers, put the test credit back to $1000 and zero the test spending.
list_transfers
ανάγνωση
Domain transfers into (or out of) the account and their state: awaiting_payment, paid, in_progress, completed, failed, rejected or cancelled, with the registrar's message. Start one with start_transfer (or the user does at start_url).
get_dnssec
ανάγνωση
DNSSEC state of a DNS zone: off, pending, active, manual or disabling, with the DNSKEY and DS records. manual means the zone is signed but the DS has to be added at the registrar by the owner.
set_dnssec
καταστροφικό
Turn DNSSEC on or off for a DNS zone. On: the zone is signed within about a minute and the key goes to the registrar when the domain is registered here and uses our nameservers. Off: the key is removed at once, the signature stays 2 more days so cached answers keep validating. Check progress with get_dnssec.
list_status_pages
ανάγνωση
The account's public status pages: address, monitors shown, custom domain state and embeddable badges (SVG URLs and HTML/Markdown snippets for a README or website).
get_status_page
ανάγνωση
One status page with what visitors see now: overall state and each monitor's state and 90-day uptime, plus the custom domain's state, DNS records and error.
create_status_page
εγγραφή
Publish a status page (like status.example.com) showing chosen monitors' state, 90-day uptime and recent outages; visitors never see the monitored URLs or errors. Up to 5 per account. Free, also with a custom domain.
update_status_page
εγγραφή
Change a status page; send only what changes. Setting domain starts the DNS checks over.
delete_status_page
καταστροφικό
Delete a status page (and its custom domain). The monitors stay.
check_status_page_domain
εγγραφή
Check a pending custom domain's DNS records now instead of waiting for the 5-minute check; when they are right the certificate is requested. Use after the user added the records.
inspect_repo
ανάγνωση
Before create_server with repo: what deploying a git repository would need. Returns the repository (found, description, default branch), the stack NameOcean expects (Next.js, Django ...), and the project's [deploy] settings from its .nameocean/app.toml: the smallest plan, and env variables with description, required (ask the user) and generate (NameOcean makes a random secret: don't ask). Changes nothing.
update_from_source
εγγραφή
For a server deployed from a repository URL (create_server repo, or the Deploy to NameOcean button): fetch the newest commit of its branch and deploy it. A copy never updates by itself.
list_previews
ανάγνωση
Previews of a server: branches running next to the live site, each at its own https://<branch>-<hex>.nameocean.org (status building, ready or failed; the build output with get_preview). max is the plan's limit; auto is the automatic previews setting (off, pull_requests, branches; update_server).
get_preview
ανάγνωση
One preview of a server, with its last build's output.
create_preview
εγγραφή
Build a branch as a preview next to the live site (or rebuild its preview with the newest commit): its own HTTPS address, the live site is not touched. The branch must be pushed to the server first (git push nameocean <branch>). Shares the server's env and database; the release step (migrations) is skipped unless .nameocean/app.toml has [preview] release = "...". Only servers created since 2026-11-30. Returns at once (status building); poll get_preview.
delete_preview
εγγραφή
Remove a preview from a server (its process, address and files).
list_github_installations
ανάγνωση
GitHub accounts and organizations where the NameOcean app is installed and connected to this account, and install_url to add one (the user opens it in a browser).
list_github_repos
ανάγνωση
Repositories a GitHub installation can see (connect one with connect_github_repo).
connect_github_repo
εγγραφή
Connect a GitHub repository to a server: every push to the branch deploys it (fetch, .nameocean/deploy.sh, restart the apps). Deploys the branch head once now unless deploy is false. The installation must already exist (list_github_installations; if none, give the user install_url).
disconnect_github_repo
καταστροφικό
Stop deploying a server from GitHub (it keeps its last deploy; the app stays installed on GitHub).
check_agent_readiness
ανάγνωση
How ready any website is for AI agents (level 0-5, the rules of Cloudflare's isitagentready.com): robots.txt with AI crawler rules and Content-Signal, sitemap, Link headers, Markdown answers to Accept: text/markdown, llms.txt, /.well-known/search, API catalog, MCP server card, A2A card, agent skills, OAuth metadata. Each check has a fix. Public sites only; results are cached 10 minutes.
list_app_crashes
ανάγνωση
Recent crashes of a server's apps (supervisor programs): which app, crashed (restarted automatically) or down (supervisor gave up), how often within 10 minutes, and the last 50 lines of its log. Use it when an app misbehaves, before read_logs.
drop_database_copy
καταστροφικό
Stop and delete a server's restore copy (port 5433).
push_search_documents
εγγραφή
Add or replace documents in a server's search index, for content the crawler can't see (JavaScript-rendered pages, data behind a form). Each: url (a page on one of the server's domains), title, text (Markdown), lang. Up to 100 per call; they count towards the 500-page limit and a crawl never removes them.
list_search_documents
ανάγνωση
Pages and pushed documents in a server's search index, with why a page is skipped (noindex, canonical elsewhere, HTTP errors).
delete_search_document
καταστροφικό
Remove a pushed document from a server's search index (crawled pages come back with the next crawl: use noindex or robots.txt for those).
list_sending_domains
ανάγνωση
Domains that send mail over SMTP (or the API) without a mailbox: status, SMTP username, verified time.
get_sending_domain
ανάγνωση
A sending domain's SMTP settings (host, ports, username), the SPF/DKIM records it needs and whether they are in place, and this month's sending.
add_sending_domain
εγγραφή
Let a domain send mail over SMTP (smtp.nameocean.net) without a mailbox, e.g. for an app's password resets. Returns the SMTP settings and the DNS records to add (written automatically when the zone is on NameOcean DNS); then call verify_sending_domain. The SMTP password is not shown to the assistant.
verify_sending_domain
εγγραφή
Check a sending domain's SPF and DKIM records now; it can send once they are in place.
remove_sending_domain
καταστροφικό
Stop sending from a domain: its SMTP login stops working. Confirm with the user first.

DNS

list_dns_zones
ανάγνωση
DNS zones hosted on NameOcean DNS.
create_dns_zone
εγγραφή
Host a domain's DNS on NameOcean (free).
list_dns_records
ανάγνωση
All records of a DNS zone with their type and id.
add_dns_record
εγγραφή
Add a DNS record. Fields by type: A {hostname, ip}, AAAA {hostname, ip}, CNAME {hostname, target}, MX {hostname, priority, target}, TXT {hostname, text}, SRV {hostname, priority, weight, port, target}, PTR {hostname, target}, CAA {hostname, tag, value, flags?} (one name can hold several), NS {hostname, target} delegates a subdomain to other nameservers (one NS per nameserver; hostname is never @), DS {hostname, key_tag, algorithm, digest_type, digest} for a delegated subdomain that uses DNSSEC (add its NS first), HTTPS {hostname, priority, target, params} and SVCB {hostname, priority, target, params} (RFC 9460: priority 1+ with target "." and params such as alpn=h2,h3 advertises HTTP/3; priority 0 with a target host is an alias, also at @), ALIAS {hostname, target} is a CNAME that works at @ too: the name answers with the target's addresses, looked up on save and every 5 minutes (the name holds no A/AAAA of its own; a target that does not resolve is refused), REDIRECT {hostname, target URL, save_path}. Changes reach the nameservers within seconds.
update_dns_record
καταστροφικό
Change fields of an existing record (find its type and id with list_dns_records).
delete_dns_record
καταστροφικό
Delete a DNS record by type and id.
list_dns_changes
ανάγνωση
History of a DNS zone's records, newest first: who (dashboard, API key, app, system), when, and each record before and after. Use it to find out what broke a zone; revert_dns_change undoes one entry.
revert_dns_change
καταστροφικό
Undo one entry of list_dns_changes: a created record is deleted, a deleted one comes back, a changed one gets its old values. Refused when the record changed after that entry. Show the user the change first.
get_dns_secondaries
ανάγνωση
Zone transfers to the user's own secondary nameservers: allow_from (addresses or networks that may AXFR the zone from ns1-ns4), notify (addresses ns1-ns4 send a NOTIFY after each change) and primaries (what the secondary lists as its primary servers).
set_dns_secondaries
καταστροφικό
Let the user's own secondary nameservers copy a DNS zone by AXFR from ns1-ns4.nameocean.net. allow_from: up to 10 public IP addresses or networks (at most /24 for IPv4, /48 for IPv6); notify: up to 5 public addresses that get a NOTIFY after each change. A list left out stays as it is; [] clears it. Active within a minute.
export_dns_zone
ανάγνωση
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. format "bind" gives a BIND zone file as text instead, to move the zone to another DNS provider.
plan_dns_zone
ανάγνωση
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
καταστροφικό
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
ανάγνωση
SSL certificate status of a zone and its download link.
issue_ssl
εγγραφή
Issue a free wildcard Let's Encrypt certificate for a zone on NameOcean DNS.

Διακομιστές εφαρμογών

list_servers
ανάγνωση
Your app servers with SSH command, git remote, open ports and bound domains.
get_server
ανάγνωση
One app server in detail.
update_server
εγγραφή
Rename a server (up to 20 letters, digits and hyphens), change its notes, and/or set previews: "pull_requests" gives every pull request of the server's connected GitHub repository (not from forks) a preview next to the live site, removed when it is closed (GitHub shows View deployment); "branches" also does it for every other pushed branch, removed when the branch is deleted; "off" leaves only previews made with create_preview. Send only what changes.
delete_server
καταστροφικό
Delete a server for good: its container, disk and data are removed and cannot be restored; billing stops. First call without confirm to get what is lost, tell the user, and call again with confirm: true only after they clearly agree.
open_port
εγγραφή
Open a port on a server. 80 (behind HTTPS on 443) and SSH are open already; NameOcean assigns the external port.
close_port
καταστροφικό
Close an open port by its id (see get_server).
bind_domain
εγγραφή
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
καταστροφικό
Stop serving a domain from a server, by binding id (see get_server).
list_server_plans
ανάγνωση
App server plans you can create: CPU, memory, disk and monthly price (USD), and the Linux distributions (os) to choose from. The free plan (1 vCPU, 1 GB RAM, 5 GB) is once per account, needs a card on the account and is free for 12 months; then it moves to the starter plan, billed to the card.
create_server
καταστροφικό
Create an app server; it is billed monthly (the free plan costs nothing for 12 months, once per account; then it moves to starter and is billed). First call without confirm to get the price, show it to the user, and call again with confirm: true only after they agree.
resize_server
καταστροφικό
Move a server to a bigger plan (upgrades only); it is billed at the new monthly price from now on. First call without confirm to get both prices, show them to the user, and call again with confirm: true only after they agree.
start_server
εγγραφή
Start a stopped server.
stop_server
καταστροφικό
Stop a server (its sites go down; billing continues). Ask the user first.
restart_server
καταστροφικό
Reboot a server (a short outage). Ask the user first.
list_one_click_apps
ανάγνωση
Apps NameOcean installs on a new server in one step (WordPress, n8n, Ghost...): version, what they need and the plans that fit. Install one with create_server and app.
get_server_app
ανάγνωση
The one-click app on a server: version, status (installing, running, updating, failed), whether an update is available and whether auto-update is on.
update_server_app
καταστροφικό
Update a server's one-click app to the newest version. A backup is taken first and the old version is put back if the new one does not start; the site may blink for a few seconds. Ask the user first.
set_server_app_auto_update
εγγραφή
Turn nightly auto-updates (same major version, backup first) of a server's one-click app on or off.
restart_server_app
εγγραφή
Restart a server's one-click app (its containers): a short outage.
retry_server_app
εγγραφή
Install a server's one-click app again after it failed (keeps passwords and data).
set_server_app_domain
εγγραφή
Move a server's one-click app to one of the server's bound domains (bind it first with bind_domain), or back to its nameocean.org address with domain null. The app's links and settings follow (WordPress links are rewritten); a short outage. Ask the user first.
read_server_app_logs
ανάγνωση
The last lines of a server's one-click app output (all its containers).
list_backups
ανάγνωση
A server's backups (free, nightly and manual; the last 7 days, at most 7).
backup_server
εγγραφή
Start a backup of a server now.
restore_backup
καταστροφικό
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
ανάγνωση
Supervisor programs on an app server and whether they run.
restart_apps
εγγραφή
Restart every app (supervisor) on a server and reload nginx, e.g. after changing config.
server_metrics
ανάγνωση
CPU, memory and disk usage history of a server, as percentages of its plan (plus MB/GB used). period: hour (1-minute points, default), day (30-minute), week (3-hour) or month (12-hour).
read_logs
ανάγνωση
The last lines of an app's output (a supervisor program), or nginx / nginx-access.
list_env
ανάγνωση
Names of a server's env variables (values are secrets and are not shown here).
set_env
καταστροφικό
Set or remove env variables every app on the server gets, then restart the apps.
add_ssh_key
εγγραφή
Let a public SSH key log in to a server as root (needed for git push from a new machine).
list_deploys
ανάγνωση
The commit a server runs now and its recent deploys (current and restorable mark the releases kept on the server; rollback_deploy restores one).
rollback_deploy
εγγραφή
Make an earlier deploy live again (no build; seconds). Only deploys list_deploys marks restorable (the server keeps the last 5 releases). Database migrations of newer deploys are not undone; a GitHub-connected server deploys over it on the next push.
get_server_stack
ανάγνωση
Build detection for a server: what the last deploy detected and did (stack, framework, install/build/release/start commands, whether supervisor.conf and nginx.conf are NameOcean's or the user's, notes). preview: true also runs the detector on the code on the server now, changing nothing. Override anything with .nameocean/app.toml in the project.
finish_deploy
εγγραφή
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_server_github
ανάγνωση
The GitHub repository and branch a server deploys from, auto-deploy, and its last GitHub deploy.
update_server_github
εγγραφή
Change the deployed branch or turn auto-deploy on push on or off.
deploy_from_github
εγγραφή
Deploy the connected branch's head (or a given full commit hash) now, in the background; list_deploys shows the result.
get_server_database
ανάγνωση
A server's PostgreSQL with point-in-time recovery: on/off, setup state, restore window (oldest point to the latest archived change), last backup, sizes, backup health, the last restore and whether a restore copy runs on 127.0.0.1:5433.
enable_server_database
εγγραφή
Turn on point-in-time recovery for a server's PostgreSQL (free, 7 days back): NameOcean creates the cluster, an `app` role and database and DATABASE_URL if the server has none (an existing PostgreSQL is kept), archives every change within a minute and backs up nightly to its backup server. Takes a few minutes; server.database.ready is sent when restores are possible. PostgreSQL restarts once.
disable_server_database
καταστροφικό
Turn off point-in-time recovery for a server and delete its backups. The database itself stays on the server.
restore_server_database
καταστροφικό
Restore a server's database to a second in the restore window (time: ISO 8601 with a time zone; omitted: the latest point). mode copy (default, safe): the database as it was then runs next to the live one on 127.0.0.1:5433 (psql -h 127.0.0.1 -p 5433 -U app app) to copy rows back; mode replace: the live database goes back to then and changes after it are lost (apps stopped meanwhile, the previous data directory kept on the server). Runs in the background; server.database.restored or .restore_failed when done.
get_server_protection
ανάγνωση
A server's edge protection: edge cache on/off, Under Attack mode, blocked IPs, and whether the edge hosts have the last change. Host-wide DDoS protection is always on.
update_server_protection
εγγραφή
Change a server's edge protection. cache: the edge keeps what the app marks cacheable (Cache-Control max-age/s-maxage, Expires; never Set-Cookie answers or Authorization requests). under_attack: 10 requests/s per IP for its sites and a one-time JavaScript check for browsers (API clients and agents skip it); turn it off when the attack is over. block / unblock: IPs or CIDR networks the edge answers with 403; blocked replaces the whole list. Takes effect within a minute.
purge_server_cache
εγγραφή
Empty a server's edge cache after a deploy (urls: only these pages, up to 100).
get_server_search
ανάγνωση
Search for agents on a server: whether its domains answer /.well-known/search, the endpoints, indexed/crawled/pushed page counts (limit 500, free), the last crawl and query count.
enable_server_search
εγγραφή
Turn on search for agents for a server: NameOcean crawls its public pages (sitemaps, else links; robots.txt and noindex respected; never its database) and its domains answer /.well-known/search?q= at the edge, without changes to the app. inject_tags adds the agent:* discovery tags to its HTML. Also changes inject_tags when it is on already. 409 endpoint_exists when the app answers that path itself (force: true overrides).
disable_server_search
καταστροφικό
Turn off search for agents for a server and delete its index (crawled pages and pushed documents).
reindex_server_search
εγγραφή
Crawl a server's pages again now (after a deploy that changed content). At most once per 10 minutes; server.search.indexed is sent when it finishes.
search_server_site
ανάγνωση
Search a server's own index like an agent would on /.well-known/search: passages with their URLs, best first.
get_deploy_guide
ανάγνωση
How to deploy code to a server: git remote, SSH, layout, ports and supervisor examples.

Email

list_email_domains
ανάγνωση
Domains with paid NameOcean email hosting: plan, storage, mailbox count, expiry.
get_email_domain
ανάγνωση
A mail domain's mailboxes, aliases, mailing lists and the IMAP/SMTP settings for mail apps.
check_email_dns
ανάγνωση
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
εγγραφή
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
εγγραφή
Change a mailbox's display name or quota (GB).
reset_mailbox_password
καταστροφικό
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
καταστροφικό
Delete a mailbox with ALL its mail and aliases. Can't be undone: confirm with the user first.
add_email_alias
εγγραφή
Deliver another address of the domain to a mailbox (e.g. sales@ to info@).
remove_email_alias
καταστροφικό
Delete an alias of a mail domain.
list_email_forwarding
ανάγνωση
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
ανάγνωση
A domain's forwarding aliases (and whether their targets confirmed) and mail webhooks.
enable_email_forwarding
εγγραφή
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
καταστροφικό
Turn forwarding off for a domain (removes the MX record; aliases are kept).
add_email_forward
εγγραφή
Forward localpart@domain to another address. A new target address gets a confirmation mail; forwarding starts once its owner confirms.
remove_email_forward
καταστροφικό
Stop forwarding localpart@domain.
list_forwarded_mail
ανάγνωση
Mail a forwarding domain received in the last 30 days: from, subject, status (forwarded, spam, quota, bounced...). Never the body.
send_email
εγγραφή
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
ανάγνωση
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.
get_sent_email
ανάγνωση
One sent email by its id (from send_email or list_sent_email): recipient, status, SMTP result and the delivery events. Never the body.
list_email_suppressions
ανάγνωση
Addresses a domain no longer sends to (hard bounces, complaints, added by hand), with the reason.
add_email_suppression
εγγραφή
Stop a domain from sending to an address (mail to it is skipped as suppressed).
remove_email_suppression
καταστροφικό
Let a domain send to a suppressed address again. Confirm with the user first: a hard-bounced address bounces again and hurts the domain's reputation.
update_email_sending
εγγραφή
Turn transactional email pay as you go on or off (keeps sending past the free emails; charged after the month ends, needs a card or funds) and/or set the monthly spend cap in USD (null: no cap). Tell the user the prices (get_email_sending) and confirm before turning it on.
get_email_sending
ανάγνωση
Transactional email this month: free allowance, used, pay as you go, amount so far, price tiers, whether sending is blocked.

Παρακολούθηση

list_monitors
ανάγνωση
The account's uptime monitors: status (up, down, pending, paused), uptime over 24 h / 7 d / 30 d, average response time and last error.
get_monitor
ανάγνωση
One monitor: its settings, alerts, each checker location's last result and the last 10 incidents.
create_monitor
εγγραφή
Watch a site (http), a port (tcp) or a cron job (push) from several locations; it is down when most of them fail. Alerts go to the account's free channels (Telegram, Slack, Discord, browser). Email alerts ($1/month) are turned on by the user in the dashboard. A push monitor returns push_url for the job to call.
update_monitor
εγγραφή
Change a monitor's settings, or pause (active: false) / resume (active: true) it. Send only what changes.
delete_monitor
καταστροφικό
Stop watching and delete a monitor with its history.
get_incidents
ανάγνωση
A monitor's down periods, newest first: when, how long, why and from which locations.

Webhooks

list_webhooks
ανάγνωση
Webhook endpoints that receive this account's events (domain, DNS, SSL), with the event types they want.
create_webhook
εγγραφή
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
καταστροφικό
Stop sending events to a webhook endpoint and delete it.
send_test_event
εγγραφή
Post a webhook.test event to an endpoint now and show what it answered.
list_webhook_deliveries
ανάγνωση
Recent deliveries to a webhook endpoint: event, status, attempts, the receiver's answer.

Πρωτόκολλο

Streamable HTTP, χωρίς κατάσταση (stateless), εκδόσεις πρωτοκόλλου 2025-11-25, 2025-06-18 και 2025-03-26. Η σύνδεση γίνεται μέσω OAuth 2.1 με PKCE και δυναμική εγγραφή client· τα μεταδεδομένα του server βρίσκονται στο /.well-known/oauth-protected-resource. Τα εργαλεία καλούν τον ίδιο κώδικα με το REST API, επομένως οι έλεγχοι κυριότητας, τα scopes και τα όρια αιτημάτων είναι ίδια.