# Runlease

> Runlease is an open-source MCP server for cloud and infrastructure. Leased spot VMs for coding agents, launched in your own GCP or AWS account. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Linux, macOS, Windows, API, Self-hosted
- **Website:** https://runlease.online
- **Repository:** https://github.com/marshal-org/runlease
- **MCP Registry name:** io.github.marshal-org/runlease
- **Categories:** [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure), [agent hosting](https://ai-powered.com/categories/agent-hosting)
- **Listing updated:** 2026-11-18

## About

Runlease gives a coding agent, a CI job or a developer a short-lived Linux machine that runs at spot prices inside the user's own Google Cloud or AWS account. The CLI generates the SSH keys on the user's machine, and the VM dials out to a relay that carries encrypted sessions without holding keys. Each machine carries its own timer and deletes itself when its lease ends, so no separate scheduler or server is needed to clean up.

The README describes a single Go binary with commands to bring a machine up, run commands on it, forward ports, copy files and extend or delete a lease. It also includes an MCP mode, so an agent can launch and return machines through typed tools. Machines have no public address by default, and the CLI shows the hourly price and projected lease cost before launch.

The project is aimed at developers and teams who want a real machine for a build, a test run, untrusted code or a short GPU job without leaving resources running. It is Apache-2.0 licensed and can use the public relay or a self-hosted one. The README notes it is pre-1.0, and Azure is not yet supported.

## Features

- **Spot VMs in your account:** Machines launch in your own GCP or AWS project, under your network and IAM settings.
- **Self-deleting leases:** Each VM has an on-machine timer that removes it through the cloud API when the lease expires.
- **Keys stay local:** SSH keys and the VM host key are generated on your computer, and the relay never holds them.
- **No public address by default:** The VM's SSH server listens on localhost and connects out through a relay tunnel.
- **MCP server mode:** The runlease mcp command exposes the same operations as typed tools for MCP-compatible agents.
- **Port forwarding and file copy:** Forward ports to localhost and push or pull files between your machine and the VM.

## Good for

- Give each coding agent its own machine to build and test code
- Run untrusted code or unfamiliar install scripts away from your laptop
- Borrow a large machine at spot prices for one heavy build or test suite
- Run several short-lived test shards in parallel without manual cleanup
- Rent a GPU for an evaluation or fine-tune with a fixed time limit

## Install

### Claude Desktop (Claude Desktop → Settings → Extensions)

```text
https://github.com/marshal-org/runlease/releases/download/v0.10.0/runlease-darwin-amd64.mcpb
```

Download the bundle and open it with Claude Desktop, or drag it onto Settings → Extensions and click Install. This server is only published as a Claude Desktop bundle.

## FAQ

### Which clouds are supported?

The README lists Google Cloud and AWS as supported. Azure and other providers are not implemented.

### Do I have to use the public relay?

No. The README says you can use the public relay, run your own, or use no relay and connect directly, or use runlease iap on GCP or runlease ssm on AWS.

### What does the public relay cost and limit?

The README says the public relay is free with a Google sign-in and a limit of two machines at once.

### Can the relay read my sessions?

The README states the relay carries SSH, holds no keys, and cannot read, alter or impersonate a session.

### What are the best alternatives to Runlease?

The closest alternatives to Runlease are Idlefy, Runtime Cloud, Luxor Sandbox MCP, rent.dev and aicommander.dev.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Idlefy](https://ai-powered.com/mcp/idlefy): Idlefy is a freemium MCP server for cloud and infrastructure.
- [Runtime Cloud](https://ai-powered.com/mcp/runtime-cloud): Runtime Cloud is a paid MCP server for cloud and infrastructure.
- [Luxor Sandbox MCP](https://ai-powered.com/mcp/luxor-sandbox-mcp): Luxor Sandbox MCP is a paid MCP server for cloud and infrastructure.
- [rent.dev](https://ai-powered.com/mcp/rent-dev): rent.dev is a paid MCP server for cloud and infrastructure.
- [aicommander.dev](https://ai-powered.com/mcp/aicommander-dev): aicommander.dev is a freemium MCP server for developer tools.
- [ParalonCloud](https://ai-powered.com/mcp/paraloncloud): ParalonCloud is a paid MCP server for cloud and infrastructure.
- [Agentmetal](https://ai-powered.com/mcp/agentmetal): Agentmetal is a paid MCP server for cloud and infrastructure.
- [Shell](https://ai-powered.com/mcp/shell): Shell is a free MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/runlease
