Compare commits

..

5 Commits

Author SHA1 Message Date
github-actions[bot]
a668188dfa Version Packages (#229) 2026-06-26 18:20:51 +02:00
paoloricciuti
59dcbff136 fix: better wording for desired_svelte_version 2026-06-26 12:37:50 +02:00
prajwal
129a307df0 docs: migrate to agy (#228)
Co-authored-by: prajwal <prajwal@hopbox.in>
2026-06-24 18:16:22 +02:00
Paolo Ricciuti
d051d7ce6c chore: remove log 2026-06-12 11:12:22 +02:00
Copilot
54a84c5512 Updating Svelte version in mcp-remote app (#226)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-06-12 11:09:38 +02:00
7 changed files with 31 additions and 20 deletions

View File

@@ -2,12 +2,8 @@ import { dev } from '$app/environment';
import { http_transport } from '$lib/mcp/index.js';
import { redirect } from '@sveltejs/kit';
import { track } from '@vercel/analytics/server';
import {
VERSION
} from 'svelte/compiler';
export async function handle({ event, resolve }) {
console.log(VERSION);
if (event.request.method === 'GET') {
const accept = event.request.headers.get('accept');
if (accept) {

View File

@@ -66,16 +66,21 @@ Alternatively, create or edit `~/.copilot/mcp-config.json` and add the following
}
```
## Gemini CLI
## Antigravity CLI
To include the local MCP version in Gemini CLI, simply run the following command:
To use the local MCP version in Antigravity CLI, create or edit `~/.gemini/config/mcp_config.json` and add the following configuration:
```bash
gemini mcp add -t stdio -s [scope] svelte npx -y @sveltejs/mcp
```json
{
"mcpServers": {
"svelte": {
"command": "npx",
"args": ["-y", "@sveltejs/mcp"]
}
}
}
```
The `[scope]` must be `user`, `project` or `local`.
## OpenCode
You can automatically configure the MCP server using the [OpenCode plugin](opencode-plugin) (recommended). If you prefer to configure the MCP server manually, run:

View File

@@ -56,16 +56,20 @@ Alternatively, create or edit `~/.copilot/mcp-config.json` and add the following
}
```
## Gemini CLI
## Antigravity CLI
To use the remote MCP server with Gemini CLI, simply run the following command:
To use the remote MCP version in Antigravity CLI, create or edit `~/.gemini/config/mcp_config.json` and add the following configuration:
```bash
gemini mcp add -t http -s [scope] svelte https://mcp.svelte.dev/mcp
```json
{
"mcpServers": {
"svelte": {
"url": "https://mcp.svelte.dev/mcp"
}
}
}
```
The `[scope]` must be `user` or `project`.
## OpenCode
You can automatically configure the MCP server using the [OpenCode plugin](opencode-plugin) (recommended). If you prefer to configure the MCP server manually, run:

View File

@@ -25,7 +25,7 @@ function get_autofixer_schema(stdio: boolean) {
desired_svelte_version: v.pipe(
v.union([v.string(), v.number()]),
v.description(
'The desired svelte version...if possible read this from the package.json of the user project, otherwise use some hint from the wording (if the user asks for runes it wants version 5). Default to 5 in case of doubt.',
'The desired major svelte version as an integer (must be 4 or 5)...if possible read this from the package.json of the user project, otherwise use some hint from the wording (if the user asks for runes it wants version 5). Default to 5 in case of doubt.',
),
),
async: v.pipe(

View File

@@ -1,5 +1,11 @@
# @sveltejs/mcp
## 0.1.25
### Patch Changes
- fix: better wording for `desired_svelte_version` ([`59dcbff`](https://github.com/sveltejs/ai-tools/commit/59dcbff136a91efad5a0e978e8208e1b1d277f97))
## 0.1.24
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@sveltejs/mcp",
"version": "0.1.24",
"version": "0.1.25",
"type": "module",
"license": "MIT",
"mcpName": "dev.svelte/mcp",

View File

@@ -9,7 +9,7 @@
"subfolder": "packages/mcp-stdio",
"source": "github"
},
"version": "0.1.24",
"version": "0.1.25",
"websiteUrl": "https://svelte.dev/docs/mcp/overview",
"icons": [
{
@@ -25,7 +25,7 @@
{
"registryType": "npm",
"identifier": "@sveltejs/mcp",
"version": "0.1.24",
"version": "0.1.25",
"runtimeHint": "npx",
"transport": {
"type": "stdio"