-
Notifications
You must be signed in to change notification settings - Fork 4
docs: add documentation for svelte.dev #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
claude mcp add -t stdio -s [scope] [name] npx -y @sveltejs/mcp | ||
``` | ||
|
||
You can choose your preferred `scope` (it must be `user`, `project` or `local`) and `name`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is name
required? what are the conventions here? can we make a suggestion, or even just hardcode something in the command? (presumably savvy users will understand that they can customise it)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is required, and we could just assume that they want to call it svelte
but it might conflict with their setup already (if they are using the mcp from @khromov). If we want to change it to svelte
it's absolutely fine tho.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the official MCP server supersede the existing one? If so then I think it's fine for them to conflict, people will figure it out
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah it should because it's basically the same++...it's just that it will probably error out in that case...but i think it's fine.
title: Remote setup | ||
--- | ||
|
||
The remote version of the MCP server is available on `https://mcp.svelte.dev/mcp`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The remote version of the MCP server is available on `https://mcp.svelte.dev/mcp`. | |
The remote version of the MCP server is available at [mcp.svelte.dev/mcp](https://mcp.svelte.dev/mcp). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mmm since it's not something that the user needs to navigate to but copy into their setup i think it's better if it is a codeblock rather than a link
Co-authored-by: Rich Harris <hello@rich-harris.dev>
|
||
You can choose your preferred `name`. | ||
|
||
## VSCode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## VSCode | |
## VS Code |
|
||
## VSCode | ||
|
||
- Open the command Palette |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Open the command Palette | |
- Open the command palette |
|
||
## Cursor | ||
|
||
- Open the command Palette |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Open the command Palette | |
- Open the command palette |
Co-authored-by: Rich Harris <hello@rich-harris.dev>
Co-authored-by: Rich Harris <hello@rich-harris.dev>
Co-authored-by: Rich Harris <hello@rich-harris.dev>
This Adds the documentation that will be synced to
svelte.dev
. I'm gonna also open a PR there and link it here (it should give a better preview).Here's the PR on svelte.dev
sveltejs/svelte.dev#1587
And here's the rendered version
https://svelte-dev-git-add-mcp-docs-svelte.vercel.app/docs/mcp/overview