
Antrieb
sh.antrieb由 antrieb.sh 發布官方發布者v1.0.1更新於 Oct 24, 2026
Validates AI infra code on real VMs. Self-corrects until it works. No containers, no sandboxes.
概覽
遠端 MCP 伺服器,讓助理建立一次性的多節點虛擬機叢集,並在其中執行指令、儲存映像或操作手冊、銷毀叢集。
- 可以做什麼
- 依 Linux 發行版與網路設備映像建立最多 4 至 5 個節點的真實虛擬機叢集,可宣告多網路與逐節點網卡拓撲
- 在任一節點執行 shell 指令並取得標準輸出、錯誤輸出與結束碼,並可透過叢集環境變數協調各節點
- 把設定好的節點儲存為可重複使用的映像,或把多節點情境儲存為可執行的 Markdown 操作手冊
- 搜尋映像、操作手冊與使用中叢集的目錄,並取得操作手冊全文
- 刪除叢集,或下架已儲存的映像與操作手冊
- 適用情境
- 適合助理產生基礎設施或網路設定(防火牆規則、路由器設定、Ansible 腳本、Kubernetes 部署)後,需要先在真實虛擬機上驗證再套用到正式環境的情境。也適合測試 DMZ 防火牆、BGP 對等、反向代理等多節點拓撲。
- 執行需求
- 遠端端點 antrieb.sh/mcp,無需本機安裝。網頁版用戶端以 OAuth 登入;其他用戶端需在服務商後台取得免費 API 金鑰,以 Authorization Bearer 標頭送出(Codex 可用 ANTRIEB_TOKEN 環境變數)。需要支援遠端 HTTP 的 MCP 用戶端。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Antrieb,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/sh.antrieb%2Fantrieb/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"antrieb": {
"type": "http",
"url": "https://antrieb.sh/mcp"
}
}
}README
Antrieb MCP Server
Instant disposable clusters for LLM-generated networks and infra.
Say an LLM writes a VyOS NAT config, an OpenWrt firewall rule set, or a bash script to harden a CentOS cluster. Where do you run it before it touches your environment? Antrieb gives the LLM a disposable multi-node cluster, with real VMs and real networking, to try what it generates. Break it, quickly reprovision, try again. No cleanup.
Same OS and appliances your LLM-generated code will target in production: CentOS Stream, Ubuntu, Debian, Alma, Alpine, VyOS, OPNsense, SONiC, OpenWrt. Multi-network topologies with per-NIC assignment. Not a container, not a microVM, not some unknown Linux — the same kernels and packages your real fleet runs.
Root access, private networking, passwordless SSH between nodes. Ten minutes per cluster. Clean slate every time. Instant clusters that change the economics of being wrong for LLMs.
Quick Start
Antrieb is a remote MCP server. Nothing to install. Add it to your config and start provisioning.
Claude Web / ChatGPT
With web-based AI clients, add Antrieb as a custom connector.
In claude.ai: go to Settings → Connectors, click Add custom connector. Enter:
- Name:
Antrieb - URL:
https://antrieb.sh/mcp
Click Add, then Connect and sign in. Back in your chat, try something like:
Create a 3-node Kubernetes cluster, with node1 running both as control-plane and worker, and node2/node3 as pure workers. Install nginx with 3 pods and pod anti-affinity.
Walkthrough video: https://youtu.be/8nts8ol-yeA
MCP Clients (Claude Desktop, Claude Code, Codex, custom clients)
Get a free API key at antrieb.sh/dash, then add this to your MCP client config (e.g. .mcp.json for Claude Desktop):
Claude Code
Put this JSON in the current folder in a file called .mcp.json. Claude Code will find it automatically.
Codex
Put this TOML content in ./.codex/config.toml. Then set the ANTRIEB_TOKEN environment variable with your API key before launching Codex.
No local install, no dependencies, no Docker.
How It Works
Your LLM controls real VMs through 5 tools:
The LLM drives the entire workflow: provision a cluster, install software command by command, verify each step, and iterate until it works. Antrieb provides the infrastructure; the LLM provides the intelligence.
Example Workflow
Available Images
Base Images
Stack Images
Stack images are custom images created by enriching the base images with additional packages.
Use search to discover all available images with full descriptions, or just specify a distro name and Antrieb picks the right one.
Cluster Networking
Networking is a first-class input to provision, not an afterthought. Every cluster is L2-isolated from every other cluster (even ones you own), with hostname resolution, passwordless SSH between its own nodes, and cluster-scoped env vars auto-injected into every exec call. What varies between runs is how nodes are wired and controlled by the optional networks and nics parameters on provision.
There are two modes: the default network (flat, one-subnet, internet-reachable) and declared networks (first-class multi-subnet, multi-NIC topologies).
Every cluster (both modes)
- Hostname resolution:
node1,node2,node3in/etc/hostson every node. - Passwordless SSH: a per-cluster ed25519 keypair distributed to all nodes.
ssh node2 hostnamejust works. - L2 isolation: nodes across different clusters cannot reach each other, regardless of CIDR overlap or account.
- Env vars on every
exec:NODE_NAME,NODE_INDEX,NODE_IP,CLUSTER_HOSTS(multilineIP NAME— drop-in for/etc/hosts),CLUSTER_SSH_PUBKEY,CLUSTER_SSH_PRIVKEY.
Default network (when networks / nics are omitted)
You get:
- One auto-allocated
/24network nameddefault, one NIC per node, DHCP-assigned IPs. - Egress to the internet via a curated port allowlist (HTTP, HTTPS, DNS, SSH, package managers). Arbitrary outbound is blocked.
- No router VM, no firewall zones, no topology to configure. Nodes talk to each other and to the outside world.
Use this whenever the network isn't what you're testing — application-level work, distro-specific configuration, Ansible playbooks, CI pipelines, Kubernetes-on-three-ubuntus.
Declared networks (multi-network, multi-NIC)
Pass networks and nics when the topology itself is the thing under test: routers, firewalls, DMZs, isolated back-end subnets, dual-homed nodes, BGP meshes.
Contract:
- Each declared network is its own L2 segment with its own DHCP server and its own
/24. CIDRs are auto-allocated when omitted; only/24is supported. egress: true— internet-reachable on the default port allowlist.egress: false— traffic stays inside the network; no default route out.dhcp: true(default) — the platform assigns IPs.dhcp: false— you assign IPs (use this when a router VM owns addressing or you need precise /31 links).- NIC order matters. Each entry in
nics.<node>becomeseth0,eth1, ... in the listed order. .1of every DHCP-enabled network is reserved for the platform bridge gateway. Router VMs should claim.254(or DHCP-client) — assigning.1to a VM causes ARP flip-flop.
This unlocks serious networking work: VyOS / OPNsense firewalls with WAN/LAN zones, SONiC as an L2 switch or L3 router, OpenWrt with its fw3 zone model, nginx behind a reverse-proxy LAN, BGP peering over /31 transit links, hairpin NAT, DNAT port-forwards. Full walkthroughs for each pattern live in the @antrieb/* runbook library.
Reusable topologies should be captured in runbooks. Networks are declared inline during provision; if the same topology matters across scenarios, save the topology, commands, and verification steps together as a runbook.
Example Network Labs
The default antrieb/* runbook library includes verified scenarios such as:
- VyOS: zone-based DMZ firewall, DNAT port forwarding, DHCP/DNS forwarding, DHCP relay, dual-WAN failover, policy-based routing, eBGP, OSPF, VRRP, WireGuard, IPsec, VLAN trunking, QoS shaping.
- SONiC: L2 bridging, L3 routing, VLAN segmentation, inter-VLAN routing with policy, BGP with FRR, OSPF, DHCP relay, LAG, SPAN mirroring, VXLAN L2 stretch.
- OPNsense: DNAT port forwarding, three-zone DMZ, WireGuard road warrior, HTTPS load balancing with HAProxy.
- OpenWrt: home-router NAT, guest-zone isolation, port forwarding, dnsmasq static DHCP and local DNS overrides.
- Service topologies: nginx reverse proxy, Ansible-managed nginx backends with HAProxy load balancing and failover drills.
Runbooks are written as executable proofs: topology, commands, expected packet behavior, and verification steps using tools like tcpdump, route tables, conntrack, BGP/OSPF state, DHCP traces, VPN handshakes, and failover tests.
Runbooks
Runbooks are the way to preserve non-trivial multi-node scenarios, capturing even little gotchas that may be too small to blog about. They're markdown documents with structure the LLM can execute:
## Topology required— cluster shape this applies to (images, networks, NICs)## Variables— placeholders like<LAN_SUBNET>callers substitute at apply time## Steps— numbered; prose explains why, fenced shell blocks are the actual commands, each annotated with the node it targets## Verify— how to confirm success
Save one with save(type: "runbook", session_id: "...", name: "...", body: "...markdown..."). The session_id must point to a session whose exec history demonstrates the runbook. Fetch the body with search(type: "runbook", fq_name: "namespace/name").
Runbooks complement images: an image captures installed state (packages, configs baked into a qcow2). A runbook captures a workflow (the ordered, multi-node actions that produce a working system). Prefer runbooks for anything with more than one node, because a single image can't express coordination between VMs.
Everything you save lives in your org's namespace; the antrieb/* namespace is read-only defaults.
Custom Images
Save any configured node as a reusable image:
- Provision a base image
- Install and configure software via
exec - Call
save(type: "image", ...)with the list of successful commands - Antrieb generates
build-image.sh,startup.sh, and a description - The image is immediately available for future
provisioncalls
Try It Now
No MCP client needed. Use your API key with curl:
Replace
ant_YOUR_KEYwith your API key andabc12...with thesession_idfrom step 1.
FAQ
Why Antrieb?
AI is moving into every layer of operations: cloud, on-prem, legacy systems, security, networking, and edge. Misconfiguring a cloud server is painful. Misconfiguring ten thousand edge devices in the field is catastrophic.
Antrieb is the validation layer between LLMs and Operations. Before AI-generated infrastructure code can touch your environment, it must prove itself in a real, disposable environment that matches the target architecture closely enough to expose operational failure. Same OS, same packages, same behavior. Not a container. Not an approximation. Antrieb is an auditable proving ground for AI-generated operational change.
Why 10-minute clusters?
The 10-minute TTL is not primarily about compute limits. Clusters are fast to recreate. The TTL exists to make validation reproducible and to keep LLMs from accumulating accidental state.
Don't preserve the lab. Preserve the learning.
- State drift: the LLM cannot rely on leftover files, partial fixes, or hidden changes from previous attempts. Each solution must work from a clean slate.
- Reproducibility: If a solution cannot be reproduced on a fresh cluster, it does not count.
- Cognitive drift: long-lived clusters let an LLM overcommit to its first plan. It may keep patching a broken approach because the environment still exists and contains partial progress. A hard TTL creates a forced checkpoint: the LLM must summarize what it learned, discard accidental state, choose a cleaner command sequence, and reproduce the result from scratch.
- Abuse prevention: the TTL also prevents long-running misuse such as scanning, bot activity, mining, or hosting.
Why are clusters immutable?
A cluster's architecture is fixed at provision time: images, node count, networks, and NIC assignments. If the LLM needs a different topology, it should provision a new cluster with a better design.
This prevents architectural drift. Without immutability, an LLM can keep adding nodes, networks, routes, and exceptions until the lab no longer matches the system it was supposed to validate. The result may "work," but only because the environment evolved around the mistakes.
Immutability forces the topology to be an explicit hypothesis:
- Choose the architecture.
- Provision it.
- Test the implementation.
- If the architecture was wrong, discard it and provision a cleaner one.
That keeps the validation target understandable, repeatable, and worth saving as a runbook.
Is it free?
Yes. Get a free API key at antrieb.sh/dash.
What are the resource specs of each VM?
Most Linux base and stack images get 4 vCPUs, 2 GB of RAM, and 20 GB of disk. Network appliances and smaller edge images can differ; search(type: "image") returns the current specs and full image descriptions.
How many nodes can a cluster have?
Up to 4 nodes per cluster. If your topology requires a dedicated controller node (for example, an Ansible control node managing a fleet), one additional node is allowed, bringing the maximum to 5.
How many clusters can I run at once?
Up to 2 concurrent clusters per account.
Do nodes have internet access?
Yes, by default. Every node on the default network has direct internet access, though for security reasons only certain ports are allowed. Package managers, curl, pip, npm: all work as you'd expect. If you declare explicit networks with egress: false, nodes on those networks are fully isolated from the internet.
How long do clusters last?
Authenticated clusters have a hard TTL of 10 minutes. After that they are fully discarded: compute, networking, everything. TTLs cannot be extended. If you ever get the same IP address as a previous session, the VM is completely fresh.
What happens to a cluster when my chat session ends?
The cluster lives until you delete it or its TTL expires. IP addresses can then be reused for future VMs. Your commands are logged separately and remain accessible in your dashboard.
Are VMs truly ephemeral? Could I ever get a dirty node?
Yes, fully ephemeral. Session VMs are never reused between sessions. Once you're done or the TTL expires, they are destroyed. Every node you provision is completely fresh.
Who can see the commands running on my VMs?
Only you. No one else has access to your command history.
Can my LLM accidentally expose sensitive data in command logs?
Please do not include sensitive data such as secrets or credentials in your commands. Command logs are accessible to you via the dashboard, so treat them accordingly.
Are my VMs isolated from other users?
Yes. Nodes within a cluster can reach each other, but a node cannot reach a node in a different cluster, including other clusters you own. To verify this yourself, tell your LLM: "Provision two single-node clusters, get each node's IP, then SSH into each and try to ping the other." You'll see the ping fail.
Can I SSH into a node myself, not just through the LLM?
No. All interactions go through the LLM. Tell it what you want to do and it will do it for you. Everything is conversational.
What data is logged? Do you store my commands?
Yes. All commands are logged and made available to you in your dashboard at antrieb.sh/dash.
Which clients does this work with?
Claude.ai, ChatGPT Web, Claude Desktop, Cursor, Windsurf, and Claude Code. If your client supports remote MCP servers over HTTP, it should work.
Does it work with models other than Claude?
Yes. Antrieb is just an MCP server; the intelligence comes entirely from your LLM. It works with any model your MCP client supports.
How long does a saved image take to be ready?
We target 2 minutes. The maximum is 5 minutes. Runbooks save instantly — they're metadata, not qcow2 images.
Are custom images and runbooks private?
Yes, private by default. To share within a team, go to your profile at antrieb.sh/dash and set a namespace for your organization. From that point on, everything you save is accessible only to members of your org.
How does Antrieb prevent abuse?
- Command logging and AI monitoring. Every command executed on every node is logged. We use AI to aggressively detect and prevent abuse, including crypto mining, DDoS, spam, and unauthorized scanning.
- Cluster limits. Maximum 2 concurrent clusters per user. Up to 4 nodes per cluster.
- Cluster-to-cluster isolation. Nodes within a cluster can communicate. Nodes across clusters cannot, even within the same account.
- Egress port allowlist. Outbound traffic on the default network is restricted to a curated set of ports (HTTP, HTTPS, DNS, SSH, package managers). Arbitrary outbound connections are blocked. Networks declared with
egress: falsehave no outbound path at all.
How is this different from E2B, Morph?
vs E2B: E2B is excellent for code execution sandboxes. It's optimized for running code, not infrastructure. You get a single sandbox, not a cluster, and the environment doesn't match yours at the OS level. If you're testing infra (Ansible playbooks, systemd behavior, SELinux policies, network), you need the real OS and real packages.
vs Morph Cloud: Morph gives your agent a dev environment. Morph's devboxes are great for coding agents building and iterating on software. Antrieb is for infrastructure work, where fidelity to your actual distro matters: Ubuntu, AlmaLinux, Alpine, Arch, SONiC, the same OS you actually run, not a customized devbox.
How is this different from just using a Docker container or GitHub Codespaces?
Docker containers share a host kernel, so you can't reliably test SELinux policies, kernel modules, systemd behavior, or distro-specific package quirks in a container. Antrieb gives your LLM real VMs running the exact same OS you'd run in your environment.
Beyond Linux distros, many network appliances and infrastructure platforms (SONiC, Cisco IOS-XE, Palo Alto, F5, Juniper) only ship as VM images or have limited container availability. When a container version exists, it is almost always a subset of the real thing: missing features, different APIs, incomplete behavior. Tracking what each vendor's containerized version actually supports becomes a problem in itself. With VMs, you run the real appliance image and get full fidelity.
Codespaces is built for humans. You open a browser or editor, click around, and type. Antrieb is built for LLMs to validate their work. Your LLM provisions a cluster, runs commands, reads output, and iterates, all through tool calls in the same conversation. It's the difference between giving your LLM a screenshot to click through versus a direct API.
Tool Reference
provision
Spin up a VM cluster. Returns a session handle, node names, TTL, and how long the provision took. Nodes get private IPs, /etc/hosts entries, and a shared ed25519 keypair for passwordless SSH.
Returns session_id, nodes, provision_time_ms, ttl_seconds, expires_at.
exec
Run a shell command on a specific node. Returns stdout, stderr, and exit code. Every command has access to cluster env vars (NODE_NAME, NODE_INDEX, NODE_IP, CLUSTER_HOSTS, CLUSTER_SSH_PUBKEY, CLUSTER_SSH_PRIVKEY) for coordination across nodes.
save
Persist an artifact. Saved artifacts live in your org's namespace and are immediately available to future provision / search calls.
search
Browse catalogs, or fetch a specific runbook. Two modes: browse (keywords or no params → list of metadata) and fetch (type=runbook, fq_name=namespace/name → single runbook including full body, required before applying it).
delete
Destroy a cluster or decommission a saved artifact. antrieb/* defaults are never deletable.
License
Apache 2.0
來源:README.md,提交 8e0e38a
工具
0版本歷史
1- v1.0.1最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分