svelte-llm

svelte-llm

Svelte and SvelteKit developer odcumentation

Category
Visit Server

README

svelte-llm

LLM presets and MCP for Svelte 5 and SvelteKit. Visit the site at svelte-llm.stanislav.garden.

MCP Endpoint

This service provides an MCP (Model Context Protocol) endpoint for use with AI assistants:

  • SSE (Claude Desktop): https://svelte-llm.stanislav.garden/mcp/sse
  • Streamable HTTP (most other clients): https://svelte-llm.stanislav.garden/mcp/mcp

Setup

  • Create a .env file with the content:
    GITHUB_TOKEN=
    DB_URL=postgres://admin:admin@localhost:5432/db
    
  • Create a Classic GitHub token. It must have public_repo permissions.
  • Enter this in the .env file.
  • Run docker-compose up
  • Run:
nvm use
npm i
npm run dev
  • Run database migrations: visit http://localhost:5173/api/migrate in your browser after starting the dev server.

You can also visit http://localhost:5173/admin to see all the "hidden" endpoints (default password = "secret")

Supported presets

Visit llmctx.com to see all presets.

Adding presets

To add a new preset:

  1. Fork this repo.

  2. Open the src/lib/presets.ts file.

  3. Add a new entry to the presets object with the following structure:

    [presetKey]: {
      title: 'Preset Title',
      owner: 'github-owner',
      repo: 'github-repo',
      glob: ['**/*.md', '**/*.mdx', '!**/excluded/**'], // Required, supports glob patterns
      prompt: 'Optional prompt for additional context'
    }
    
  4. Create a pull request with your changes.

The glob field supports glob patterns, providing flexible file matching:

  • Use **/*.md to match all Markdown files in any subdirectory
  • Use **/*.mdx to match all MDX files in any subdirectory
  • Use !pattern to exclude files/directories matching the pattern
  • Combine patterns for fine-grained control, e.g., ['**/*.md', '**/*.mdx', '!**/excluded/**']
  • Patterns are processed in order, so you can include files and then exclude specific ones

Please ensure that the documentation source is reliable and actively maintained.

Debug MCP

NODE_TLS_REJECT_UNAUTHORIZED=0 NODE_OPTIONS="--insecure-http-parser" npx @modelcontextprotocol/inspector

http://127.0.0.1:6274

You can also use GitHub Copilot in Agent mode to try the agent locally, see .vscode/mcp.json for info on how that works.

Misc

OG image from https://dynamic-og-image-generator.vercel.app/

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured