# SAIR

> SAIR is a freemium MCP server for developer tools. Run Android instrumented tests on real phones or lease a device from an agent. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** CLI, API
- **Website:** https://sair.run
- **Repository:** https://github.com/compscidr/sair
- **MCP Registry name:** io.github.compscidr/sair
- **Categories:** developer tools
- **Listing updated:** 2026-11-14

## About

SAIR started as a way for CI jobs to share physical Android phones without colliding: a job takes a lock, waiting jobs queue, and ADB traffic is routed through a proxy. The MCP server, sair-mcp, extends that to coding agents so they can test on real hardware without having adb or a proxy on their own machine.

In one call an agent can upload an app APK and a test APK and get back per-test results, instrument output and a logcat tail. Or it can lease a phone, install an APK, run shell commands, take screenshots and read logcat. Each lease length depends on plan: 15 minutes on Free, up to 4 hours on Enterprise.

It talks to SAIR's agent API using a key from the dashboard, ships as a Go binary and as an MCP bundle for Claude Desktop, and the same service has a GitHub Action for ordinary CI. SAIR positions itself against Firebase Test Lab and AWS Device Farm on cost, and the pricing page compares them.

## Features

- **One-call test runs:** Upload app and test APKs and receive per-test results and logcat.
- **Device leasing:** Lease a phone for installs, shell commands, screenshots and logs.
- **No local adb:** The agent machine needs neither a proxy nor adb.
- **Device locking:** Queues and locks stop CI jobs from interfering on the same phone.
- **GitHub Action:** Drop-in acquire and release steps around gradlew connectedCheck.
- **Failure visibility:** Jobs link to their CI run with ADB commands and optional screenshots or video.

## Good for

- Let a coding agent verify a change on a real phone
- Run connectedCheck in CI on phones you own
- Reproduce a bug by installing an APK and reading logcat
- Share a few test phones across many repositories
- Replace per-minute device cloud billing

## Install

### Claude Code (Terminal)

```sh
claude mcp add sair --env SAIR_API_KEY='<SAIR_API_KEY>' -- npx -y https://github.com/compscidr/sair/releases/download/v0.1.36/sair-mcp.mcpb
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "sair": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/compscidr/sair/releases/download/v0.1.36/sair-mcp.mcpb"
      ],
      "env": {
        "SAIR_API_KEY": "<SAIR_API_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "sair": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/compscidr/sair/releases/download/v0.1.36/sair-mcp.mcpb"
      ],
      "env": {
        "SAIR_API_KEY": "<SAIR_API_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "sair": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/compscidr/sair/releases/download/v0.1.36/sair-mcp.mcpb"
      ],
      "env": {
        "SAIR_API_KEY": "<SAIR_API_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "sair": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/compscidr/sair/releases/download/v0.1.36/sair-mcp.mcpb"
      ],
      "env": {
        "SAIR_API_KEY": "<SAIR_API_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "sair": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/compscidr/sair/releases/download/v0.1.36/sair-mcp.mcpb"
      ],
      "env": {
        "SAIR_API_KEY": "<SAIR_API_KEY>"
      }
    }
  }
}
```

## Tools

- `run_tests`: Uploads app and test APKs and returns per-test results, instrument output and a logcat tail.
- `list_devices`: Lists phones the key may use.
- `lease_device`: Takes a phone and returns a lease id.
- `install_apk`: Installs an APK on the leased phone.
- `shell`: Runs a command and returns output and exit code.
- `screenshot`: Returns a PNG of the screen.
- `logcat`: Returns recent logcat lines.

## FAQ

### What does it need to run?

A SAIR_API_KEY from the dashboard; SAIR_API_URL is optional.

### How is it installed?

With go install, a release tarball, or the sair-mcp.mcpb bundle for clients like Claude Desktop.

### Is there a free tier?

Yes: 2 devices, 10 jobs a day and agent leases up to 15 minutes.

### Is a self-hosted option offered?

The Enterprise plan lists a self-hosted option.

### Is SAIR free?

SAIR has a free plan, with paid plans for more usage or features.

### How do I add SAIR to Claude Code?

Run this command in your terminal: claude mcp add sair --env SAIR_API_KEY='<SAIR_API_KEY>' -- npx -y https://github.com/compscidr/sair/releases/download/v0.1.36/sair-mcp.mcpb

### What are the best alternatives to SAIR?

The closest alternatives to SAIR are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

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