mcp-doctor: a static analysis linter for MCP servers that surfaced real bugs in 12 popular repos

Wide_Imagination_970 · reddit · 2026-09-03

A developer released mcp-doctor, a static analysis linter for MCP servers that detects missing tool descriptions, undocumented params, and missing error handling.

Rather than trusting toy examples, the author ran it against 15 real MCP servers people actually use — SurfSense, Figma-Context-MCP, mcp-chrome, pal-mcp-server (up to 16k stars) — treating every wrong result as a bug in the tool itself. That process uncovered 12 real gaps: some repos registered tools in unfamiliar styles so it reported 0 tools, and FastMCP's excludeargs hides params from the schema entirely, causing 13 tools to be falsely flagged as undocumented. One fix led to a merged PR into ha-mcp.

Install via pip install mcp-server-lint or a GitHub Action; the repo includes a table of every repo tested and what broke.

Original post →

More from coding & agent

coding & agent channel →