CLI + MCP Generation

From API spec to
agent-ready tooling

Shipwright generates production Go CLIs and MCP servers from your OpenAPI spec. Local SQLite sync, full-text search, and agent-native commands — pushed to GitHub automatically.

How it works

01

List your API on Shipyard

Create a listing with your API details, or use Buoy to onramp with x402 payments.

02

Trigger Shipwright

Call the API or MCP tool. Shipwright detects your endpoints and generates the CLI + MCP server.

03

Ship it

A GitHub repo appears with your CLI, MCP server, README, and install instructions. Linked from the marketplace.

Capabilities

Everything your API needs to be a first-class citizen in the agent ecosystem.

Go CLI Generation

Generates a Cobra-based Go CLI from your API spec. Type-safe commands, structured output, and 60-80% fewer tokens than raw API calls.

MCP Server

Every generated CLI ships as an MCP server. Drop it into Claude Desktop, Cursor, or any MCP-compatible agent framework.

OpenAPI Auto-Detection

Point Shipwright at any URL. It scans for OpenAPI specs across 10+ common paths and builds from whatever it finds.

GitHub-Native

Each generated CLI gets its own GitHub repo. Generation runs as a GitHub Action — no servers to manage, no infra to maintain.

SQLite Local Mirror

Generated CLIs sync API data to a local SQLite database. Compound queries run in milliseconds, offline search works out of the box.

Buoy Integration

Pair with Buoy to wrap your API with x402 payments AND generate a CLI + MCP server in one flow. Full agent tooling from a single onramp.

One call to generate

Terminal
curl -X POST https://openshipyard.xyz/api/v1/buoy/generate-cli \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{ "listing_id": "your-listing-uuid" }'

# => { repo_url: "github.com/BiscayneDev/cli-your-api",
#      status: "pending" }

Shipwright creates the repo, pushes a generation workflow, and notifies you when the CLI + MCP server are ready.

Build the tools your API deserves

Every API should ship with a CLI and MCP server. Shipwright makes it automatic.

Get Started with Shipwright