mirror of
https://github.com/sveltejs/ai-tools.git
synced 2026-08-03 09:04:16 +08:00
Co-authored-by: jyc.dev <jycouet@gmail.com> Co-authored-by: Tee Ming <chewteeming01@gmail.com> Co-authored-by: Rich Harris <rich.harris@vercel.com>
26 lines
1.2 KiB
Markdown
26 lines
1.2 KiB
Markdown
---
|
|
title: Cursor
|
|
---
|
|
|
|
Cursor has a [plugin system](https://cursor.com/docs/plugins) that can bundle rules, skills, agents, commands, MCP servers, and hooks.
|
|
|
|
The Svelte plugin gives you the remote Svelte MCP server, Cursor [skills](skills), an always-on rule that tells the model how to use the Svelte MCP tools correctly, and the `svelte-file-editor` subagent for working on `.svelte` files and `.svelte.ts`/`.svelte.js` modules. The source is available in the [`sveltejs/ai-tools`](https://github.com/sveltejs/ai-tools/tree/main/plugins/cursor/svelte) repo.
|
|
|
|
## Installation
|
|
|
|
Install the plugin from the [Cursor Marketplace](https://cursor.com/marketplace/svelte) with the following command:
|
|
|
|
```
|
|
/add-plugin svelte
|
|
```
|
|
|
|
Plugins can be installed either for the current project or at user level.
|
|
|
|
Once installed, Cursor will discover the plugin components automatically:
|
|
|
|
- the Svelte MCP server is added from the plugin's `.mcp.json`
|
|
- rules and skills appear in Cursor's rules UI
|
|
- the `svelte-file-editor` agent becomes available in chat
|
|
|
|
> [!NOTE] The Cursor CLI does not support plugins yet. Plugin support in [Cloud Agents](https://cursor.com/docs/cloud-agent) is limited to MCP servers.
|