# Machines MCP server

> Start, pause, resume, and run commands or file operations within Linux sandboxes.

- Repository: https://github.com/pollinations/pollinations
- Page: https://hostedmcp.org/servers/pollinations/machines
- Transport: remote
- Stars: 5302
- License: MIT
- Latest version: 1.1.0

## Install

### Claude Code

```sh
claude mcp add --transport http machines https://gen.pollinations.ai/mcp/machines
```

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

```json
{
  "mcpServers": {
    "machines": {
      "url": "https://gen.pollinations.ai/mcp/machines"
    }
  }
}
```

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

```json
{
  "servers": {
    "machines": {
      "type": "http",
      "url": "https://gen.pollinations.ai/mcp/machines"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"machines","type":"http","url":"https://gen.pollinations.ai/mcp/machines"}'
```

### Codex

```sh
codex mcp add machines --url https://gen.pollinations.ai/mcp/machines
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.machines]
url = "https://gen.pollinations.ai/mcp/machines"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http machines https://gen.pollinations.ai/mcp/machines
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "machines": {
      "url": "https://gen.pollinations.ai/mcp/machines",
      "type": "http"
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `GITHUB_TOKEN` | no | no |  |
| `POLLINATIONS_API_KEY` | no | no |  |

## FAQ

### How can I access the sandboxes?

Sandboxes can be opened using SSH or VS Code.

### Are there different sandbox templates available?

Yes, there are E2B and Azure templates available with different sizes and pricing.
