Back to Home
Michael-Obele icon

shadcn-svelte-mcp

Verified Safe

by Michael-Obele

Overview

Provides real-time access to shadcn-svelte component documentation, blocks, charts, and Lucide Svelte icons through an MCP server for AI-powered code editors.

Installation

Run Command
bun start

Environment Variables

  • NODE_ENV
  • PORT
  • OPENAI_API_KEY
  • SHADCN_BASE_URL
  • BASE_URL

Security Notes

The server uses web scraping (Crawlee/Playwright) for data retrieval from trusted, hardcoded domains (shadcn-svelte.com, unpkg.com), mitigating direct SSRF risks. The `PlaywrightCrawler` is launched with `--no-sandbox` which, while common in containerized environments where container sandboxing is assumed, could pose a risk if not run in an isolated environment. File system access is limited to a `.cache` directory and LibSQL storage. `OPENAI_API_KEY` is explicitly noted as an environment variable to be set securely. CORS is set to `*` for broad client compatibility, which is expected for this type of public API.

Similar Servers

Stats

Interest Score45
Security Score8
Cost ClassMedium
Avg Tokens2000
Stars16
Forks0
Last Update2025-12-07

Tags

Svelteshadcn-uiAI AgentWeb ScrapingDocumentation