Skip to content

Commit 7ada706

Browse files
Merge pull request #37 from sveltejs/minor-text-fixes
2 parents 1f296e5 + 796c38e commit 7ada706

File tree

4 files changed

+5
-22
lines changed

4 files changed

+5
-22
lines changed

documentation/docs/10-introduction/10-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The Svelte MCP ([Model Context Protocol](https://modelcontextprotocol.io/docs/ge
99
The setup varies based on the version of the MCP you prefer — remote or local — and your chosen MCP client (e.g. Claude Code, Codex CLI or GitHub Copilot):
1010

1111
- [local setup](local-setup) using `@sveltejs/mcp`
12-
- [remote setup](remote-setup) using [mcp.svelte.dev/mcp](https://mcp.svelte.dev/mcp)
12+
- [remote setup](remote-setup) using `https://mcp.svelte.dev/mcp`
1313

1414
## Usage
1515

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Remote setup
33
---
44

5-
The remote version of the MCP server is available on `https://mcp.svelte.dev/mcp`.
5+
The remote version of the MCP server is available at `https://mcp.svelte.dev/mcp`.
66

77
Here's how to set it up in some common MCP clients:
88

documentation/docs/30-capabilities/10-tools.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Tools
33
---
44

5-
The following tools are provided by the MCP server to the model, which can decide to call one or more of them during a session:
5+
The following tools are provided by the MCP server to the model you are using, which can decide to call one or more of them during a session:
66

77
## list-sections
88

@@ -14,7 +14,7 @@ Allows the model to get the full (and up-to-date) documentation for the requeste
1414

1515
## svelte-autofixer
1616

17-
Uses static analysis to provide suggestions for the generated code. It should be invoked in a loop by the model until all issues and suggestions are resolved.
17+
Uses static analysis to provide suggestions for code that your LLM generates. It can be invoked in an agentic loop by your model until all issues and suggestions are resolved.
1818

1919
## playground-link
2020

documentation/docs/30-capabilities/30-prompts.md

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,4 @@ This is the list of available prompts provided by the MCP server. Prompts are se
66

77
## svelte-task
88

9-
This prompt should be used whenever you are asking the model to work on some Svelte-related task. It will instruct the LLM on which documentation sections are available, which tool to invoke, when to invoke it, and how to interpret the result. It will ask you for the description of the task and the returned value will look like this:
10-
11-
```
12-
You are a Svelte expert tasked to build components and utilities for Svelte developers. If you need documentation for anything related to Svelte you can invoke the tool \`get-documentation\` with one of the following paths:
13-
<available-docs-paths>
14-
[all available docs]
15-
</available-docs-paths>
16-
17-
Every time you write a Svelte component or a Svelte module you MUST invoke the \`svelte-autofixer\` tool providing the code. The tool will return a list of issues or suggestions. If there are any issues or suggestions you MUST fix them and call the tool again with the updated code. You MUST keep doing this until the tool returns no issues or suggestions. Only then you can return the code to the user.
18-
19-
This is the task you will work on:
20-
21-
<task>
22-
[your task here]
23-
</task>
24-
25-
If you are not writing the code into a file, once you have the final version of the code ask the user if they want to generate a playground link to quickly check the code in it and if they answer yes call the \`playground-link\` tool and return the url to the user nicely formatted. The playground link MUST be generated only once you have the final version of the code and you are ready to share it, it MUST include an entry point file called \`App.svelte\` where the main component should live. If you have multiple files to include in the playground link you can include them all at the root.
26-
```
9+
This prompt should be used whenever you are asking the model to work on a Svelte-related task. It will instruct the LLM which documentation sections are available, which tools to invoke, when to invoke them, and how to interpret the results.

0 commit comments

Comments
 (0)