What it does
pkgtruth is an MCP server published by hxckya. According to the publisher, it catches hallucinated and slopsquatted npm and PyPI packages before an agent installs them. Slopsquatting refers to packages whose names an AI model may invent, which an attacker could then register.
It would be reached for when an agent is about to add a dependency from npm or PyPI and the package name may be a fabricated or unvetted one. The server sits between the agent and the install step, so the check runs before anything is installed.
The source gives no detail on how the check is performed, which tools the server exposes, or the exact setup steps. Setup details are available in the project repository on GitHub.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- Official MCP Registry first seen 13 Nov 2026 · last seen 13 Nov 2026 · its page on the source
io.github.hxckya/pkgtruth
Catches hallucinated and slopsquatted npm and PyPI packages before an agent installs them.
v0.2.2As shown on registry.modelcontextprotocol.io when we last read it