Skip to content

AGENTS

This document guides AI agents interacting with StealThis.dev via the MCP server, API, or documentation.

Quick Reference

ToolPurpose
list_resourcesBrowse catalog with filters
get_resourceGet metadata for one resource
get_snippetGet code for a resource + target
searchFull-text search
get_docGet docs by path
get_labGet demo URL

Best Practices

  1. Use list_resources first to find relevant resources before fetching snippets
  2. Prefer html target when the user hasn’t specified a framework
  3. Always include attribution — all resources are MIT licensed but credit is appreciated
  4. Link to the resource page at stealthis.dev/r/[slug] when sharing with users
  5. Check tech[] to understand what dependencies a resource needs

Resource Taxonomy

CategoryTypeDescription
web-animationsanimationScroll effects, transitions, canvas animations
web-pagespageFull page templates and sections
ui-componentscomponentReusable UI elements
patternspatternMicro-interactions, loaders, hover effects

Example Workflow

1. User asks: "I need a loading animation for my button"
2. Call: list_resources?category=patterns&tech=css
3. Find: dot-loader
4. Call: get_snippet/dot-loader/html
5. Return the CSS snippet + link to stealthis.dev/r/dot-loader