{"slug": "show-hn-mcpwatch-lockfile-and-runtime-guard-for-mcp-tool-descriptions", "title": "Show HN: Mcpwatch – Lockfile and runtime guard for MCP tool descriptions", "summary": "A project called mcpwatch released an open-source (Apache-2.0), zero-dependency Python 3.10+ tool that fingerprints the tool descriptions of every reachable remote server in the official MCP registry daily and fails CI when a pinned tool changes, addressing so-called rug pulls where MCP servers rewrite a tool's instructions after approval. The tool ships four commands — mcpwatch-scan for leaked secrets, unpinned packages, plain-HTTP endpoints and root filesystem access; mcpwatch lock to pin exposed tools into a committed mcpwatch.lock; mcpwatch check to exit 1 on drift; and mcpwatch guard to block changed tools at runtime — and works with Claude Desktop, Claude Code (.mcp.json), Cursor and VS Code configs. mcpwatch states its probe is read-only, never runs third-party code or calls a tool, and keeps data on the user's machine.", "body_md": "# Know when the tools your AI agents trust change.\n\nMCP servers can rewrite a tool's instructions after you approve it: a rug pull. mcpwatch checks every server in the official MCP registry daily, fingerprints the tools of every remote server it can reach, grades them for leaked secrets, plain-HTTP endpoints, unauthenticated access and poisoned descriptions, fails your CI when a tool you pinned changes, and can block changed tools before your agent ever reads them.\n\n- Read-only checks\n- Never runs third-party code\n- Nothing leaves your machine\n- No cookies or trackers\n\n## Quickstart\n\nZero dependencies, Python 3.10+. Works with Claude Desktop, Claude Code (.mcp.json), Cursor and VS Code configs.\n\n```\npipx install mcpwatch-io\n```\n\n1. ### ScanFlag leaked secrets, unpinned packages, plain HTTP and root filesystem access. \n\n```\nmcpwatch-scan ~/.cursor/mcp.json\n```\n\n2. ### LockPin the exact tools your servers expose today. Commit mcpwatch.lock. \n\n```\nmcpwatch lock .mcp.json\n```\n\n3. ### CheckFail CI when any pinned tool changes: exit 1 on drift. Add --live to see the exact sentence that changed. \n\n```\nmcpwatch check .mcp.json\n```\n\n4. ### GuardBlock changed tools at runtime: your agent only sees the tools you approved. \n\n```\nmcpwatch guard --name gh -- <server cmd>\n```\n\n## Everything in mcpwatch\n\n- [Watchlist alerts](https://www.mcpwatch.io/watch)An email or Slack message when a server you depend on changes, with a plain-language note on why it matters.\n- [For teams](https://www.mcpwatch.io/pricing)Teammates on one watchlist, an org view of every repo's MCP config with CI policy rules, and audit export.\n- [Lookup API](https://github.com/anardimontlv/mcpwatch#lookup-api)One call to grade any MCP server by URL or package. Rule codes only, safe to hand to a model.\n- [MCP server](https://github.com/anardimontlv/mcpwatch#quickstart)Let your agent check a server before it connects: uvx mcpwatch-io.\n- [For maintainers](https://github.com/anardimontlv/mcpwatch#for-maintainers-claim-your-page)Claim your server's page with a file in your repo and respond to findings.\n- [Open source](https://github.com/anardimontlv/mcpwatch)Zero dependencies, Apache-2.0. The probe is read-only and never calls a tool.\n\n| Grade | Server | Findings | \n|---|---|---|\n\n## Recent tool changes across the ecosystem\n\nEvery day mcpwatch compares each server's tools with the day before: changed tool descriptions, added or removed tools, auth and grade changes.", "url": "https://wpnews.pro/news/show-hn-mcpwatch-lockfile-and-runtime-guard-for-mcp-tool-descriptions", "canonical_source": "https://www.mcpwatch.io", "published_at": "2026-11-23 15:28:14+00:00", "updated_at": "2026-11-23 15:45:20.692572+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-safety", "ai-tools", "developer-tools"], "entities": ["mcpwatch", "Model Context Protocol", "Claude Desktop", "Claude Code", "Cursor", "VS Code", "GitHub"], "also_reported_by": [], "takeaway": "Pin MCP tool descriptions with `mcpwatch lock` and run `mcpwatch check` in CI so a server that rewrites a tool's instructions after approval exits 1 instead of silently reaching the agent.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/show-hn-mcpwatch-lockfile-and-runtime-guard-for-mcp-tool-descriptions", "markdown": "https://wpnews.pro/news/show-hn-mcpwatch-lockfile-and-runtime-guard-for-mcp-tool-descriptions.md", "text": "https://wpnews.pro/news/show-hn-mcpwatch-lockfile-and-runtime-guard-for-mcp-tool-descriptions.txt", "jsonld": "https://wpnews.pro/news/show-hn-mcpwatch-lockfile-and-runtime-guard-for-mcp-tool-descriptions.jsonld"}}