The challenge
Most MCP servers listed in directories are abandoned or break on first run, and the reasons are mundane: missing tool annotations that some directories reject, a README that does not name the tools, a default build that cannot start the server, no test per tool.
I wanted the checklist from my own release as one command that works in CI, on a laptop and inside an AI assistant.
How I approached it
- 01
Static checks that never run your code
The scanner reads the repository with Python's ast module: it finds tool decorators, checks that all four annotation hints are explicit booleans, compares tool names against the README and the tests, and scans for key patterns. Documented placeholder keys are ignored, so it does not cry wolf.
- 02
A live check with no SDK dependency
An opt-in mode starts the server and speaks raw JSON-RPC over stdio: initialize, tools/list, then inspects the real tool list for descriptions, hints and parameter docs. It also catches stray print calls that corrupt the protocol. Because it is plain standard library, it works with any MCP SDK version.
- 03
Fixes, not just failures
Every warning carries a one-line fix, including the traps I hit: an extra that a default install does not get, an entry point missing from PATH, and a ready-to-paste build spec for Glama.
- 04
Safe by design
The MCP wrapper splits the tools: check_repo is read-only, check_live runs a command and is annotated destructive. A score from 0 to 100 and an exit code make it usable in CI.
- 05
It checks itself
CI runs the tool against its own MCP server on every push, which caught three of its own bugs before the first release.
Deliberate trade-offs
- Static tool discovery understands Python decorators and simple TypeScript calls. Tools registered other ways are only seen in live mode.
- The checks are heuristics, not a security audit.
- Live mode executes the server, so it should only be used on code you trust.
What I built
- Designed the check list from the real problems of my first release and wrote a phased plan before coding.
- Built the scanner, the live stdio client, scoring, text, Markdown and JSON reports, and the CLI.
- Wrote tests with a fake stdio server, so live-mode behaviour (noise on stdout, crashes, bad schemas) is covered without any SDK.
- Ran it on my own versereel package, fixed what it found (v0.1.3) and recorded the before and after.
- Published to PyPI, tagged a release and submitted the listing to the MCP directories.
What this project demonstrates
- Shipping a developer tool end to end: design, tests, CI, PyPI, listings
- Working at the protocol level (MCP over stdio) instead of through an SDK
- Static analysis with Python's ast module
- Writing tools that are safe by default



