Skip to content

Commit 8edbf2f

Browse files
committed
fix: disable todos tools
1 parent 6e54719 commit 8edbf2f

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

packages/mcp-server/src/mcp/handlers/resources/list-sections.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export function list_sections(server: SvelteMcp) {
44
server.resource(
55
{
66
name: 'list-sections',
7+
enabled: () => false,
78
description:
89
'The list of all the available Svelte 5 and SvelteKit documentation sections in a structured format.',
910
uri: 'svelte://list-sections',

packages/mcp-server/src/mcp/handlers/tools/get-documentation.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export function get_documentation(server: SvelteMcp) {
55
server.tool(
66
{
77
name: 'get-documentation',
8+
enabled: () => false,
89
description:
910
'Retrieves full documentation content for Svelte 5 or SvelteKit sections. Supports flexible search by title (e.g., "$state", "routing") or file path (e.g., "docs/svelte/state.md"). Can accept a single section name or an array of sections. Before running this, make sure to analyze the users query, as well as the output from list_sections (which should be called first). Then ask for ALL relevant sections the user might require. For example, if the user asks to build anything interactive, you will need to fetch all relevant runes, and so on.',
1011
schema: v.object({

packages/mcp-server/src/mcp/handlers/tools/list-sections.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export function list_sections(server: SvelteMcp) {
44
server.tool(
55
{
66
name: 'list-sections',
7+
enabled: () => false,
78
description:
89
'Lists all available Svelte 5 and SvelteKit documentation sections in a structured format. Returns sections as a list of "* title: [section_title], path: [file_path]" - you can use either the title or path when querying a specific section via the get_documentation tool. Always run list_sections first for any query related to Svelte development to discover available content.',
910
},

0 commit comments

Comments
 (0)