Knowledge AI

Server Online · 0 Agents connected Core built: Aug 5, 11:38 AM
v0.7.0 10 Tools 4 Prompts 2 Resources Streamable HTTP

Intelligent
Knowledge Core

A hosted MCP server combining semantic RAG search with precise code grepping over the SveltyCMS codebase.

SveltyCMS Intelligent Knowledge Core Hero

Real-time Retrieval

High-speed vector search serving all apps. One core serves the entire monorepo with millisecond responses.

Ecosystem Driven

Built-in Model Context Protocol support. Unlocks professional-grade context for any MCP-compatible AI agent.

Static Wisdom

Pre-indexed memory shipped to the cloud. Optimized for remote retrieval with zero GPU overhead on the server.

Connect Your Agents

The Knowledge Core is accessible via Streamable HTTP (MCP spec 2025-03-26). Follow the guides below to integrate it into your development workflow.

VS Code / Cursor / Zed / Claude

Best for Cursor, VS Code (Cline/Roo Code), and Zed which support native Streamable HTTP connections.

Add this to your MCP configuration file:

{
  "mcpServers": {
    "sveltycms": {
    	  "serverUrl": "https://mcp.sveltycms.com/mcp"
    }
  }
}
1
Open your client's MCP configuration settings and add a new Streamable HTTP server.
2
Paste the JSON block above and restart your AI client.

Custom Bots & SDKs

Perfect for building automated agents or custom CI/CD memory tools.

	import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";

	const transport = new StreamableHTTPClientTransport(
	  new URL("https://mcp.sveltycms.com/mcp")
	);
	await transport.start();
	// Connect and interact with tools...

Available Tools

All tools are read-only. Your agent can explore the SveltyCMS codebase but cannot modify anything.

search_knowledge_base

Semantic search across SveltyCMS docs and code via neural vector similarity.

query · category (code|docs|meta|external) · limit
Public ✓
read_source_code

Read the full content of any source file from the SveltyCMS project.

filePath (e.g. src/widgets/index.ts)
Local Only
list_directory

List files and folders in a given directory.

dirPath (relative directory path)
Local Only
get_file_tree

Get a recursive tree of the project structure up to a specified depth.

depth (default: 3)
Local Only
search_code

Fast text/regex search across all project files. Finds component imports, function references, and symbol usage.

pattern · includePattern · caseSensitive · maxResults
Local Only
list_collections

List all content collections with field definitions and metadata.

includeFields · includeStats
Public ✓
query_content

Query content entries with filters, sorting, and pagination.

collection · limit · offset · filter · sort
Public ✓
create_content_item

Create a new content entry in any collection.

collection · data
Public ✓
update_content_item

Update an existing content entry with partial data.

collection · id · data
Public ✓
delete_content_item

Delete a content entry by its ID. Use with caution.

collection · id
Public ✓
Operational tools require SVELTYCMS_API_URL and SVELTYCMS_API_KEY to be configured on the server.

Available Resources

MCP Resources represent static data or documentation that agents can read directly.

sveltycms://docs

Provides the complete SveltyCMS developer handbook, outlining component architecture, state management, and runes conventions.

MIME Type: text/markdown

Available Prompts

Prompts are one-shot templates that guide the AI through specific tasks. Select them from your AI assistant's prompt picker.

analyze-component

Deep-dive analysis of a Svelte 5 component: props, runes, reactivity, accessibility, and CMS integration.

Args: componentPath
find-unused-code

Scan a file or directory for dead code — exports never imported, functions never called.

Args: targetPath
svelte-4-to-5-migration

Analyze a Svelte 4 component and generate a line-by-line migration plan to Svelte 5 runes.

Args: componentPath
code-review

Comprehensive review: TypeScript types, Svelte 5 patterns, a11y, performance, security, and CMS conventions.

Args: filePath, focus (optional)

Safe & Read-Only

This MCP server is completely read-only — no write tools exist. Your agent can explore the SveltyCMS codebase, search documentation, and read source files, but it cannot modify, delete, or create anything.

Sensitive paths are blocked: .git, node_modules, .env, config, logs

Example Queries

Try these questions in any MCP-compatible AI assistant:

search_knowledge_base

"How does the Local SDK caching work?"

search_knowledge_base(
  query: "How does the Local SDK caching work?",
  category: "docs",
  limit: 5
)
read_source_code

"Show me the Local SDK entry point."

read_source_code(
  filePath: "src/services/sdk/index.ts"
)
search_code

"Where is input validation implemented in the services?"

search_code(
  pattern: "validate",
  includePattern: "src/services/**",
  maxResults: 20
)