Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@attestd/mcp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@attestd/mcp
Official Model Context Protocol (MCP) server for Attestd. Exposes deterministic CVE risk and supply-chain integrity checks as tools for Claude Code, Claude Desktop, and any MCP-compatible client.
- stdio transport — run via
npx -y @attestd/mcpwith no global install. check_package_vulnerability— wrapsGET /v1/checkusing@attestd/sdk.list_covered_products— returns supported infrastructure product slugs (static list); no API key required.
Full docs: attestd.io/docs/integrations/mcp
Prerequisites
- Node.js 18+
- An Attestd API key (
atst_...) from the portal — required only forcheck_package_vulnerability.
Claude Code / MCP config
Add to ~/.claude/mcp.json or project .mcp.json:
{
"mcpServers": {
"attestd": {
"command": "npx",
"args": ["-y", "@attestd/mcp"],
"env": {
"ATTESTD_API_KEY": "your-api-key-here"
}
}
}
}Optional: override the API base URL (e.g. dev):
"env": {
"ATTESTD_API_KEY": "your-api-key-here",
"ATTESTD_BASE_URL": "https://dev.api.attestd.io"
}Tools
check_package_vulnerability
| Argument | Type | Description |
|---|---|---|
product |
string | Product slug (nginx, postgresql, litellm, …) |
version |
string | Exact version (1.20.0) |
Returns JSON (text content) with:
| Field | Meaning |
|---|---|
outsideCoverage |
true if the product is not covered — unknown risk, not safe |
riskState |
critical | high | elevated | low | none | null when outside coverage |
activelyExploited |
CISA KEV signal |
patchAvailable / fixedVersion |
Patch guidance |
supplyChainCompromised / supplyChainDescription |
PyPI/npm supply-chain signal |
On invalid/missing API key or rate limit, returns isError: true with a JSON error string.
list_covered_products
No arguments. Returns JSON with count and products (slug + display for each covered infrastructure product).
Verify locally
npm run build
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | node dist/index.jsLicense
MIT — see LICENSE.