mcp-ship-check
mcp-ship-check
Pre-flight checker for MCP servers. One command tells you whether your repo is ready to publish and exactly what to fix: tool annotations, tests per tool, README, packaging, committed secrets, a live stdio handshake against the real server, and the Glama build spec that actually works.
Most MCP servers listed in directories are abandoned or break on first run. This is the checklist that avoids that, as a CLI, an MCP server and a Claude Code skill. No dependencies for the CLI.
$ pip install mcp-ship-check
$ mcp-ship-check path/to/your-server --live
PASS LICENSE file present
PASS tools discovered statically
5 tools: check_environment, fetch_poem, make_music_bed, plan_poem, render_poem
PASS every tool is named in a test
WARN mcp dependency declared where default installs get it
mcp is only in the optional extra [mcp]
fix: A plain `uv sync` or `pip install .` will not install it and the server will not start. ...
PASS stdio initialize and tools/list succeed
ready in 1.2s; versereel 2.x; 5 tools
PASS all four annotation hints on every tool (live)
WARN every parameter is described
17/17 parameters have no description, e.g. plan_poem.title, plan_poem.stanzas, ...
INFO recommended Glama build spec
Build steps: ["uv pip install --python /usr/local/bin/python --break-system-packages 'versereel[mcp]==0.1.2'", ...]
CMD arguments: ['mcp-proxy', '--', 'python', '-m', 'versereel.mcp_server']
score 95/100 (grade A) 18 pass, 3 warn, 0 failWhat it checks
Area | Checks |
Repo | LICENSE, README (install + client config + every tool named), CI runs tests, tests exist and name every tool, git tag for the version |
Packaging | pyproject metadata, console-script entry point, |
Tools (static, AST) |
|
Security | known key patterns (placeholders ignored), tracked |
Live (opt-in) | stdio |
Glama | prints the build steps and command to paste into Glama's Admin > Dockerfile |
Score is 0-100 with grade A-D. Exit code is 1 on any FAIL (--strict: warnings too), so it works in CI.
mcp-ship-check . # static: reads files, never runs your code
mcp-ship-check . --live # also starts the repo's console script and inspects the real tools
mcp-ship-check . --command "my-server" # explicit launch command
mcp-ship-check . --markdown # paste into a PR; --json for CI; --list-checksIn CI
- run: pip install mcp-ship-check
- run: mcp-ship-check . --command my-server --strictRelated MCP server: SilentFail
Safety
Static mode only reads files. --live / --command start the server process, so only use them on code you trust (ideally inside a container). The MCP server wrapper keeps these apart: check_repo is read-only; check_live is annotated as destructive because it runs a command.
As an MCP server
pip install "mcp-ship-check[mcp]"{ "mcpServers": { "mcp-ship-check": { "command": "mcp-ship-check-mcp" } } }Tools: check_repo (static, read-only), check_live (runs the server command), list_checks.
As a Claude Code skill
Copy skill/mcp-ship-check/ to ~/.claude/skills/mcp-ship-check/. It runs the checker, applies fixes in the right order, and walks through PyPI, release, Glama and directory listings (references/directories.md).
Why these checks
They come from shipping versereel: missing annotation hints, a Glama default build that could not start the server (extra not installed, entry point not on PATH), no release, and no test per tool each cost time. The checker dogfoods itself: CI runs it against its own MCP server.
Limits
Static tool discovery understands Python @x.tool(...) decorators and simple TypeScript server.tool("name", ...) calls; tools registered another way are only seen in live mode. The Glama spec assumes a package published on PyPI. Checks are heuristics, not a security audit.
Develop
git clone https://github.com/ali-saad-khan/mcp-ship-check && cd mcp-ship-check
uv venv && uv pip install -e ".[dev,mcp]" && pytestAuthor
Built by Saad Ali Khan, a full stack and AI engineer. Portfolio: saadconsulting.tech. Available for freelance work on AI tooling, MCP servers and automation.
Licence
MIT
Available Tools
3 toolscheck_liveADestructive
Run all static checks plus live checks: start the server with command (default: the repo's console script) over stdio,
do the MCP handshake and inspect the real tool list. This EXECUTES the repository's code: only use it on code you trust.
Inputs: path (required), command, timeout.
check_repoARead-onlyIdempotent
Statically check an MCP server repository for shipping readiness (license, README, tests, annotations, packaging, secrets, Glama build spec). Reads files only and never runs the repository's code. Returns score, grade and results with fixes.
Inputs: path (required).
list_checksARead-onlyIdempotent
List every check id with a one-line description.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
check_repo and check_live are distinct but overlapping: check_live is a documented superset of check_repo, so an agent must read descriptions carefully to pick the cheaper static-only path. list_checks is clearly separate. Overall the boundary is understandable but not perfectly crisp.
All three tools follow a consistent verb_noun pattern (check_repo, check_live, list_checks) with uniform snake_case. Predictable and readable.
Three tools is on the lean side but well matched to a narrow, single-purpose auditing server; each tool earns its place. A slightly richer surface (e.g., per-check execution) would justify more, but nothing feels padded.
The surface covers static audit, live audit, and check discovery, but list_checks exposes check ids with no tool to run or inspect an individual check, and there is no way to apply or preview the suggested fixes. Minor gaps like output format or targeting a specific check will force workarounds.
Maintenance
Related MCP Connectors
MCP deployment checks: required tools, schema drift and verifiable receipts. Free preflight.
Score any remote MCP server for Claude, ChatGPT, Gemini and MCP Registry readiness.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Audit your MCP servers for poisoned tools and leaked secrets, and check AI-generated code for flaws.
Related MCP Servers
- AlicenseAqualityDmaintenanceDiagnose, secure, and benchmark your MCP servers. Zero-config CLI for Claude Code, Cursor, VS Code, and Windsurf.44MIT
- AlicenseNot gradedqualityDmaintenanceDiagnose MCP servers — health checks, tool testing, token cost audits, conflict detection, and security scanning with 50+ prompt injection patterns. Works as CLI or MCP server inside Claude Desktop.1MIT
- AlicenseAqualityBmaintenanceLocal-first production-readiness MCP server for AI-built apps. It runs read-only checks, produces an evidence-based readiness score, and guides fixes before launch.1135 npm7Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables developers to expose a single set of tool definitions as MCP server tools over stdio or Streamable HTTP, so Claude Code, Codex, Claude Desktop and Cursor can call them with risk-based annotations, human-approved irreversible writes, typed structured results and long-running job handling built in. It also ships the same tools as a CLI from one source, keeping both surfaces in parity.569 npmApache 2.0