Skip to main content
Servers Are Up
Virtual Datacenter
Pricing
Sign inCreate VDC
Servers Are Up
Virtual Datacenter
Pricing
Sign inCreate VDC
Servers Are UpEncrypted Multi-Provider VDC

Connect your cloud and on-site servers in one encrypted Virtual Datacenter. Open a browser console, recover a backup or automate a deployment from your workspace.

Customer Portal & Services

Client DashboardMulti-Provider VDCMy ServersBYOC & HybridBrowser ConsoleBillingAPI Keys & MCPSupport
SLA with service creditsVirtual datacenterWorkspace pricingRegional placement

Create your virtual datacenter

Connect your first machine or check regional availability in your workspace. Review the monthly price before you order.

Sign up freeView Pricing

Products

  • Linux servers
  • Windows servers
  • Cloud & SaaS Services
  • Cloud Storage (Azure)
  • Virtual Datacenter
  • AI workloads
  • Containers
  • Self-hosted applications
  • Software Platforms
  • Network builder
  • Game Servers
  • Game sponsorship
  • Pricing

Resources

  • Free Network Tools
  • 2026 Pricing Benchmark
  • Live SVG Badges
  • Latency & Speed Test
  • Guides & Tutorials
  • Documentation
  • API Reference
  • MCP Server
  • CLI & SDKs
  • OpenAPI & llms.txt
  • Use Cases
  • Migration guide
  • Uptime & Reliability
  • Datacenter
  • System Status
  • Network
  • Provider Comparisons Hub
  • Compare Providers

Company

  • About Us
  • Enterprise
  • Security Architecture
  • Trust Center
  • Blog
  • FAQ
  • Compliance
  • Startup Program
  • Open-Source Sponsorship
  • Press & Media Kit
  • Referral Program
  • Help Center
  • Contact Us
© Servers Are Up
TermsPrivacySLARefund PolicyDPAAcceptable Use
Service information
Back to Engineering BlogAI Agents & MCP
Engineering Team·Published 2026-05-30·9 min read·Technical Review Verified

Choosing a VPS for AI Agents and Connecting the SAU API

best-vps-for-ai-agents ai-agents api claude
mcp
automation
linux-vps

Engineering Summary & Direct Answer

Choose an external host for a persistent AI worker, estimate CPU and memory from its tools, and inspect a workspace using the SAU REST and MCP interfaces.

Instant 60s deploy · Browser SSH & WebRDP included
Explore MCP access Open the VDC workspaceExplore the virtual datacenter
On this page (6 sections)
  1. What does an AI worker need from its host?
  2. Compare the placement and the bill
  3. Starting sizes for staging tests
  4. Budget a long-running worker
  5. Reference Architecture: Zero-Trust Production AI Agent Host
  6. Inside /api/v1 and /api/mcp/v1: Infrastructure Built for AI Agents
  7. Core /api/v1 Surface for Agentic Infrastructure Workflows
  8. Why Asynchronous 202 Accepted Command Receipts Prevent Agent Retry Storms
  9. Example: Autonomous Pre-Upgrade Snapshot & Verified Restart Loop
  10. Connecting a hosted MCP client
  11. Built-In SSRF Defense, Rate Limits, and Governance
  12. Frequently Asked Questions
  13. What is a sensible first VPS test for a browser worker?
  14. Can I keep long-running application workers in my current provider account?
  15. Do I need an expensive GPU server just to run autonomous AI agents?
  16. How do I discover which hosted MCP tools my client can use?
  17. Which services should the worker expose to the public?

What does an AI worker need from its host?

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.

Compare the placement and the bill

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.

Starting sizes for staging tests

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.


Budget a long-running worker

When engineering teams move an AI agent prototype from a developer laptop to cloud production, three systems-level realities emerge immediately:

  1. Resident memory. Account for the application, browser processes, database and vector index. The advertised VM size includes operating-system memory. Monitor pressure and peak working set during a representative run, especially when a worker is retried and two processes briefly overlap.
  2. Execution windows. A long-running job needs a durable queue entry and a checkpoint if it may exceed a function timeout. Store the last completed step and link external side effects to a request ID. Compare a long-lived worker with the actual function execution limits for the chosen provider.
  3. Predictable Cost Ceilings Against Retry Loops: If an autonomous loop hits an upstream API rate limit and backs off for forty minutes, per-second serverless container billing quietly compounds. Flat monthly KVM billing caps compute cost to the dollar.
  4. Persistent state. Store checkpoints in an account you control or a service with a confirmed delivery arrangement. Record who can restore the database or object, which region holds it, and how retries detect a completed task. Storage options

Reference Architecture: Zero-Trust Production AI Agent Host

[ 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|
+-----------------------------------------------------------------------+

Inside /api/v1 and /api/mcp/v1: Infrastructure Built for AI Agents

The 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.

Core /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

Why Asynchronous 202 Accepted Command Receipts Prevent Agent Retry Storms

Three architectural choices make /api/v1 and /api/mcp/v1 dramatically safer for autonomous LLM tool-calling than legacy cloud APIs:

  1. Consistent, Predictable JSON Schemas: Every resource returns uniform camelCase field names and explicit ISO-8601 timestamps, eliminating schema-guessing token waste inside LLM context windows.
  2. Least-Privilege Scoped Bearer Tokens: Mint a token at /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.
  3. Durable Provider Command Tracking (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.

Example: Autonomous Pre-Upgrade Snapshot & Verified Restart Loop

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

Connecting a hosted MCP client

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

Built-In SSRF Defense, Rate Limits, and Governance

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.


Frequently Asked Questions

What is a sensible first VPS test for a browser worker?

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.

Can I keep long-running application workers in my current provider account?

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.

Do I need an expensive GPU server just to run autonomous AI agents?

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.

How do I discover which hosted MCP tools my client can use?

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.

Which services should the worker expose to the public?

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.

Automation

Connect automation to your workspace

Use scoped API credentials to inspect resources in your Virtual Datacenter. Run application models and workers on your own infrastructure or a qualified supplier node.

Explore MCP access Open the VDC workspace

Explore With AI & Cite This Page

Open a grounded prompt in your AI assistant or copy a clean Markdown, HTML, or APA reference link.

Ask ChatGPT Ask Perplexity Ask Claude
Share:HN·Reddit·X·LinkedIn
Newer Article

Zero-Daemon Operator Toolbox, 1-Click Self-Hosted Apps & Managed Cloud SaaS Architecture (2026)

Older Article

Windows Server licensing: bring your own license

Related Diagnostic Tools & Engineering Guides

Validate protocols and subnets directly in your browser or continue reading related architecture notes.

Free Browser Tool

Linux, Windows & Game Server Hardening Checklist

Launch utility
Free Browser Tool

MCP Security & Prompt-Injection Scanner

Launch utility
Free Browser Tool

Cloud Cost & Infrastructure ROI Calculator

Launch utility

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.

On this page

  1. What does an AI worker need from its host?
  2. Compare the placement and the bill
  3. Starting sizes for staging tests
  4. Budget a long-running worker
  5. Reference Architecture: Zero-Trust Production AI Agent Host
  6. Inside /api/v1 and /api/mcp/v1: Infrastructure Built for AI Agents
  7. Core /api/v1 Surface for Agentic Infrastructure Workflows
  8. Why Asynchronous 202 Accepted Command Receipts Prevent Agent Retry Storms
  9. Example: Autonomous Pre-Upgrade Snapshot & Verified Restart Loop
  10. Connecting a hosted MCP client
  11. Built-In SSRF Defense, Rate Limits, and Governance
  12. Frequently Asked Questions
  13. What is a sensible first VPS test for a browser worker?
  14. Can I keep long-running application workers in my current provider account?
  15. Do I need an expensive GPU server just to run autonomous AI agents?
  16. How do I discover which hosted MCP tools my client can use?
  17. Which services should the worker expose to the public?
Self-Serve Infrastructure

Connect automation to your workspace

Use scoped API credentials to inspect resources in your Virtual Datacenter. Run application models and workers on your own infrastructure or a qualified supplier node.

Explore MCP access Open the VDC workspace