Shipyard as an MCP server
Use Shipyard from Claude Code, Grok Build (formerly Cursor) or VS Code: seven tools to scan your server, read findings, diff tools and generate launch files.
Shipyard is also an MCP server, so your coding agent can check the server it is building without leaving the editor. In Claude Code, Grok Build or VS Code, ask it to "scan my MCP server and fix what review would reject" and it gets scored findings with concrete fixes.
Tools
Six tools are read-only (readOnlyHint: true). run_evals is not: it calls a paid model API, so it is declared as not read-only and is capped (server ceiling $1 per call, default SHIPYARD_MAX_EVAL_USD). All seven declare openWorldHint: true.
| Tool | Use it to |
|---|---|
scan_server | Probe a remote server and get a score, readiness per platform and findings with fixes. Start here. |
check_review_readiness | See one platform's blockers, majors and submission checklist (claude or chatgpt). |
generate_launch_kit | Produce server.json, a GitHub Action, test cases, checklists and listing copy as Markdown. Takes a registry namespace such as io.github.you/name. |
check_listings | See which directories list the server and whether listings drifted. |
diff_tools | Compare live tools against a saved baseline JSON before a release. |
run_evals | Have real models try the server. Costs money, capped by max_cost_usd (default 0.25, never above the server ceiling). Needs ANTHROPIC_API_KEY. |
explain_finding | Explain a finding id: severity, platforms, fix, source. |
Tools that contact your server take a url and optional headers for an authenticated server. Headers are used for that call only and are never stored or returned.
Run it
Stdio, for one local client:
npx tsx packages/mcp-server/src/stdio.ts
Streamable HTTP, stateless, with POST /mcp and GET /healthz:
PORT=3418 npx tsx packages/mcp-server/src/http.ts
It binds to 127.0.0.1 and rejects browser requests that carry an Origin header. To listen on another interface, set HOST and a SHIPYARD_AUTH_TOKEN of at least 16 characters; every /mcp request then needs Authorization: Bearer <token>. The server refuses to start on a non-loopback HOST without a token.
Install
Claude Code:
# stdio
claude mcp add shipyard -- npx tsx /path/to/mcpshipyard/packages/mcp-server/src/stdio.ts
# or HTTP
claude mcp add --transport http shipyard http://localhost:3418/mcp
Grok Build, in ~/.cursor/mcp.json or .cursor/mcp.json:
{
"mcpServers": {
"shipyard": {
"command": "npx",
"args": ["tsx", "/path/to/mcpshipyard/packages/mcp-server/src/stdio.ts"],
"env": { "ANTHROPIC_API_KEY": "optional, only for run_evals" }
}
}
}
VS Code, in .vscode/mcp.json:
{
"servers": {
"shipyard": {
"type": "stdio",
"command": "npx",
"args": ["tsx", "/path/to/mcpshipyard/packages/mcp-server/src/stdio.ts"]
}
}
}
For a hosted instance, use "type": "http" with "url": "https://<your-host>/mcp".
Safety
- URL arguments must be
httporhttps. The host is resolved and rejected if any address is private, loopback, link-local, carrier-grade NAT, multicast or a cloud metadata address. URLs with embedded credentials are rejected, so pass credentials inheaders. - To scan a server on your own machine, set
SHIPYARD_ALLOW_PRIVATE=1. Never set it on a hosted instance. - DNS is checked before the probe connects, so a hostile DNS record could still change between the two steps. On a hosted instance, also block internal ranges at the network layer.
Environment
| Variable | Default | Purpose |
|---|---|---|
PORT | 3418 | HTTP entry port |
SHIPYARD_ALLOW_PRIVATE | unset | 1 allows private and loopback targets |
ANTHROPIC_API_KEY | unset | Required for run_evals |
When to use it
Use it while you build, so findings arrive when the change is fresh. Use the GitHub Action as the gate that catches what the agent missed, and monitoring for what happens after release.
Related: getting started, CLI, FAQ.