Skip to content

About

Shipyard plugin for Claude Code, Codex, Cursor and Kiro: the Shipyard MCP server plus a usage skill

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Shipyard plugin for coding agents

Connect your coding agent to Shipyard ephemeral environments. With this plugin, Claude Code, Codex, Cursor or Kiro can list your environments, read build history and service logs, rebuild or restart environments, manage volume snapshots, and verify a pushed change against its preview environment before you merge.

The plugin runs the Shipyard MCP server that ships with the Shipyard CLI (shipyard mcp serve) and adds a short skill that tells the agent how to use it safely.

Requirements

  1. Shipyard CLI 1.9.0 or later, on the PATH your agent sees. 1.10.0 or later is recommended: it labels each tool as read-only or destructive, which some clients use to decide when to ask you.

    brew tap shipyard/tap && brew install shipyard
    shipyard --version

    Other install methods: Shipyard CLI.

  2. Log in once, so the server can find your token:

    shipyard login

    The plugin never asks for or stores your token. The CLI keeps it in ~/.shipyard/config.yaml.

Install

Client Install
Claude Code claude plugin marketplace add shipyard/shipyard-plugins, then claude plugin install shipyard@shipyard
Codex codex plugin marketplace add shipyard/shipyard-plugins, then codex plugin add shipyard@shipyard
Kiro Powers panel: install from GitHub URL https://github.com/shipyard/shipyard-plugins
Cursor cursor-agent plugin marketplace add https://github.com/shipyard/shipyard-plugins, then Cursor Settings, Plugins: install Shipyard

Restart the session afterwards and ask "list my Shipyard environments".

  • Cursor: set Auto-Run first. With Auto-Run on and MCP Tools Protection off, Cursor runs every Shipyard tool without asking, including ones that stop or rebuild environments. In Cursor Settings, Auto-Run, choose Ask Every Time or turn on MCP Tools Protection. The plugin's server runs in the Cursor app only: cursor-agent doesn't load it.
  • Use the plugin or a hand-added server, not both. If you added shipyard mcp serve to your client yourself, remove it first (for example claude mcp remove shipyard). Codex is the exception: a [mcp_servers.shipyard] entry replaces the plugin's server.
  • If the server doesn't start with "command not found", your client can't see shipyard on its PATH (common for desktop apps opened from the Dock). The plugin can't change that command, so add the server by hand with the absolute path from which shipyard, as in the MCP guide.

What it can do, and what it sends

The MCP server calls the Shipyard API (https://shipyard.build) with your token. It reads and changes only the environments, services, volumes, snapshots and environment variables your token can access. It sends nothing anywhere else. The CLI plugin itself contains no code; it only tells your agent how to start shipyard mcp serve.

  • Read-only tools list environments, builds, services, logs, volumes, snapshots and environment variables (hidden values masked).
  • Other tools stop, rebuild, restart, update branches, set or delete environment variables, reset or restore volumes, and create environments. Claude Code and Codex ask before using them unless you allow them. Cursor asks only if Auto-Run is set as above. Kiro's CLI runs tools without asking; see the per-client settings below.
  • exec_service (run a command in a container) is off unless you enable it.

For unattended agents, allow only the read-only tools. The plugin's tools have different names from a hand-added server's (in Claude Code, mcp__plugin_shipyard_shipyard__*). Per-client settings are in Permissions and least privilege.

Hosted plugin: nothing to install

shipyard-hosted connects your agent to Shipyard's hosted MCP server (https://mcp.shipyard.build/mcp) instead of running the CLI. After installing, connect it from your client: /mcp in Claude Code, codex mcp login shipyard in Codex. Your browser opens Shipyard: sign in, pick the organization the agent works in, and allow access. Your client keeps the token; the plugin holds none.

It adds an app to Shipyard from a pushed GitHub branch, reconfigures it, and checks its environments, builds and failures. A reconfiguration can rebuild the app, restart a stopped one and unlink repos, and your agent should ask first: the plugin's skill tells it to, but your client decides whether it can run without asking. There's no tool to stop or restart an environment, rebuild on request, set env vars, read service logs or run commands; use the CLI plugin above, or the Shipyard dashboard, for those.

New to Shipyard? Open a repo and ask your agent to "put this repo on Shipyard". The skill walks you through connecting and signing up. If the repo has no remote yet, it offers to create a private GitHub repo with the GitHub CLI, or points you to github.com/new without it. If the repo has no Docker Compose file, it analyzes the repo, writes one, and checks it with Docker Compose when Docker is available. Nothing is committed or pushed until you approve the list it shows you.

Client Install
Claude Code claude plugin marketplace add shipyard/shipyard-plugins, then claude plugin install shipyard-hosted@shipyard
Codex codex plugin marketplace add shipyard/shipyard-plugins, then codex plugin add shipyard-hosted@shipyard
Kiro In the Powers panel, choose Add Custom Power, then Import power from GitHub, and enter https://github.com/shipyard/shipyard-plugins/tree/main/hosted

Signing in and reading environments has been tested in Kiro (SHIP-631). Other clients haven't been tested yet.

Install one of the two plugins, not both: each defines a server named shipyard.

To disconnect, remove the server or sign out of it in your client's MCP settings. To update the plugin, use claude plugin update shipyard-hosted@shipyard or codex plugin marketplace upgrade shipyard. To remove it, use claude plugin uninstall shipyard-hosted@shipyard or codex plugin remove shipyard-hosted@shipyard. In Kiro, update by uninstalling the power and importing it from GitHub again, and remove it from the Powers panel.

Update and uninstall

  • Update the CLI: brew upgrade shipyard, or shipyard upgrade on CLI 1.10.0 or later.
  • Update the plugin: claude plugin update shipyard@shipyard, or codex plugin marketplace upgrade shipyard. In Cursor, run cursor-agent plugin marketplace update shipyard, then reinstall from Cursor Settings, Plugins. In Kiro, uninstall the power and import it from GitHub again: Kiro's update check can fail with "No name was provided for author".
  • Remove it: claude plugin uninstall shipyard@shipyard, codex plugin remove shipyard@shipyard, or remove it from the Kiro Powers panel or Cursor's plugin settings (then cursor-agent plugin marketplace remove shipyard).

Troubleshooting

See Troubleshooting in the MCP guide. That includes Kiro refusing to install a power with "Invalid installed.json schema" after the Kiro CLI has touched ~/.kiro/powers/installed.json.

Support, privacy and security

License

Apache-2.0. See LICENSE.

About

Shipyard plugin for Claude Code, Codex, Cursor and Kiro: the Shipyard MCP server plus a usage skill

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages