shadcn-svelte-mcp
Verified Safeby 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
bun startEnvironment 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
shadcn-ui-mcp-server
Provides AI assistants with comprehensive access to shadcn/ui v4 components, blocks, demos, and metadata across React, Svelte, Vue, and React Native for enhanced development workflows.
mcp-server
Provides a Model Context Protocol (MCP) server for AI agents to search and retrieve curated documentation for the Strands Agents framework, facilitating AI coding assistance.
mcp-svelte-docs
Provides authoritative Svelte 5 and SvelteKit definitions and documentation.
scrapi-mcp
Serves as a Model Context Protocol (MCP) server that utilizes the ScrAPI service to scrape web pages and return their content in either HTML or Markdown format.