Skip to content

Commit 81b999c

Browse files
Sync cli docs (#1624)
sync cli docs Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>
1 parent 7f526a4 commit 81b999c

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

apps/svelte.dev/content/docs/cli/20-commands/20-sv-add.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ You can select multiple space-separated add-ons from [the list below](#Official-
3232
- [`drizzle`](drizzle)
3333
- [`eslint`](eslint)
3434
- [`lucia`](lucia)
35+
- [`mcp`](mcp)
3536
- [`mdsvex`](mdsvex)
3637
- [`paraglide`](paraglide)
3738
- [`playwright`](playwright)
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
NOTE: do not edit this file, it is generated in apps/svelte.dev/scripts/sync-docs/index.ts
3+
title: mcp
4+
---
5+
6+
[Svelte MCP](/docs/mcp/overview) can help your LLM write better Svelte code.
7+
8+
## Usage
9+
10+
```sh
11+
npx sv add mcp
12+
```
13+
14+
## What you get
15+
16+
- A good mcp configuration for your project depending on your IDE
17+
18+
## Options
19+
20+
### ide
21+
22+
The IDE you want to use like `'claude-code'`, `'cursor'`, `'gemini'`, `'opencode'`, `'vscode'`, `'other'`.
23+
24+
```sh
25+
npx sv add mcp=ide:cursor,vscode
26+
```
27+
28+
### setup
29+
30+
The setup you want to use.
31+
32+
```sh
33+
npx sv add mcp=setup:local
34+
```

0 commit comments

Comments
 (0)