Compare commits

..

1 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
7c4efa0d26 Update mcp-remote Svelte lockfile 2026-06-12 09:04:23 +00:00
7 changed files with 20 additions and 31 deletions

View File

@@ -2,8 +2,12 @@ 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,21 +66,16 @@ Alternatively, create or edit `~/.copilot/mcp-config.json` and add the following
}
```
## Antigravity CLI
## Gemini CLI
To use the local MCP version in Antigravity CLI, create or edit `~/.gemini/config/mcp_config.json` and add the following configuration:
To include the local MCP version in Gemini CLI, simply run the following command:
```json
{
"mcpServers": {
"svelte": {
"command": "npx",
"args": ["-y", "@sveltejs/mcp"]
}
}
}
```bash
gemini mcp add -t stdio -s [scope] svelte npx -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,20 +56,16 @@ Alternatively, create or edit `~/.copilot/mcp-config.json` and add the following
}
```
## Antigravity CLI
## Gemini CLI
To use the remote MCP version in Antigravity CLI, create or edit `~/.gemini/config/mcp_config.json` and add the following configuration:
To use the remote MCP server with Gemini CLI, simply run the following command:
```json
{
"mcpServers": {
"svelte": {
"url": "https://mcp.svelte.dev/mcp"
}
}
}
```bash
gemini mcp add -t http -s [scope] svelte 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 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.',
'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.',
),
),
async: v.pipe(

View File

@@ -1,11 +1,5 @@
# @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.25",
"version": "0.1.24",
"type": "module",
"license": "MIT",
"mcpName": "dev.svelte/mcp",

View File

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