# Spawner MCP server

> Manages self-hosted preview environments from Docker Compose files for teams and coding agents.

- Repository: https://github.com/Flosk6/Spawner
- Page: https://hostedmcp.org/servers/flosk6/spawner
- Transport: stdio
- Stars: 0
- License: Apache-2.0

## Install

### Claude Code

```sh
claude mcp add spawner -- npx -y spawner-cli
```

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

```json
{
  "mcpServers": {
    "spawner": {
      "command": "npx",
      "args": [
        "-y",
        "spawner-cli"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "spawner": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "spawner-cli"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"spawner","type":"stdio","command":"npx","args":["-y","spawner-cli"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "spawner": {
      "command": "npx",
      "args": [
        "-y",
        "spawner-cli"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add spawner -- npx -y spawner-cli
```

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

```toml
[mcp_servers.spawner]
command = "npx"
args = ["-y", "spawner-cli"]
```

### Gemini CLI

```sh
gemini mcp add -s user spawner npx -- -y spawner-cli
```

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

```json
{
  "mcpServers": {
    "spawner": {
      "command": "npx",
      "args": [
        "-y",
        "spawner-cli"
      ]
    }
  }
}
```

## FAQ

### What is Spawner?

Spawner is an open source, self-hosted preview environment manager that creates a copy of your app for each git branch on your own server.

### Does Spawner require Kubernetes?

No, Spawner builds preview environments using your project's Docker Compose file without needing Kubernetes.

### Can coding agents use Spawner?

Yes, Spawner provides an MCP server specifically for coding agents like Claude Code, Codex, and Cursor to manage environments.
