Skip to Content

MCP server for coding agents

justshipped mcp lets a coding agent (Claude Code, Codex, Cursor, or any other MCP client) drive Just Shipped: check the setup, generate a release kit, read and edit its files, redraw its images, see what publishing would do, and open the studio for you.

It is a local MCP server that talks over stdin and stdout only. It opens no network port of its own; the studio tool starts the studio on 127.0.0.1 when the agent asks for it. The agent cannot publish: there is no publish tool. Sending drafts to a scheduler or writing a Release body stays your step, in the studio or with justshipped publish.

To teach the agent when and how to use these tools, add the Just Shipped skill too: npx justshipped init --agent-skill (see Getting started).

The server works on the repository in the folder it starts in, with that folder's justshipped.config.yaml (or the file --config names when the server starts; the agent cannot change it).

Setup

The examples run the npm package with npx. With Just Shipped installed (npm i -g justshipped, or the single-file executable on your PATH), use justshipped as the command and ["mcp"] as its arguments instead.

Claude Code

From the repository:

claude mcp add justshipped -- npx -y justshipped mcp

Or share it with everyone on the project in .mcp.json at the repository root:

{
  "mcpServers": {
    "justshipped": {
      "command": "npx",
      "args": ["-y", "justshipped", "mcp"]
    }
  }
}

Codex

codex mcp add justshipped -- npx -y justshipped mcp

Or in ~/.codex/config.toml:

[mcp_servers.justshipped]
command = "npx"
args = ["-y", "justshipped", "mcp"]

Codex's config is global, so start Codex from the repository the server should work on, or pin a folder with cwd = "/path/to/pebble" in that table.

Cursor

In .cursor/mcp.json at the repository root (or ~/.cursor/mcp.json for every project):

{
  "mcpServers": {
    "justshipped": {
      "command": "npx",
      "args": ["-y", "justshipped", "mcp"]
    }
  }
}

AI keys

The server reads the same environment as justshipped generate: a provider key such as ANTHROPIC_API_KEY, or a signed-in claude or codex CLI for the claude-code and codex providers. Most clients start the server with your environment. If yours starts it with a reduced one, have the client pass the variable through by name rather than pasting the key into its config file. With no key, generate runs rules-only, as on the command line.

Tools

ToolInputWhat it does
statusnoneThe checks of justshipped doctor: git and tags, the config, the model's key, each source and target, the renderer, the browser. Variables are named with whether they are set, never read out.
list_releasesnoneEvery bundle in the bundle folder, newest first, with counts and whether it was published.
generaterange, from, to, version, dry_run, no_ai, fresh (all optional)Runs justshipped generate. Your edits in an existing bundle are kept unless fresh is set. dry_run writes nothing.
read_bundleversion (default: the newest)The release's app, version, range, items, outputs, every file with its size, the files a person edited, and the targets it was published to.
read_filepath, versionOne bundle file by its bundle-relative path (changelog.md, social/x.md, images/feature-card-x.json). Text comes back as data; a PNG comes back as an image.
write_filepath, text, versionReplaces a generated file's text. It is saved as a text override, exactly like an edit in your editor or the studio, so the next generate keeps it.
renderversionRuns justshipped render: draws every image again from its sidecar. Edit a sidecar with write_file first to change an image's words.
publish_planversion, targets (target ids)Runs justshipped publish --plan: what each target would do. Nothing is sent and published.json is not written.
studioport (default: a free one), openStarts the studio on 127.0.0.1 and returns its URL. It runs until the MCP server stops; asking again returns the same URL.

A version is a release version such as 1.2.0, never a path: the bundle folder is found the way the studio finds it. Refs (from, to, range) may not start with -.

Safety

  • No publishing. The only target tool is publish_plan, which calls each target's plan and nothing else.
  • Collected text is data. Commit messages, pull request bodies and tickets can hold instructions aimed at an AI. Every result that can hold them (generate, list_releases, read_bundle, read_file, render, publish_plan, and the error a command or library reports) starts with a note saying so and carries the text as JSON between <untrusted-data> markers; a < inside is escaped, so the text cannot close the markers itself. status returns check names, variable names and booleans only, so it is plain JSON.
  • Paths stay in the bundle. read_file and write_file take a bundle-relative path with no .., . or empty segment and no backslash, and refuse a symbolic link anywhere on the way. write_file only writes files the bundle generated.
  • No secrets. Environment variables are named, never read out. A file, an edit or any result holding text shaped like a credential is refused, the same check the studio makes.
  • Stdout is the protocol. Logs and warnings go to stderr or into a result's warnings.

See Security for what is sent to a model when generate runs with one.

Edit on GitHub

On this page