Create and manage a VPS by talking to an AI: ArduMaker MCP practical guide
Published on 2026-08-25 by frfrand
Practical guide to creating, starting, resizing, and diagnosing a VPS by conversing with an AI through ArduMaker's MCP, with one example per tool.

Short answer: with ArduMaker's MCP, an AI can create, turn on, turn off, resize, and diagnose your VPS, manage its Linux users and ports, always with your permissions and within the scope you granted. The only thing it can never do is delete a VPS.
Managing a server has always meant the same thing: open a panel, find the right button, remember the exact command. With ArduMaker's MCP, a server is managed by describing what you want to happen.
This article walks through the tools in the VPS area of the MCP and, for each one, shows a concrete day-to-day use case. All are invoked by conversing in Spanish with an AI connected to https://mcp.ardumaker.com/mcp.
Two things before starting, which save half the trouble.
First: all tools in this area carry company_id in addition to vps_id. VPSs belong to a company, not a person. listar_empresas returns the IDs you can use, and ver_contexto_inicial gives you at once the companies, projects, and VPSs visible for your session, plus the scope with which it was authorized. It's worth making it the first call of any conversation.
Second: your VPS is an LXD container inside a shared parent host. That machine above has the public IP, the nginx that terminates HTTPS, the certificates and the port redirects — and you don't have access to it. Your VPS is what's inside: processes, services, tasks, users, databases, code. The division matters especially when publishing ports or domains, and it has its own section below.
Tools covered: listar_planes_vps, listar_empresas, crear_vps, listar_vps, ver_vps, editar_vps, controlar_vps, cambiar_plan_vps, ver_estado_vps, ver_operacion, ejecutar_comando_vps, redeploy_repo_github, listar_usuarios_vps, crear_usuario_vps, editar_usuario_vps, ver_usuario_vps, ver_estado_red_vps, listar_redirecciones_vps, crear_redireccion_vps y eliminar_redireccion_vps.
Setting up a new server
listar_planes_vps — "What plans are available?" Returns the plans available for your user with their CPU, RAM and disk, each with its plan_id and an eligibility block that says whether today it can be created with that plan and, if not, why. It is the mandatory prior call, because creating and resizing request that id, not a name: there is no "medium" plan, there is plan 3. Typical use: a new client arrives and you want to know which option fits a small WordPress without oversizing.
crear_vps — "Create a VPS for the client's store" Creates the machine within a company, starting from a company_id and a plan_id. Three things worth knowing:
- It is for administrators. Only a company admin (or a system admin) can create a VPS. If your user is a regular member, the call is rejected.
- Come back soon, but the server is not ready. It returns
status: "creating"and anoperacion_id, and provisioning continues in the background for several minutes: the container is created, the base system is prepared, the DNS name is assigned, and theadminuser is created. When finished, SSH remains open for 6 hours and whoever created it receives an email with the access details. To check if it has finished,ver_operacionis queried with that id (it says what stage it is at); to see how the machine is doing,ver_estado_vps. - If your session is limited to certain VPS, the newly created one will not be visible to that agent until its owner adds it to the connection scope.
Typical use: start a project on a Monday morning and instead of filling out a form, you ask for it in one sentence while continuing to talk about the rest of the plan — knowing that in a few minutes you will have to ask again if it is ready.
listar_vps — "What active servers do we have?" Returns the machines of a company, respecting the visibility of each one (the allowed and excluded member lists). Typical use: monthly infrastructure review, to detect servers that were left on without an associated project.
ver_vps — "Tell me everything about the production VPS" Full machine profile. If the asker is a company admin, it also includes access lists. Typical use: when someone new joins the team and needs to understand what each server is without asking for panel access.
editar_vps — "Rename it to 'api-produccion' and give Ana access" Changes the name, moves the machine to another company, or manages who sees it: adds and removes people from allowed and excluded lists, always with people who are already members of the VPS company. Company administrators only. Watch out for one detail: moving the VPS to another company resets the access lists. Typical use: when an internal project starts being billed to a client and resources need to be reassigned.
What's missing, and it's on purpose: there is no tool to delete a VPS. No MCP agent can delete a machine, regardless of scope or whether they are an admin. It is on the list of permanently prohibited operations, along with deleting an entire project and touching project members, among others. Decommissioning a server is a decision made in the panel, with a human watching.
Operating the server on a day-to-day basis
controlar_vps — "Restart the staging server" Turns on, shuts down, or restarts a machine (action: start, stop, restart). Company administrators only, and for good reason: stop and restart interrupt everything that is running. Typical use: the classic "something weird froze after the deploy", resolved without opening the console or looking for the button.
cambiar_plan_vps — "It's just short on RAM, I'll upgrade the plan" Resizes CPU, RAM, and disk. Requires the plan_id from listar_planes_vps, and is also for administrators only. Typical use: a marketing campaign spikes traffic and you need to scale before the weekend, not on Monday.
ver_estado_vps — "How is the server right now?" Live system status (CPU, memory, disk, uptime, running services), taken directly from the machine, plus saved data (plan, IP, domains, status). It is the only tool to know how a VPS is doing: the old ver_stats_vps no longer exists and what it returned is here, in system_status. Typical use: first stop when a client writes "the site is slow" and you need a diagnosis in thirty seconds, or to justify with data whether it is worth upgrading the plan.
ver_operacion — "Is it done creating?" Tells whether a long operation (creating a VPS, cloning a repo, activating a domain with SSL) has finished, with estado in progress, ok or error, and how long to wait before asking again. Typical use: not guessing when the new machine is ready.
ver_estado_red_vps — "How is this machine's network?" Network interfaces, WireGuard peers, Tailscale IP. It is notably slower than the rest because it connects to the VPS at that moment: it can take up to twenty seconds. Typical use: when two servers need to see each other and something in between is not connecting.
redeploy_repo_github — "Pull the latest from main and redeploy" Triggers a git pull and redeployment of a repo already linked to the VPS. It returns right away: the pull runs in the background and the status is queried later with ver_repo_github_vps.
ejecutar_comando_vps: the tool you should use less
Runs a one-off shell command on the VPS and returns its output. It is not a terminal: the persistent terminals in the web panel are for people, the MCP does not reach them, and nothing launched here shares state with them. The parameter is called script.
And here goes the most important piece of advice in this guide, which is the one the tool gives about itself: if there is a dedicated tool for what you want to do, use that. A shell can do almost everything the other tools in this series do —apps, systemd, tasks, users, domains, nginx, redirects, databases, deploys— and going through the shell is worse for three concrete reasons:
- Protections do not run.
eliminar_servicio_vpsrefuses to delete a critical service;ejecutar_ddl_db_vpsmakes you name the object you are about to destroy.systemctlandpsqltyped here do neither of those things. - The activity log loses the verb. In the VPS activity log, this tool leaves a single generic line, "command executed";
eliminar_servicio_vps, on the other hand, notes which service. The command text does remain, but elsewhere: the command history (ver_historial_comandos_vps), with the command (secrets tagged redacted), the exit code, who launched it, and which person authorized the agent, for 30 days. Whoever reads only the activity log sees that an agent executed something, not what. - It returns text to parse instead of structured fields with ids that you can pass to the next call.
Reserve it for what truly has no tool: reading a file, running a build, inspecting something loose.
The house rules, which are good to know before running into them:
- Commands that appear destructive are rejected.
rm -rf,mkfs,ddagainst a device,shutdown,reboot,DROP DATABASE, fork bombs: returns a 409 with what matched, and must be resent withconfirmado=True.userdelanddeluserare rejected even when confirmed: that's whateliminar_usuario_vpsis for. It's a net against accidents, not a security barrier — anyone who can open a shell can bypass it. - Output is truncated to 20,000 characters, keeping the beginning and the end. When this happens,
truncated: trueis included. The solution is to filter within the command itself usinggrep/head/tail, not to repeat it hoping for less output. - Timeout is limited to 300 seconds. The VPS agent kills anything that exceeds that, so waiting longer doesn't help. For a longer one-off job, don't send it to the background with
nohup ... &(it dies when the VPS agent restarts): launch it as a transient unit withsystemd-runand check its log in another call. What needs to keep running or repeat goes in a registered service or scheduled task. - Maximum 20 commands per second per VPS.
- The working directory is remembered between calls (
persistente, enabled by default): acd /appfollowed bynpm installruns where you expect. Only the directory persists — environment variables and background processes do not, because each call is still its own shell. - Output arrives marked as untrusted content. What a command prints was written by anyone — a log, a file, a network response — so the server delivers it to the AI as data, never as instructions.
Typical reasonable use: reviewing a configuration file, checking what version is installed, seeing what is listening on a port. Typical use to avoid: restarting a service with systemctl when controlar_servicio_vps exists.
Linux users
listar_usuarios_vps — "Who has an account on this server?" Lists the Linux accounts on the machine. Typical use: quarterly access audit, or checking who still has an account after someone left the team. Every new machine starts with an admin user with sudo, created during provisioning, who must change their password on first login.
crear_usuario_vps — "Create an account for the new developer, with sudo" Creates a Linux account with a password, with or without administrator permissions, and by default requires changing the password on first login (force_password_change, enabled unless you disable it). Typical use: onboarding. Instead of an SSH session and three commands, it's a single phrase.
editar_usuario_vps — "Change their password and remove their sudo" Updates the password or sudo group membership — at least one of the two is required. Typical use: credential rotation, or reducing permissions when someone changes roles.
ver_usuario_vps — "What permissions does this account have?" Details of a specific user. Typical use: confirming before a deployment that the service account has what it needs and nothing more.
Ports: where your application is actually published
This is the part where the two-layer architecture stops being a detail and becomes the only thing that matters.
Your VPS does not have its own public IP. The IP that the internet sees is that of the parent host, shared with other VPSs. A "redirection" is a proxy device that the host creates against your container: it opens a port of its own and connects it to a port inside your machine.
internet → IP del host padre : <puerto del host> → tu VPS : <puerto del contenedor>
You do not choose the host port: it is assigned automatically from the free range. You specify which internal port you want to publish; the system returns which external port it is accessible through. That is why the creation response is the data you need to save.
listar_redirecciones_vps — "Which ports are exposed?" Shows the configured TCP and UDP forwards, each with its host_port and its container_port, plus the host IP. Typical use: security review, to find ports that were opened for a test and remained open. Two things you will notice: the redirections used by the platform itself are marked as such, and the SSH one is marked separately with its expiration.
crear_redireccion_vps — "Expose port 3000 of the app" Creates forwarding against an internal port of the VPS (container_port, TCP by default) and opens the host firewall for the port it assigned; by default it accepts connections from any IP, and an admin can limit them with cambiar_politica_ip_puertos_vps. Typical use: expose a non-web service (a game, a broker, a TCP API) or a demo environment. For a website with a domain it is not necessary: the domain published with activar_dominio_vps reaches the nginx inside the VPS, and if it returns 502 what is missing is the server block of that nginx, not a forwarding.
Two behaviors worth knowing:
- It is idempotent. If a forwarding already exists against that same port and protocol, it returns the one that was already there instead of creating another.
- There are ports that never go out to the internet this way. The ArduMaker agent port, the PostgreSQL port (5432), the MySQL/MariaDB port (3306) and the Redis port always remain restricted to the platform's private network, even if you request the forwarding. If you want to reach your database from outside, the way is an SSH tunnel or, if the database was installed as an app, its external access with allowed IP list (
ver_acceso_app,cambiar_lista_ip_app), not a forwarding.
SSH is a special case, and it is the most used one. A newly created VPS has SSH open for 6 hours; after that period it closes automatically. To reopen it, a redirection is created against port 22, and there you can pass closed_in_hs, which closes it automatically after N hours. It is the correct way to give temporary access to someone without relying on them remembering to ask you to close it. Without that parameter, it remains open until you delete it.
eliminar_redireccion_vps — "Close the demo port, it's over" Deletes a specific forwarding, by the device_name that comes from listar_redirecciones_vps. It is the counterpart of the previous one, and the reason why it is convenient to request it at the same time the demo ends.
TÚ: Se quejan de que la API va lenta. Fijate qué pasa.
IA: ver_contexto_inicial() -> empresa 3, VPS visibles: 14 (api-produccion), 9, 7
ver_estado_vps(company_id = 3, vps_id = 14) -> carga alta, memoria al 94%, disco al 88%
ejecutar_comando_vps(company_id = 3, vps_id = 14, script = "ps aux --sort=-%mem | head -5") -> la API ocupa casi toda la RAM, sin procesos colgados
"La máquina está sin memoria y el disco va por el 88%. No hay nada roto: el plan actual se quedó corto."
TÚ: Subila un plan y reiniciá.
IA: listar_planes_vps(company_id = 3, vps_id = 14) -> [{ "id": 2, "nombre": "..." }, { "id": 3, ... }]
cambiar_plan_vps(company_id = 3, vps_id = 14, plan_id = 3) controlar_vps(company_id = 3, vps_id = 14, action = "restart") -> { "status": "running" }
"Listo. Ahora tiene el doble de RAM y ya está arriba. Aviso: cambiar plan y reiniciar son acciones de admin de la empresa — si tu usuario no lo fuera, las dos habrían sido rechazadas y te lo habría dicho antes de intentar."
Frequently Asked Questions
Do I need to know Linux to manage a VPS like this? It helps, but it's not essential for common tasks. You can ask "check if the disk is full" without knowing that translates to df -h.
Can AI delete a server? No. No MCP agent can delete a VPS, regardless of its scope. It's on the list of permanently prohibited operations, along with deleting an entire project, touching project members, and manipulating attachments marked as secret, among others. Shutting down is possible, if authorized by a company admin; deleting, there is no way.
Can AI shut down a server by mistake? It only acts when you ask it to, only on machines your user could already manage, and turning on, shutting down, or restarting are actions reserved for company admins. If you additionally authorized the session in read-only mode, not even that.
Can I keep using SSH normally? Yes. A new VPS comes with SSH open for 6 hours; after that, it opens again with crear_redireccion_vps against port 22, and it's advisable to pass closed_in_hs so it closes automatically. You'll enter through the parent host IP and the port assigned to you, not port 22.
Why can't I connect to my database from outside with a redirection? Because 5432, 3306 and the Redis port remain restricted to the private network even if you create the redirection: it is a security decision. Use an SSH tunnel or, if the database is an installed app, its external access with a list of allowed IPs.
Why do all tools ask for company_id? Because VPSs belong to a company. listar_empresas gives you the IDs, and ver_contexto_inicial gives you the full map of one.
How do I connect the MCP? By adding the server https://mcp.ardumaker.com/mcp in a client compatible with the MCP protocol and authorizing it with your ArduMaker account.
This guide is part of a series on the ArduMaker MCP tools. Each article covers a work area with real examples of everyday use.