Start with the processes that run locally. An agent that calls a model API may spend most of its time waiting for a response. A second worker using Playwright can consume several times the memory because it starts a browser and additional page processes. A local model changes the calculation again. Measure resident memory, queue depth, disk usage and time to finish one representative job. Then choose a customer cloud machine, compatible site host or available regional provider node that fits those measurements.
| Placement | Infrastructure payer | What to specify |
|---|---|---|
| Existing cloud account | Your organization pays the provider directly | Region, VM class, volume, public address, inference API costs and transfer |
| Customer site | Your organization operates the hardware and uplink | CPU, memory, power, snapshots and how the machine restarts after an outage |
| Managed external node | SAU quotes the selected external provider configuration | Exact region, machine, recurring price, included services and availability |
Measure the cost of the model separately from the worker that calls it. A model request may generate many billable tokens while the host consumes little CPU. A browser-heavy workload can show the opposite profile. Compare regional specifications and the transfer path in the DigitalOcean, Hetzner or Akamai account you intend to use. Workspace management pricing explains the fee for customer-registered machines.
| Workload | Trial size | Measurement that decides the next change |
|---|---|---|
| Webhook and scheduled API requests | 2 vCPU and 2–4 GB memory | Time waiting on services, retries and queue depth |
| One interactive browser worker and application process | 4 vCPU and 8 GB memory | Peak browser process tree and duration of a complete job |
| Parallel isolated builds or document processing | 8 vCPU and 16 GB memory | CPU saturation, disk throughput and aggregate memory at the intended concurrency |
| Local model inference | Model- and accelerator-specific | Model weights, context cache, runtime overhead and acceptable response time |
These are trial configurations. Run real jobs before estimating how many workers the machine can support. Leave room for the operating system, updates, logs and recovery.
When engineering teams move an AI agent prototype from a developer laptop to cloud production, three systems-level realities emerge immediately:
[ External LLM APIs: Anthropic Claude / Google Gemini / OpenAI ]
^
| Outbound HTTPS (TLS 1.3)
+------------------------------|----------------------------------------+
| ServersAreUp Linux VPS (Ubuntu 24.04 LTS — Private VLAN 10.0.x.0/24) |
| |
| 1. Agent Supervisor (LangGraph / OpenClaw / Claude Code / Dify) |
| - Listens on 127.0.0.1 or Private WireGuard Mesh (172.30.x.0/24) |
| 2. Ephemeral Tool Sandbox (Rootless Docker --cap-drop=ALL --pids=128)|
| 3. Vector & Session State (pgvector / Qdrant / SAU Cloud DB) |
| 4. Infrastructure Control Loop -> Scoped PAT to /api/v1 & /api/mcp/v1|
+-----------------------------------------------------------------------+
/api/v1 and /api/mcp/v1: Infrastructure Built for AI AgentsThe public REST API and hosted MCP endpoint expose workspace-scoped management operations. Start with a read-only token and list the resources and tools available to that token. Add individual privileges only for a specific operational need. Availability depends on the machine, its placement and the authenticated workspace.
Current status (updated 2026-10-10): Taking a snapshot or a backup, deleting a snapshot, rebuilding a server (Windows, and the Linux plans), and restoring a snapshot of a Linux plan server each answer 202 with a tracked provider command, and so does moving a Linux plan server up to a larger plan of its family.
You can issue Claude Code, Cursor, Codex, your own custom agent, or plain curl a narrowly scoped Personal Access Token (PAT) to inspect an existing server, execute a governed lifecycle command, and poll verified state—without ever exposing your account password or billing credentials.
/api/v1 Surface for Agentic Infrastructure Workflows| Capability | Endpoint | Governed Behavior |
|---|---|---|
| Instance inspection & lifecycle | /api/v1/instances/{id} |
Inspect an existing instance, update metadata, or delete it; dedicated sub-routes handle accepted power, telemetry, shell/file, and port-forward operations |
| OS Rebuild | POST /api/v1/instances/{id}/rebuild |
Reinstall the operating system a server was bought with (Windows, and the Linux plans); answers 202 with the provider command (a server from an older plan answers 501) |
| Resize or change infrastructure | Inspect the selected machine and its provider capabilities; review its cost before requesting a change | Keep the quote, approval and returned operation receipt together |
| Snapshots & Backups | POST /api/v1/instances/{id}/{snapshots|backups} |
Take a crash-consistent snapshot or backup before a risky package upgrade; answers 202 with the provider command |
| Ephemeral SSH Leases | POST /api/v1/instances/{id}/ssh-leases |
Mint a short-lived (60–3600s) Ed25519 SSH key lease that expires automatically after the task finishes |
| Port Forwards | POST /api/v1/instances/{id}/port-forwards |
Publish or restrict an internal port on your public allocation |
| Host Telemetry | GET /api/v1/instances/{id}/metrics |
Query RRD-backed CPU, memory, disk, and network time-series metrics |
| Bulk Power | POST /api/v1/bulk/power |
Start, stop, or restart up to 50 instances in one atomic batch |
| Signed Webhooks | POST /api/v1/webhooks |
Subscribe to *, instance.created, or instance.deleted; payloads carry HMAC-SHA256 signatures |
| Catalog & Pricing | GET /api/v1/catalog |
Query source-authorized products and templates with explicit commercial-availability fields |
| Billing & Bandwidth | GET /api/v1/usage |
Inspect current invoice items, active subscriptions, and outbound transfer usage |
202 Accepted Command Receipts Prevent Agent Retry StormsThree architectural choices make /api/v1 and /api/mcp/v1 dramatically safer for autonomous LLM tool-calling than legacy cloud APIs:
camelCase field names and explicit ISO-8601 timestamps, eliminating schema-guessing token waste inside LLM context windows./account/api-keys with granular scopes (instances:read, instances:power, instances:exec) and an expiration date. Revoking one agent's token leaves human sessions and sibling pipelines untouched.202 Accepted): Hypervisor mutations (restarting a guest, snapping a disk, resizing a flavor) take seconds in physical reality. APIs that lie with an immediate 200 OK before hypervisor work finishes cause AI agents to run health checks 200 milliseconds later, observe the old broken state, and hallucinate repeated destructive retries. Returning 202 Accepted with a durable command receipt lets the agent observe genuine state convergence.Here is the clean conversational pattern when Claude Code operates through /api/mcp/v1 or /api/v1:
You: "Claude, check my staging server
cm45xyz, take a snapshot before restarting it, issue a restart, and verify health."
Claude:
GET /api/v1/instances/cm45xyz/status
POST /api/v1/instances/cm45xyz/snapshots
POST /api/v1/instances/cm45xyz/power {"action":"restart"}
(waits for the tracked command to complete, re-runs the health probe, and reports verified recovery)
And here is the exact equivalent using curl from an automated CI/CD or Python/TypeScript watchdog script:
# 1. Inspect current instance power state & CPU/RAM telemetry
curl -fsSL https://serversareup.com/api/v1/instances/cm45xyz/metrics \
-H "Authorization: Bearer ${SAU_API_TOKEN}"
# 2. Issue an accepted restart command (returns HTTP 202 with command state)
curl -fsSL -X POST https://serversareup.com/api/v1/instances/cm45xyz/power \
-H "Authorization: Bearer ${SAU_API_TOKEN}" \
-H "Content-Type: application/json" \
-d '{"action":"restart"}'
Configure the endpoint documented in the MCP guide for your client. For an authenticated request, use the workspace token with the narrow scopes needed for that session. Call tools/list to inspect the currently available names and input schemas. This protects a client from assuming an older tool inventory or using a write operation that its token cannot authorize.
{
"mcpServers": {
"serversareup": {
"type": "http",
"url": "https://serversareup.com/api/mcp/v1",
"headers": {
"Authorization": "Bearer ${SAU_API_TOKEN}"
}
}
}
}
We assume your AI assistant is well-intentioned while the public internet is adversarial. Outbound webhook URLs pass through the platform's strict SSRF validation boundary (blocking RFC 1918, loopback, and link-local metadata ranges), every route enforces scoped authorization and bounded token-bucket rate limits, and governed mutations record cryptographic caller identity in AuditLog where implemented by the accepted route contract. Do not treat this article as a blanket promise that every historical or unshipped route emits an event; the accepted v1 surface is documented route by route in /docs/api/v1 and machine-readable via /llms.txt and /llms-full.txt. If you spot a discrepancy, reach us via /contact.
Try one representative browser job on a 4 vCPU, 8 GB Linux machine, then measure peak resident memory and queue delay at normal concurrency. A small API-only worker can need much less. Model inference, several parallel browsers or local indexing can need more. Confirm the provider quote and repeat after an application or model change.
Yes, provided the machine and the application support the intended runtime. Install the application under an account you control and use a supported enrollment path to manage the machine. Back up application state and test restart behavior before leaving the worker unattended. The provider bills the machine and network. Your SAU workspace covers management of the registered node.
A worker that calls a hosted model API may spend most of its time on networking, scheduling or browser automation. Measure those tasks on the intended machine. Local inference has a separate accelerator and memory requirement. Obtain the actual compute and model quotes from their respective suppliers.
Connect to the documented endpoint using the intended workspace identity, call tools/list and inspect the returned schemas. A public discovery operation and an authenticated instance command have different requirements. A credential authorized for one organization should only act within that organization.
Begin with the private administrative and database paths required by the application. Inspect the external firewall, guest listeners and any public webhook or web route separately. Test access from an approved client, and confirm that the browser session reaches the guest whose identity you expected.
Explore With AI & Cite This Page
Open a grounded prompt in your AI assistant or copy a clean Markdown, HTML, or APA reference link.
Validate protocols and subnets directly in your browser or continue reading related architecture notes.
Linux, Windows & Game Server Hardening Checklist
MCP Security & Prompt-Injection Scanner
Cloud Cost & Infrastructure ROI Calculator
Dedicated MCP Server Hosting Architecture: Running Model Context Protocol Servers in Production
Production reference architecture for hosting Model Context Protocol (MCP) servers over Streamable HTTP (/api/mcp/v1) and SSH Stdio with systemd sandboxing, unbuffered reverse proxies, and scoped token boundaries.
How to Package, Host, and Register a Production Model Context Protocol (MCP) Server in 2026
Complete engineering blueprint for shipping a stateless Streamable HTTP MCP server with SEP-1649 /.well-known/mcp/server-card.json discovery, scoped Bearer/OIDC tokens, and listing it across official MCP registries.
AI agent infrastructure and Streamable HTTP MCP: worker isolation and scoped discovery
Design an MCP integration with scoped discovery, persistent workers, authorization checks and streaming timeouts on the external infrastructure that operates the workload.
AI agent protocols explained: MCP tool discovery, A2A, llms.txt and SKILL.md
Compare MCP tool discovery and scoped calls with A2A agent delegation, agent cards, llms.txt and skill documents.