Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PKGTRUTH_RETRIESNoRetries for 429/5xx/network errors3
PKGTRUTH_REGISTRYNoAlternate registrynpm
PKGTRUTH_CACHE_DIRNoWhere adoption figures are cached~/.cache/pkgtruth
PKGTRUTH_TIMEOUT_MSNoPer-request timeout8000
PKGTRUTH_DISK_TTL_MSNoHow long a cached figure stays usable21600000
PKGTRUTH_DOWNLOADS_APINoAlternate downloads APInpm
PKGTRUTH_NO_DISK_CACHENoSet to 1 to disable the cache
PKGTRUTH_MAX_CONCURRENCYNoOverride request pacingper-host

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
check_packageA

Verify a single npm package before installing, importing, or recommending it. Returns whether it actually exists, and flags slopsquatting (a low-adoption package impersonating a popular one), install-time scripts, deprecation, and abandonment. Call this whenever you are about to introduce a dependency you have not verified in this session.

check_dependenciesA

Verify many npm packages at once — use this before writing a package.json, running an install command, or handing a dependency list to a user. Results are sorted worst-first so anything hallucinated or dangerous surfaces at the top.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hxckya/pkgtruth'

If you have feedback or need assistance with the MCP directory API, please join our Discord server