Hostingul agentic a sosit. Conectează-te acum la MCP
CloudLinux.ro

Model Context Protocol

Lasă agentul tău AI să îți administreze infrastructura

Conectează Claude, ChatGPT, Cursor sau orice client MCP la contul tău. Agentul poate comanda și administra servere cloud și dedicate, înregistra și reînnoi domenii, edita DNS, gestiona backup box-uri și comanda licențe, mereu după ce îți verifică soldul și te întreabă.

https://cloudlinux.ro/mcp

Soldul se verifică întâi

Orice acțiune plătită începe cu o ofertă calculată din soldul tău actual. Nu se plătește nimic până nu ești de acord și agentul trimite oferta înapoi.

Ștergeri confirmate

Ștergerea sau reinstalarea cere numele exact al serverului, al backup box-ului sau al înregistrării, așa că un id încurcat nu poate distruge altceva.

Permisiunile și limita ta

Alegi ce poate face fiecare conexiune și cât poate angaja pe lună. O revoci dintr-un clic; fiecare acțiune apare în jurnalul de activitate.

Ce poți cere

Agentul lucrează cu aceleași reguli, prețuri și limite ca în consolă. Câteva exemple:

  • "Pornește un server de 4 GB în București cu WordPress și îndreaptă blog.firma.ro spre el."
  • "Este liber firma.ro? Înregistrează-l pe doi ani cu DNS-ul vostru."
  • "Ce servere sunt oprite? Șterge test-3 și spune-mi cât economisim pe lună."
  • "Comandă un backup box de 1 TB și creează câte un sub-cont pentru fiecare server web."
  • "Adaugă o licență CloudLinux OS pentru serverul cu IP 203.0.113.10 pe care îl avem în altă parte."

Conectează clientul

Clienții care știu autentificarea deschid o pagină cloudlinux.ro unde alegi permisiunile și o limită lunară. Ceilalți folosesc un token API în header.

Claude (web și desktop)

Adaugă un connector personalizat cu adresa https://cloudlinux.ro/mcp, apoi autentifică-te cu contul tău cloudlinux.ro.

ChatGPT

În setările de connectori (modul developer), adaugă un server MCP cu adresa https://cloudlinux.ro/mcp și autentificare OAuth.

Claude Code

Adaugă serverul din terminal; Claude Code deschide pagina de autentificare sau folosește tokenul tău.

claude mcp add --transport http cloudlinux https://cloudlinux.ro/mcp

# or with a token from Settings → API:
claude mcp add --transport http cloudlinux https://cloudlinux.ro/mcp \
  --header "Authorization: Bearer cl_your_token"

Cursor

Adaugă serverul în configurația MCP; Cursor îți cere autentificarea la prima folosire.

// ~/.cursor/mcp.json
{
  "mcpServers": {
    "cloudlinux": { "url": "https://cloudlinux.ro/mcp" }
  }
}

VS Code

Adaugă serverul în configurația MCP a proiectului și pornește-l din panoul MCP.

// .vscode/mcp.json
{
  "servers": {
    "cloudlinux": { "type": "http", "url": "https://cloudlinux.ro/mcp" }
  }
}

Preferi un token? Creează unul cu permisiunile dorite și o limită lunară opțională în Setări, API

Cele 60 unelte pe care le primește agentul

Uneltele sunt grupate pe domenii. Cele de citire sunt mereu disponibile; celelalte cer permisiunea potrivită. Descrierile sunt în engleză, limba în care le citesc agenții.

Cont și sold

get_balanceThe account's prepaid credit in EUR, what the running services cost per month, how many days the credit lasts, the monthly budget and this connection's spending limit. Call this before ordering or renewing anything.
list_transactionsThe latest credit movements: deposits, hourly charges, domain and licence payments, refunds.

Catalog

list_locationsWhere servers can be ordered: every location with its country, how many plans it has and the cheapest monthly price (EUR, VAT excluded). Then call list_server_plans and list_images for the chosen location.
list_server_plansThe plans on sale in one location (from list_locations), with specs and hourly and monthly prices in EUR without VAT, cheapest first. Use the ids with order_server.
list_imagesOperating system images available in one location (from list_locations). Pass the id as image_id to order_server or reinstall_server. Not needed when ordering with a one-click app.
list_appsSelf-hosted applications that install automatically on a new cloud server (pass app_id to order_server). Not available on dedicated servers.

Servere și snapshot-uri

list_serversEvery cloud and dedicated server on the account with status, IP addresses, plan, location and price.
get_serverOne server in detail with its live status (refreshed from the platform on every call), IP addresses, login user and root password, and snapshots. Share the password only with the customer.
order_serverOrder a cloud, GPU or dedicated server, billed by the hour from the credit. Two steps: the first call checks the balance and returns a quote_id with the price; call again with the same arguments plus quote_id only after the customer agrees. Get ids from list_locations, list_server_plans, list_images, list_apps, list_recipes and list_ssh_keys. Needs the servers permission.
power_serverPower actions: on, off (hard), shutdown (graceful), reboot (graceful), reset (hard). A stopped server is still billed. Needs the power permission.
rename_serverChange a server's friendly name. Needs the servers permission.
reinstall_server•Wipe the server's disk and install a fresh operating system. All data on it is lost. Ask the customer first, then send confirm_name. Needs the servers permission.
resize_server•Move a cloud server to another plan. Without plan_id it lists the plans the server can move to. With plan_id it works in two steps like order_server: a quote first, then the same call plus quote_id after the customer agrees. The server restarts. Needs the servers permission.
delete_server•Delete a server for good: its disk, IP addresses and snapshots are gone and billing stops after the current hour. Ask the customer first, then send confirm_name. Needs the servers permission.
manage_snapshot•Take, restore or delete a server snapshot. Snapshots are billed per GB per month from the credit while they exist. Restoring overwrites the server's disk and needs confirm_name (the server name); deleting needs confirm_name (the snapshot name). Needs the snapshots permission.
get_server_networkA server's network details: IPv4 and IPv6, its hostname, the reverse DNS (PTR) it should have and what public DNS answers right now, and this month's outgoing traffic against the included allowance.
get_server_monitoringThe free monitoring of a server: uptime (24h/7d/30d, recent outages), services exposed to the internet with the commands to close them, spam blacklist listings, and known vulnerabilities that have a fix, grouped by package with the exact upgrade commands and whether a restart or reboot is needed. Show the commands to the customer; do not claim they were run.
set_reverse_dnsSet the reverse DNS (PTR) of a server's IPv4, for example mail.firma.ro for a mail server, or reset it to the default hostname. The name should also resolve forward to the server (add an A record with manage_dns_record). At some locations our team applies it within a few hours. Needs the servers permission.
set_traffic_auto_stopTurn on or off the automatic shutdown of a server at 98% of its monthly included traffic, to avoid traffic overage charges. A stopped server is still billed by the hour; if the customer starts it again, it is not stopped again that month. Only servers whose get_server shows a traffic block have a traffic limit. Needs the servers permission.
get_server_metricsCPU, network and disk usage of a server over a period, summarised as average, peak and latest values (network and disk in bytes per second).

Baze de date administrate

list_database_enginesThe engines offered as managed databases (PostgreSQL, MySQL, MariaDB, Redis, search and vector stores and more) with their version, port, optional extensions, point-in-time recovery and the smallest plan RAM they need, plus the backup retention prices in EUR without VAT. Use the slug with order_database.
list_databasesEvery managed database on the account with its engine, install state, endpoint, location, plan, hourly and monthly price, disk usage and last backup. Details, users and the allowlist come from get_database.
get_databaseOne managed database in detail: endpoint and admin tool, extensions, the IP allowlist, users, databases, the last backups and commands with their status, the backup retention and ready-to-paste connection strings (with <password> in place of the secret). The admin password is returned only with reveal_admin_password, which needs the databases permission; show it only to the customer.
order_databaseOrder a managed database: a dedicated server running the engine, set up, secured with TLS and an IP allowlist, backed up nightly and billed by the hour from the credit, never more than monthly_maximum in a calendar month. Two steps: the first call checks the balance and returns a quote_id with the price; call again with the same arguments plus quote_id only after the customer agrees. Get the engine slug from list_database_engines and the ids from list_locations and list_server_plans (a cloud plan with at least the engine's min_ram_gb). Needs the databases permission.
manage_database•One action on a managed database, applied by the box within a minute: create_database (name, owner?), drop_database (name; confirm_name = that name), create_user (username, target_database?), reset_user_password (username), drop_user (username; confirm_name = that username), add_allowlist (cidr + label?, or server_id), remove_allowlist (cidr), set_allowlist (cidrs[] and server_ids[]: replaces the whole list), rotate_admin_password, enable_extension (extension, target_database?), run_backup, restore (mode in-place or new, backup_id or target_time, new_name when new, target_database?; in place needs confirm_name), set_retention (days 7, 14 or 30: 14 and 30 add a monthly amount, so going up returns a quote_id first like an order) and delete (needs confirm_name: the server and its backups are gone for good, billing stops after the current hour). For restore in place and delete, confirm_name: the database's display name (or its internal name), exactly. Generated passwords are returned once; show them only to the customer. Needs the databases permission.

Proiecte

list_projectsThe account's projects (folders that group servers, for example one per client or environment) with how many servers each holds.
manage_project•Create a project, rename one, or delete one. Deleting a project never touches its servers: they keep running, just without a project (needs confirm_name, the project name). Needs the servers permission.
move_server_to_projectPut a server into one of the account's projects, or take it out of its project (leave project_id out). The server is not restarted. Needs the servers permission.

Chei SSH

list_ssh_keysSSH public keys saved on the account; pass their ids to order_server.
add_ssh_keySave an SSH public key (ssh-ed25519, ssh-rsa or ecdsa) so new servers accept it. Needs the ssh-keys permission.

Rețete

list_recipesThe customer's recipes: their own bash scripts that run as root at a new server's first boot (pass recipe_id to order_server).
save_recipeSave a bash script that runs as root at a new server's first boot. Without id a new recipe is created; with id that recipe is replaced. Needs the recipes permission.
delete_recipe•Delete a recipe. Servers already built with it keep running. Needs the recipes permission.

Domenii și DNS

search_domainsCheck which extensions of a name are free, with the yearly registration and renewal price in EUR without VAT. Type a full name (firma.ro) to check that extension first, or just the name (firma) for the popular ones; page 1+ continues with the other extensions.
list_domainsEvery domain on the account with status, expiry, auto-renew and renewal price.
get_domainOne domain in detail: status, expiry, nameservers, the transfer (auth) code and its DNS records when the DNS is hosted here.
domain_contactShow or save the registrant (owner) details used for every domain the account registers or transfers. Called without fields it returns what is saved; with all required fields it saves them (needs the domains permission). The registry publishes or checks these details, so they must be the customer's real ones: ask the customer, never invent them.
register_domainRegister a free domain, paid upfront from the credit for the whole period. Two steps: the first call checks availability and the balance and returns a quote_id; call again with the same arguments plus quote_id only after the customer agrees. The registrant must be saved first with domain_contact. Needs the domains permission.
transfer_domainMove a domain from another registrar, paid upfront (usually adds a year). The domain must be unlocked at the current registrar and the customer must give its transfer (auth) code. Two steps: a quote first, then the same call plus quote_id after the customer agrees. Needs the domains permission.
renew_domainRenew an active domain now, paid from the credit. Domains with auto-renew on renew by themselves a month before expiry. Two steps: a quote first, then the same call plus quote_id after the customer agrees. Needs the domains permission.
update_domainChange a domain's nameservers (custom ones, or back to the DNS hosted here) and/or switch auto-renew on or off. Needs the domains permission.
manage_dns_record•Add or remove a DNS record of a domain whose DNS is hosted here (A, AAAA, CNAME, MX, TXT, SRV, CAA). To remove, send the record exactly as get_domain lists it. Needs the domains permission.

Backup box-uri

list_backup_box_plansBackup box sizes on sale (SFTP, SMB, WebDAV storage) with their locations and hourly and monthly prices in EUR without VAT. Use the ids with order_backup_box.
list_backup_boxesThe account's backup boxes with size, usage, status and price. Use get_backup_box for the login details.
get_backup_boxOne backup box with its login details (host, port, username, password), enabled protocols and sub-accounts. Share the password only with the customer.
order_backup_boxOrder a backup box, billed by the hour from the credit. Two steps: the first call checks the balance and returns a quote_id; call again with the same arguments plus quote_id only after the customer agrees. Needs the storage permission.
resize_backup_boxMove a backup box to a bigger size (data is kept). Two steps: a quote first, then the same call plus quote_id after the customer agrees. Needs the storage permission.
delete_backup_box•Delete a backup box and every file on it; billing stops after the current hour. Ask the customer first, then send confirm_name. Needs the storage permission.
manage_backup_subaccount•Create or delete a sub-account of a backup box: a separate login limited to one folder, for example one per server. Sub-accounts cost nothing extra. Deleting needs confirm_name (the sub-account username). Needs the storage permission.

Licențe

list_license_productsSoftware licences on sale (CloudLinux OS, Plesk and add-ons) with their monthly price in EUR without VAT. A licence binds to one public IPv4: a server hosted here, or any server the customer runs elsewhere. Add-ons need a Plesk licence on the same address.
list_licensesThe account's licences with status, the address they are bound to, paid-until date and activation key.
order_licenseOrder a monthly licence bound to one public IPv4: give server (one of the account's servers) or ip plus label (a server elsewhere). The first month is paid upfront from the credit and it renews monthly. Two steps: the first call checks the balance and returns a quote_id; call again with the same arguments plus quote_id only after the customer agrees. Needs the licenses permission.
cancel_license•Cancel a licence: it keeps working until the end of the month already paid and is not renewed. Cancelling a Plesk licence also cancels its add-ons on that address. Send confirm_name (the licence title) after the customer confirmed. Needs the licenses permission.

Tichete de suport

list_ticketsThe account's support tickets, newest activity first, with whether support has answered.
get_ticketOne support ticket with its whole conversation.
open_ticketOpen a support ticket with the cloudlinux.ro team, optionally about one server or backup box. Write it on the customer's behalf with the facts (what happened, when, what was tried) and confirm the text with the customer first. Replies arrive by email and in get_ticket. Needs the tickets permission.
reply_ticketAdd a reply to one of the account's tickets (a closed ticket reopens). Confirm the text with the customer first. Needs the tickets permission.
close_ticketClose a ticket once the customer's problem is solved. A later reply reopens it. Needs the tickets permission.

• Distructiv: cere numele resursei drept confirmare.

Alimentare făcută de agent (Machine Payments Protocol)

Un agent cu portofel propriu poate adăuga credit fără tine. Trimite suma la endpointul de alimentare, primește o provocare HTTP 402, o plătește cu un Stripe Shared Payment Token și repetă apelul cu credențialul în headerul Payment-Authorization. Creditul este adăugat în momentul în care plata este confirmată.

POST https://cloudlinux.ro/api/v1/billing/topup
Authorization: Bearer cl_your_token
{"amount": 20}

402 Payment Required
WWW-Authenticate: Payment id="..." realm="www.cloudlinux.ro" method="stripe" ...

POST https://cloudlinux.ro/api/v1/billing/topup
Authorization: Bearer cl_your_token
Payment-Authorization: <credential from the agent wallet>
{"amount": 20}

200 OK   credit +20.00 EUR
  • Doar conturi verificate, cu termenii actuali acceptați în consolă; nu este niciodată prima plată a unui cont.
  • 5 până la 5000 EUR per apel. Comisionul de procesare a plății online se adaugă la sumă; creditul adăugat este exact suma cerută.
  • Orice token API al contului poate alimenta contul. Cheltuielile de după trec în continuare prin permisiunile și limita lunară ale tokenului.
  • O singură plată per provocare: un apel repetat nu plătește de două ori. Provocările expiră după cinci minute.

Tool-ul get_balance returnează endpointul și pașii, așa că agentul găsește singur alimentarea. Citește documentația plăților pentru agenți

Întrebări

Poate agentul să cheltuiască bani fără să mă întrebe?

Nu. Orice unealtă care costă întoarce întâi o ofertă cu prețul și soldul tău. Doar un al doilea apel cu acea ofertă cheltuie, iar agenții sunt instruiți să te întrebe înainte. Limita lunară per conexiune adaugă un plafon ferm.

Ce se întâmplă dacă nu am credit suficient?

Comanda este refuzată înainte să se creeze ceva, iar agentul îți spune câți bani lipsesc. Creditul îl adaugi tu din consolă, sau un agent cu portofel propriu își face singur alimentarea prin Machine Payments Protocol (vezi mai jos).

Ce clienți AI funcționează?

Orice client care vorbește Model Context Protocol prin HTTP: Claude, connectorii ChatGPT, Claude Code, Cursor, VS Code, Windsurf și agenții tăi construiți cu un SDK MCP.

Cum opresc un agent?

Revocă-i conexiunea din Setări, API. Se oprește imediat; tot ce a făcut apare în jurnalul de activitate.

Costă ceva?

Nu. Accesul MCP este gratuit; plătești doar serviciile comandate de tine sau de agent, la aceleași prețuri ca în consolă.

Scrii propriile scripturi? Citește documentația API REST