devsnips-mcp
v0.1.0Read-only MCP server exposing the DevSnips UI library (components, sections, templates) to AI coding agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_resources
Search the DevSnips UI library (components, sections, templates). Deterministic keyword search over names, ids, family names, curated searchTerms, tags, styles, features and descriptions. Provide a natural language query, structured filters, or both. Results are ranked with a fixed weighting and deterministic tie-breaking, so the same query against the same registry always returns the same order. Examples: search_resources(query="responsive SaaS pricing section", technology="React") search_resources(query="dark dashboard sid…
| Parameter | Type | Description |
|---|---|---|
category | ||
family | ||
features | ||
installableOnly | boolean | |
limit | integer | |
offset | integer | |
query | ||
styles | ||
tags | ||
tagsMode | string | |
technology | ||
type |
get_resource
Get the descriptive package for one DevSnips resource: metadata, README, the template's AGENTS.md (templates ship one), and the file manifest — without pulling source code into context. Use `search_resources` first to find the canonical `id`. For template file trees, `files_complete` tells you whether the manifest is the whole tree (true for local checkouts; GitHub raw cannot enumerate, and some React template manifests list only one level of `src/**`). Args: id: canonical registry id, e.g. "Tailwind/Components/Accord…
| Parameter | Type | Description |
|---|---|---|
id * | string | |
include | ||
maxBytes |
get_resource_file
Retrieve one file from a DevSnips resource (source, page, README, AGENTS.md). Only files listed in the resource's registry manifest (plus README.md / AGENTS.md / metadata.json when present) are retrievable — arbitrary paths are rejected. `preview.html` is a demo page and is never bundled implicitly; request it explicitly if you really want it. Templates: fetch page by page (e.g. file="pages/pricing.html"), or install the whole template with the CLI command from `get_resource(id).install`. Args: id: canonical registry…
| Parameter | Type | Description |
|---|---|---|
file * | string | |
id * | string | |
maxBytes | ||
truncate | boolean |
list_facets
List what exists in the DevSnips library: technologies, types, categories, and families with live counts — read from the current registry, never hardcoded, so the answer is always current inventory (including any technology or type added after this server was written). Args: facet: all | technologies | types | categories | families. technology: scope the families facet to one technology (aliases accepted). includeVariants: for the families facet, also list variant ids (capped at 500).
| Parameter | Type | Description |
|---|---|---|
facet | string | |
includeVariants | boolean | |
technology |