
Spawner
io.github.Flosk6Published by GitHub account Flosk6v2.2.1Updated Oct 24, 2026
Preview environments on your self-hosted Spawner server: a copy of your app for each git branch
Overview
MCP server for a self-hosted Spawner instance, letting an assistant create, inspect, run commands in and tear down per-branch preview environments.
- What you can do
- Create and update the preview environment for the current branch from a worktree, uncommitted changes included
- Check environment status, list environments, read resource stats and get environment URLs
- Read environment logs, optionally filtered to error lines
- Run commands inside an environment's services
- Create share links for people without an account, and delete environments
- When to use it
- Useful when a team runs its own Spawner server and wants a coding agent to spin up, debug and clean up preview environments for branches without leaving the editor or chat.
- Requirements
- Node.js 20 or later with the spawner-cli package installed globally, plus a reachable self-hosted Spawner server. Log in interactively with spawner login, or set SPAWNER_URL and SPAWNER_TOKEN for CI or containers. An admin must add the project in the dashboard before the first environment is created.
Installation
In SourceWeft
- Open Spawner in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
spawner-cli
The command line and MCP server of Spawner. Spawner is an open source, self-hosted preview environment manager: a copy of your app for each git branch, on your own server, with its own URLs, database and logs, for teams and their coding agents.
With spawner, developers and coding agents create, update and delete environments from a worktree, uncommitted changes included, run commands in them and read their logs.
Install
It needs Node.js 20 or later, and a Spawner server: install one with a single command. Every server also serves the CLI of its own version at /api/v1/cli/spawner.
Log in
Type the code it shows in the dashboard and approve the login: the CLI stores a personal token. In CI or a container, SPAWNER_URL and SPAWNER_TOKEN replace the login.
Commands
Before the first spawner up of a project, an admin adds the project in the dashboard (Projects, New project). The other commands: status, ls, stats, capacity, url, shell, stop, start, sleep, wake, extend, token, whoami and logout.
Commands print JSON with --json and exit with stable codes: 4 when the environment failed, 6 when the quota or the server's capacity is reached, 7 when .spawner/ was refused.
MCP server
spawner mcp is an MCP server on stdio, with the login and the rights of the CLI. In Claude Code:
In a project's .mcp.json, or Cursor's .cursor/mcp.json:
It has nine tools: spawner_up, spawner_status, spawner_list, spawner_logs, spawner_exec, spawner_stats, spawner_url, spawner_share and spawner_down. spawner_exec and spawner_down are marked destructive: whether a client asks before running them depends on the client and its permission settings.
Documentation
- The CLI and the MCP server: every command, JSON outputs, exit codes
- Coding agents: Claude Code, Codex, Cursor, and the instructions
spawner initadds - Quick start: from a fresh server to the first environment
Source: github.com/Flosk6/Spawner. License: Apache-2.0.
Source: apps/cli/README.md at commit b9c01c6
Tools
0Version history
2- v2.2.1LatestOct 11, 2026
- v2.2.0Oct 10, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts