ShipEasy
Flags & Experiments

MCP reference

MCP tools for AI agents — same surface as the CLI, callable from Claude Code / Cursor / Copilot.

The ShipEasy MCP server exposes the same gate / config / experiment / killswitch / universe verbs as the CLI, but as MCP tools your AI agent can call directly. Wire it up once and your agent can create experiments, flip flags, and configure killswitches without you copy-pasting CLI commands.

Install

The MCP server ships inside the @shipeasy/cli package as the mcp subcommand. Install the CLI, then point your agent at it.

npm install -g @shipeasy/cli
shipeasy mcp install     # writes config to ~/.claude/settings.json + ~/.cursor/mcp.json

Or wire it manually:

{
  "mcpServers": {
    "shipeasy": {
      "command": "shipeasy",
      "args": ["mcp"]
    }
  }
}

Tools

All tools are namespaced mcp__shipeasy__*.

Gates

ToolWhat it does
exp_create_gateCreate a new gate
exp_update_gateUpdate name, rules, rollout, enabled
exp_delete_gateDelete a gate

Configs

ToolWhat it does
exp_create_configCreate a new config (with JSON schema)
exp_update_configUpdate config schema or values
exp_delete_configDelete a config

Killswitches

ToolWhat it does
exp_create_killswitchCreate a killswitch
exp_update_killswitchUpdate default value, switches map, description
exp_delete_killswitchDelete a killswitch
exp_set_killswitch_switchFlip a switch entry to a value (per env)
exp_unset_killswitch_switchRemove a switch entry from one env

Experiments

ToolWhat it does
exp_create_experimentCreate a new experiment
exp_update_experimentUpdate name, variants, allocation, metrics
exp_delete_experimentDelete an experiment
exp_start_experimentStart an experiment (status draftrunning)
exp_stop_experimentStop a running experiment
exp_experiment_statusStatus + latest results + p-values

Universes

ToolWhat it does
exp_create_universeCreate an experiment universe
exp_update_universeUpdate holdout range / allocation
exp_delete_universeDelete a universe

Discovery & auth

ToolWhat it does
auth_checkCheck current credentials
auth_loginTrigger PKCE device login
auth_logoutClear stored credentials
detect_projectInspect repo: language, framework, SDK state
get_resourceFetch a single resource by id/name
list_resourcesList resources of a given type
get_sdk_snippetGenerate a language-specific SDK snippet
projects_upsertCreate or update a project

Example agent prompt

"Create a gate called checkout-v2, only for country=US, ramp at 5%."

The agent calls exp_create_gate with the appropriate rule + rollout, returns the gate id, then emits the SDK snippet for your framework via get_sdk_snippet.

See also

On this page