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-react
You can also download the skill folder manually from the skills repository.
Using skills
Skills load automatically when the agent decides they match the task. To force a skill, invoke it explicitly:
- In Claude Code: start your prompt with
/svar-react - In OpenAI Codex CLI: start your prompt with
$svar-react
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-react-editor.md- context for the editor packagesvar-react-all.md- context for all packages in one file
MCP
The SVAR Model Context Protocol (MCP) server connects your AI assistant directly to the latest documentation and code examples.
LLMs have training-data cutoff dates, so they often miss recent features, API changes, or current best practices. The MCP server closes that gap. It provides:
- Fresh documentation: real-time access to the latest docs.
- RAG-based answers: a Retrieval-Augmented Generation solution that finds relevant docs and generates precise code snippets for your query.
Once enabled, your AI agent queries the server for help, so the code it generates stays accurate and up to date.
Server URL: https://docs.svar.dev/mcp
Hosted service
The MCP server is hosted and ready to use-there is nothing to install or run locally. Add the server URL to your AI tool to get started.
We do not collect or store information that identifies you. We may store anonymized queries to debug and improve the service.
Integration guides
Use these steps to enable the SVAR MCP server in popular AI coding tools.
Claude Code
Add the server with the Claude Code CLI:
claude mcp add --transport http svar-mcp https://docs.svar.dev/mcp
You can also add it manually to your ~/.claude.json or .mcp.json configuration file:
{
"mcpServers": {
"svar-mcp": {
"type": "http",
"url": "https://docs.svar.dev/mcp"
}
}
}
For more details, see the official documentation.
OpenAI Codex
Add the server with the Codex CLI:
codex mcp add svar-mcp --url https://docs.svar.dev/mcp
You can also add it manually to the global ~/.codex/config.toml file or a project-level .codex/config.toml file:
[mcp_servers.svar-mcp]
url = "https://docs.svar.dev/mcp"
Run codex mcp list to verify the configuration. In the Codex terminal UI, use /mcp to view the active servers.
For more details, see 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 the server configuration:
{
"mcpServers": {
"svar-mcp": {
"url": "https://docs.svar.dev/mcp"
}
}
}
Once added, reference it in your chats (e.g., "Check SVAR Docs for how to configure the editor").
You can also 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 CodeGoogle Antigravity
Antigravity 2.0
Refer to the official documentation for more guidance.
Follow the steps:
- Open the command palette and type "mcp add".
- Select "HTTP".
- Enter the URL
https://docs.svar.dev/mcp. - Enter the Name
svar-mcp.
Antigravity CLI
Check the related guide to learn about migration from Gemini CLI to Antigravity CLI.
To use the server with the Antigravity CLI tool:
agy mcp add --transport http svar-mcp https://docs.svar.dev/mcp
You can also configure it manually:
- Create your MCP configuration file in one of these locations:
- Global:
~/.gemini/config/mcp_config.json - Workspace:
.agents/mcp_config.json
- Global:
- Add the server to the
mcpServersobject:
{
"mcpServers": {
"svar-mcp": {
"serverUrl": "https://docs.svar.dev/mcp"
}
}
}
- Run
agyin the terminal.
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 Developer mode.
- Go "Back". The "Connectors" screen now shows a "Create" button - click it.
- Enter the Name
svar-mcp. - Enter the 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 React Editor.
Full setup details are available in the official documentation.