AI tools
Skills
SVAR skills work with AI coding agents that support the SKILL.md convention, including Claude Code, Cursor, OpenAI Codex CLI, and Gemini CLI.
Run the following command to install the skill:
npx skills add svar-widgets/skills --skill svar-svelte
You can also download the skill folder manually from the skills repository.
Using skills
Skills are loaded automatically when the agent decides they match the task. To guarantee that a skill is used, invoke it explicitly:
- In Claude Code: start your prompt with
/svar-svelte - In OpenAI Codex CLI: start your prompt with
$svar-svelte
Flat context files for other tools
If you use tools without native skill support, like ChatGPT, GitHub Copilot, or browser-based playgrounds, the guides folder provides the same context as plain markdown files you can paste or attach:
svar-svelte-<package>.md— context for a single package:svar-svelte-core.md,svar-svelte-comments.md,svar-svelte-menu.md,svar-svelte-tasklist.md,svar-svelte-toolbar.md
MCP
In the modern development landscape, AI automation tools have become essential for efficient coding and problem-solving. To support this, we provide dedicated resources that allow AI agents to better understand and work with our products.
SVAR MCP
Currently, we offer a Model Context Protocol (MCP) server, which connects your AI assistant directly to our latest documentation and code examples.
The SVAR MCP server acts as a bridge between our documentation and your AI coding tool. Large Language Models (LLMs) often have training data cutoff dates, meaning they might not know about the latest features, API changes, or best practices for our libraries.
Our MCP server solves this by providing:
- Fresh Documentation: Real-time access to the latest version of our documentation.
- RAG-based Solutions: A custom Retrieval-Augmented Generation (RAG) solution that finds relevant information and generates precise code snippets based on your specific queries.
When enabled, your AI agent can "ask" our server for help, ensuring that the code it generates for you is accurate, up-to-date, and follows our recommended patterns.
Server URL: https://docs.svar.dev/mcp
Hosted service
The SVAR MCP server is provided as a fully managed, hosted service. Due to its high resource requirements and stateless nature (it does not access or store local user data), it is not available for local deployment.
Service doesn't store any personal information of MCP users. Queries sent to the server may be stored for debugging and service improvement purposes though. If you want to opt-out of this, please contact us at info@svar.dev, we can provide a commercial version of the service with guaranteed no-logging policies.
Integration guides
Here are instructions on how to enable the SVAR MCP server in popular AI coding tools.
Claude Code
To use the MCP server with Claude Code, you can add it via the command line or configure it in your project settings.
Using the CLI:
Run the following command in your terminal:
claude mcp add --transport http svar-mcp https://docs.svar.dev/mcp
Manual Configuration:
You can also add it to your ~/.claude.json or .mcp.json configuration file:
{
"mcpServers": {
"svar-mcp": {
"type": "http",
"url": "https://docs.svar.dev/mcp"
}
}
}
For more information, consult the official documentation.
Cursor
Cursor has built-in support for MCP servers.
- Open Cursor Settings (Cmd+Shift+J or Ctrl+Shift+J).
- Navigate to Tools & MCP.
- Click Add Custom MCP.
- Enter server configuration
{
"mcpServers": {
"svar-mcp": {
"url": "https://docs.svar.dev/mcp"
}
}
}
Once added, you can reference it in your chats (e.g., "Check SVAR Docs for how to configure the menu").
Alternatively, you can install the SVAR MCP server directly in Cursor with one click:
Install MCP for CursorLearn more in the official documentation.
VS Code
Click the button to install the SVAR MCP server directly in VS Code:
Install MCP for VS CodeGemini CLI
To use the server with the Gemini CLI tool:
gemini mcp add --transport http svar-mcp https://docs.svar.dev/mcp
Alternatively, you can configure it manually:
- Locate your configuration file, typically at
~/.gemini/settings.json. - Add the server to the
mcpServersobject:
{
"mcpServers": {
"svar-mcp": {
"url": "https://docs.svar.dev/mcp"
}
}
}
- Restart the Gemini CLI.
See the official documentation for further details.
Antigravity (Google)
For Google's Antigravity agent:
- Open command palette and type "mcp add"
- Select "HTTP"
- Enter the URL
https://docs.svar.dev/mcp. - Enter the Name
svar-mcp.
Refer to the official documentation for more guidance.
Other IDEs / Tools
- Check the settings for Model Context Protocol or Context Sources.
- Add a new custom source with the URL
https://docs.svar.dev/mcp.
ChatGPT
To enable the server in ChatGPT:
- Open ChatGPT and navigate to Settings / Apps & Connectors.
- Click Advanced settings.
- Enable the Developer mode
- Go "Back" and now you must have the "Create" button on the "Connectors" screen, click it
- Enter Name
svar-mcp - Enter URL
https://docs.svar.dev/mcp - Select
No authenticationas Authentication - Click Create to finish
You can now ask your Custom GPT to "Consult the SVAR MCP server" when asking questions about Svelte Core.
Full setup details are available in the official documentation.