Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@multiplayer-app/cli

Package Overview
Dependencies
Maintainers
5
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@multiplayer-app/cli

Multiplayer CLI

latest
Source
npmnpm
Version
2.0.95
Version published
Maintainers
5
Created
Source

Description

GitHub stars License Visit Multiplayer

Follow on X Follow on LinkedIn Join our Discord

@multiplayer-app/cli

AI-powered debugging agent and release management CLI for Multiplayer.

Install

npm install -g @multiplayer-app/cli

Supports macOS (arm64, x64), Linux (arm64, x64), and Windows (arm64, x64). The correct platform binary is installed automatically.

Commands

CommandDescription
multiplayer [agent]Start the debugging agent (default)
multiplayer releases createRegister a release
multiplayer deployments createRegister a deployment
multiplayer sourcemaps uploadUpload sourcemap files
multiplayer auth loginLog in via browser OAuth
multiplayer auth logoutLog out and clear credentials
multiplayer auth statusCheck authentication status
multiplayer mcpStart an MCP server for AI agent integration

Debugging Agent

Connects to the Multiplayer backend and automatically resolves incoming issues using AI.

multiplayer [agent] [options]

Options are resolved in this order: CLI flag → environment variable → config profile.

FlagEnv varDescription
--api-key <key>MULTIPLAYER_API_KEYMultiplayer API key
--dir <path>MULTIPLAYER_DIRProject directory (must be a git repo)
--model <name>AI_MODELAI model (e.g. claude-sonnet-4-6, gpt-4o)
--model-key <key>AI_API_KEYAI provider API key (not required for Claude models)
--model-url <url>AI_BASE_URLBase URL for OpenAI-compatible APIs
--headlessMULTIPLAYER_HEADLESS=trueRun without TUI — outputs structured JSON logs
--profile <name>MULTIPLAYER_PROFILEConfig profile to load (default: default)
--name <name>MULTIPLAYER_AGENT_NAMEAgent name (defaults to hostname)
--max-concurrent <n>MULTIPLAYER_MAX_CONCURRENTMax issues resolved in parallel (default: 2)
--no-git-branchMULTIPLAYER_NO_GIT_BRANCH=trueWork in current branch — no worktree, no push
--health-port <port>MULTIPLAYER_HEALTH_PORTHTTP health check port (headless mode only)
--url <url>MULTIPLAYER_URLMultiplayer API base URL

TUI mode (default)

An interactive terminal dashboard that shows active sessions and live logs.

multiplayer --api-key <key> --dir /path/to/repo --model claude-sonnet-4-6

Headless mode

Outputs newline-delimited JSON logs — suitable for CI, containers, and log aggregators.

multiplayer --headless --api-key <key> --dir /path/to/repo --model claude-sonnet-4-6

In headless mode, SIGTERM waits for active sessions to finish before exiting; SIGINT exits immediately.

Config files

Configuration is split across two JSON files:

~/.multiplayer/credentials.json — authentication, one entry per account (keyed by email):

{
  "you@example.com": {
    "apiKey": "<your-api-key>",
    "authType": "api_key",
    "url": "https://api.multiplayer.app"
  }
}

<project-dir>/.multiplayer/settings.json — per-project settings:

{
  "model": "claude-sonnet-4-6",
  "maxConcurrentIssues": 2,
  "noGitBranch": false,
  "git": {
    "commit": true,
    "branch_create": true,
    "pr_create": true,
    "push": true,
    "use_worktree": true
  }
}

Supported project settings keys:

KeyDescription
modelAI model name
modelKeyAI provider API key
modelUrlBase URL for OpenAI-compatible APIs
nameAgent name
maxConcurrentIssuesMax parallel issues
noGitBranchtrue to skip branch/worktree creation
git.commitAllow committing changes
git.branch_createAllow creating branches
git.pr_createAllow opening pull requests
git.pushAllow pushing to remote
git.use_worktreeUse git worktrees for isolation

Auth

multiplayer auth login    # Log in via browser OAuth flow
multiplayer auth logout   # Log out and clear stored credentials
multiplayer auth status   # Check current authentication status

Releases

multiplayer releases create [options]
FlagEnv varDescription
--api-key <key>MULTIPLAYER_API_KEYMultiplayer API key
--service <name>SERVICE_NAMEService name
--release-version <version>RELEASERelease version
--commit-hash <hash>COMMIT_HASHCommit hash
--repository-url <url>REPOSITORY_URLRepository URL
--release-notes <notes>RELEASE_NOTESRelease notes (optional)
--base-url <url>BASE_URLAPI base URL (optional)

Example:

multiplayer releases create \
  --api-key $MULTIPLAYER_API_KEY \
  --service my-service \
  --release-version 1.2.3 \
  --commit-hash abc123 \
  --repository-url https://github.com/org/repo

Deployments

multiplayer deployments create [options]
FlagEnv varDescription
--api-key <key>MULTIPLAYER_API_KEYMultiplayer API key
--service <name>SERVICE_NAMEService name
--release <version>RELEASERelease version
--environment <name>ENVIRONMENTEnvironment name
--base-url <url>BASE_URLAPI base URL (optional)

Example:

multiplayer deployments create \
  --api-key $MULTIPLAYER_API_KEY \
  --service my-service \
  --release 1.2.3 \
  --environment production

Sourcemaps

multiplayer sourcemaps upload <directories...> [options]
FlagEnv varDescription
--api-key <key>MULTIPLAYER_API_KEYMultiplayer API key
--service <name>SERVICE_NAMEService name
--release <version>RELEASERelease version
--base-url <url>BASE_URLAPI base URL (optional)

Example:

multiplayer sourcemaps upload ./dist ./build \
  --api-key $MULTIPLAYER_API_KEY \
  --service my-service \
  --release 1.2.3

MCP Server

multiplayer mcp starts an MCP server over stdio, exposing Multiplayer operations as tools that AI agents (Claude Desktop, Claude Code, Cursor, etc.) can call directly.

Tools

ToolDescription
create_releaseRegister a release for a service
create_deploymentDeploy a release to an environment
upload_sourcemapsUpload .map files from local directories

Setup

Add the server to your MCP client config. Example for Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "multiplayer": {
      "command": "multiplayer",
      "args": ["mcp"],
      "env": {
        "MULTIPLAYER_API_KEY": "<your-api-key>"
      }
    }
  }
}

Example for Claude Code (~/.claude/mcp.json):

{
  "mcpServers": {
    "multiplayer": {
      "command": "multiplayer",
      "args": ["mcp"],
      "env": {
        "MULTIPLAYER_API_KEY": "<your-api-key>"
      }
    }
  }
}

Once configured, the AI can create releases, deployments, and upload sourcemaps without any shell commands or manual steps.

License

MIT — see LICENSE.

FAQs

Package last updated on 27 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts