Skip to content

Commit dc16a42

Browse files
chore: apply suggestions from code review
Co-authored-by: Rich Harris <[email protected]>
1 parent 3b50014 commit dc16a42

File tree

2 files changed

+6
-20
lines changed

2 files changed

+6
-20
lines changed

documentation/docs/20-setup/20-local-setup.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To include the local MCP version in Claude Code, simply run the following comman
1818
claude mcp add -t stdio -s [scope] svelte npx -y @sveltejs/mcp
1919
```
2020

21-
You can choose your preferred `scope` (it must be `user`, `project` or `local`) and `name`.
21+
The `[scope]` must be `user`, `project` or `local`.
2222

2323
## Claude Desktop
2424

@@ -35,8 +35,6 @@ In the Settings > Developer section, click on Edit Config. It will open the fold
3535
}
3636
```
3737

38-
The top level must be `mcpServers` but you can choose your preferred `name`.
39-
4038
## Codex CLI
4139

4240
Add the following to your `config.toml` (which defaults to `~/.codex/config.toml`, but refer to [the configuration documentation](https://github.com/openai/codex/blob/main/docs/config.md) for more advanced setups):
@@ -47,8 +45,6 @@ command = "npx"
4745
args = ["-y", "@sveltejs/mcp"]
4846
```
4947

50-
The top level must be `mcp_server` but you can choose your preferred `name`.
51-
5248
## Gemini CLI
5349

5450
To include the local MCP version in Gemini CLI, simply run the following command:
@@ -57,7 +53,7 @@ To include the local MCP version in Gemini CLI, simply run the following command
5753
gemini mcp add -t stdio -s [scope] svelte npx -y @sveltejs/mcp
5854
```
5955

60-
You can choose your preferred `scope` (it must be `user`, `project` or `local`) and `name`.
56+
The `[scope]` must be `user`, `project` or `local`.
6157

6258
## OpenCode
6359

@@ -84,15 +80,13 @@ opencode mcp add
8480
│ npx -y @sveltejs/mcp
8581
```
8682

87-
You can choose your preferred `name`.
88-
8983
## VS Code
9084

9185
- Open the command palette
9286
- Select "MCP: Add Server..."
9387
- Select "Command (stdio)"
9488
- Insert `npx -y @sveltejs/mcp` in the input and press `Enter`
95-
- Insert your preferred name
89+
- When prompted for a name, insert `svelte`
9690
- Select if you want to add it as a `Global` or `Workspace` MCP server
9791

9892
## Cursor
@@ -114,8 +108,6 @@ It will open a file with your MCP servers where you can add the following config
114108
}
115109
```
116110

117-
The top level must be `mcpServers` but you can choose your preferred `name`.
118-
119111
## Other clients
120112

121113
If we didn't include the MCP client you are using, refer to their documentation for `stdio` servers and use `npx` as the command and `-y @sveltejs/mcp` as the arguments.

documentation/docs/20-setup/30-remote-setup.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ You can choose your preferred `scope` (it must be `user`, `project` or `local`)
2020

2121
- Open Settings > Connectors
2222
- Click on Add Custom Connector
23-
- Insert the name you prefer most
24-
- Insert `https://mcp.svelte.dev/mcp` as the `Remote MCP server URL`
23+
- When prompted for a name, enter `svelte`
24+
- Under the Remote MCP server URL input, use `https://mcp.svelte.dev/mcp`
2525
- Click Add
2626

2727
## Codex CLI
@@ -34,8 +34,6 @@ experimental_use_rmcp_client = true
3434
url = "https://mcp.svelte.dev/mcp"
3535
```
3636

37-
To use HTTP servers in Codex you need to enable `experimental_use_rmcp_client` and the top level must be `mcp_server` but you can choose your preferred `name`.
38-
3937
## Gemini CLI
4038

4139
To use the remote MCP server with Gemini CLI, simply run the following command:
@@ -44,7 +42,7 @@ To use the remote MCP server with Gemini CLI, simply run the following command:
4442
gemini mcp add -t http -s [scope] svelte https://mcp.svelte.dev/mcp
4543
```
4644

47-
You can choose your preferred `scope` (it must be `user`, `project` or `local`) and `name`.
45+
The `[scope]` must be `user`, `project` or `local`.
4846

4947
## OpenCode
5048

@@ -71,8 +69,6 @@ opencode mcp add
7169
│ https://mcp.svelte.dev/mcp
7270
```
7371

74-
You can choose your preferred `name`.
75-
7672
## VS Code
7773

7874
- Open the command palette
@@ -100,8 +96,6 @@ It will open a file with your MCP servers where you can add the following config
10096
}
10197
```
10298

103-
The top level must be `mcpServers` but you can choose your preferred `name`.
104-
10599
## Other clients
106100

107101
If we didn't include the MCP client you are using, refer to their documentation for `remote` servers and use `https://mcp.svelte.dev/mcp` as the URL.

0 commit comments

Comments
 (0)