aupm-mcp

v0.6.0
aupm-mcp Checked 2 days ago Published 1 month ago

MCP server for AuPM: check and install npm packages with human review status

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_audit_status

Check the audit status of an npm package version via the AuPM proxy. Returns status (UNREVIEWED/COMMUNITY_REVIEWED/PEER_REVIEWED), auditor address, and attestation txid. Free — no payment required.

ParameterTypeDescription
pkg *stringPackage name, e.g. "lodash" or "@scope/pkg"
version *stringExact version string, e.g. "4.17.21"

install_audited_package

Install an npm package via AuPM. If COMMUNITY_REVIEWED or higher, this route returns 402. Opt in to donate in USDC on Algorand MainNet (asset 31566704) as a plain asset transfer to the merchant payTo address. Without a donation opt-in, a 402 is reported back as status: 'donation_required' with the price and resource URL, and nothing is signed. Returns tarball path and settlement txid on a paid or free install. A paid install carries receipt: { baseMicro, multiplier, totalMicro }. When a donation was asked for and failed, the tarball is the free one and the result carries donationFailure: { cod…

ParameterTypeDescription
pkg *stringPackage name, e.g. "lodash" or "@scope/pkg"
version *stringExact version string, e.g. "4.17.21"
allowDonationbooleanSet true or false to override the AUPM_DONATE env var and the config file. Unset: they decide, and the default is off.

attest_lockfile

Request a signed in-toto attestation for a whole package-lock.json, pnpm-lock.yaml (lockfileVersion 9.0) or yarn.lock (yarn classic v1; chosen by file name) via AuPM. Free when the tree has zero reviewed packages. Opt in to donate to pay for and receive the full attestation. Without a donation opt-in, the reviewed entries are withheld and the result reports status: 'donation_required' with the partial attestation, the withheld count, the price, and the resource URL — never a 402. A paid attestation reports settlement: the settlement txid and the microUSDC amount paid, and receipt: { baseMicr…

ParameterTypeDescription
lockfilePath *stringPath to a package-lock.json, a pnpm-lock.yaml (lockfileVersion 9.0) or a yarn.lock (yarn classic v1) on disk
allowDonationbooleanSet true or false to override the AUPM_DONATE env var and the config file. Unset: they decide, and the default is off.