Skip to main content
Glama

resolve_cdn_cem

Fetch and cache a web component library's Custom Elements Manifest from jsDelivr or UNPKG by npm package name, without requiring a local npm install. Optionally register the manifest into a multi-library store for use with other tools.

Instructions

Fetch and cache a web component library's Custom Elements Manifest (CEM) from a CDN registry (jsDelivr or UNPKG) by npm package name. Useful when the library is loaded via CDN without a local npm install. By default (register: false) the CEM is only fetched and cached locally — server state is NOT modified. Set register: true to also register the CEM into the multi-library store for use with other tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
packageYesnpm package name, e.g. "@shoelace-style/shoelace"
versionNoPackage version, e.g. "2.15.0". Defaults to "latest".
registryNoWhich CDN to use. Default: "jsdelivr".
registerNoWhen true, registers the fetched CEM into the multi-library store. Default: false (preview only, does not mutate server state).
cemPathNoOptional path to the CEM file within the package, e.g. "dist/custom-elements.json". If omitted, tries "custom-elements.json", then "dist/custom-elements.json", then "lib/custom-elements.json".

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

Other Tools

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/bookedsolidtech/helixir'

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