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 mcpOr 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 mcpOr 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
| Tool | Input | What it does |
|---|---|---|
status | none | The 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_releases | none | Every bundle in the bundle folder, newest first, with counts and whether it was published. |
generate | range, 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_bundle | version (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_file | path, version | One 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_file | path, text, version | Replaces 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. |
render | version | Runs justshipped render: draws every image again from its sidecar. Edit a sidecar with write_file first to change an image's words. |
publish_plan | version, targets (target ids) | Runs justshipped publish --plan: what each target would do. Nothing is sent and published.json is not written. |
studio | port (default: a free one), open | Starts 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.statusreturns check names, variable names and booleans only, so it is plain JSON. - Paths stay in the bundle.
read_fileandwrite_filetake a bundle-relative path with no..,.or empty segment and no backslash, and refuse a symbolic link anywhere on the way.write_fileonly 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.
Studio
The studio is a local web app for refining a bundle. It reads and writes the bundle folder with the same code as justshipped generate: there is no database, and the bundle stays on your computer. Two things send data out: writing a file again with a cloud model sends release information to that model (see Security), and publishing sends the bundle to a target.
Changelog site and "What's new" widget
justshipped site builds a static changelog site from every release bundle in your bundle folder, and puts a small "What's new" widget beside it for your app's own pages. There is no hosted service: put the folder on any static host, such as GitHub Pages.