Skip to main content
Glama

load_library

Load a web component library into memory by libraryId. Supports local CEM file or npm package from CDN for subsequent tool targeting.

Instructions

Load an additional web component library into memory by libraryId. Provide either a local cemPath or a packageName (+ optional version) to fetch from CDN. Once loaded, all CEM-dependent tools can target this library using the libraryId parameter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
libraryIdYesUnique identifier for this library (e.g. "shoelace", "spectrum"). Used to reference it in subsequent tool calls.
cemPathNoLocal file path to the custom-elements.json file. Relative paths are resolved from projectRoot.
packageNameNonpm package name to fetch CEM from CDN (e.g. "@shoelace-style/shoelace"). Used when cemPath is not provided.
versionNoPackage version for CDN fetch (default: "latest").
registryNoCDN registry for package fetch (default: "jsdelivr").

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