Skip to content

Add Svelte MCP server shared workflow and test#2020

Merged
pelikhan merged 3 commits intomainfrom
copilot/add-shared-agentic-workflow
Oct 20, 2025
Merged

Add Svelte MCP server shared workflow and test#2020
pelikhan merged 3 commits intomainfrom
copilot/add-shared-agentic-workflow

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Oct 20, 2025

This PR adds support for the Svelte MCP server documented at https://svelte.dev/docs/mcp/overview.

Changes

New Shared MCP Configuration

Created .github/workflows/shared/mcp/svelte.md which configures a remote HTTP MCP server that provides access to:

  • list-sections - Lists all available Svelte documentation sections
  • get-documentation - Retrieves full and up-to-date Svelte 5 and SvelteKit documentation
  • svelte-autofixer - Provides static analysis suggestions for generated code
  • playground-link - Generates playground links to test code
  • svelte_definition - Accesses detailed Svelte 5 and SvelteKit definitions

The server is publicly accessible at https://mcp.svelte.dev/mcp with no authentication required.

Test Workflow

Created .github/workflows/test-svelte.md to demonstrate and validate the Svelte MCP functionality. The test workflow:

  1. Lists all available Svelte documentation sections
  2. Retrieves documentation about Svelte 5 runes (specifically $state)
  3. Creates a simple Svelte 5 component demonstrating the rune
  4. Analyzes the component with the autofixer
  5. Generates a playground link for testing

Implementation Details

The implementation follows existing patterns in the repository:

  • Uses remote HTTP MCP server configuration (similar to tavily, deepwiki, etc.)
  • Includes comprehensive inline documentation
  • All workflows compile successfully with proper MCP configuration
  • MCP inspection confirms correct server setup
  • The shared Svelte MCP configuration is available for import in any workflow that needs Svelte documentation access

Testing

  • ✅ All Go unit tests pass
  • ✅ Workflows compile without errors
  • ✅ MCP inspection validates configuration
  • ✅ Code formatted and linted
Original prompt

Add a shared agentic workflow for the svelte mcp documented at https://svelte.dev/docs/mcp/overview

Add a test agentic workflow that uses that mcp.

Import it to scout.md


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Add shared agentic workflow for Svelte MCP Add Svelte MCP server shared workflow and test Oct 20, 2025
Copilot AI requested a review from pelikhan October 20, 2025 11:01
Comment thread .github/workflows/scout.md Outdated
- shared/mcp/deepwiki.md
- shared/mcp/context7.md
- shared/mcp/markitdown.md
- shared/mcp/svelte.md
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot remove from scout

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed Svelte MCP from scout.md in commit 4c09e89. Both the import statement and the documentation reference have been removed and the workflow has been recompiled.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI requested a review from pelikhan October 20, 2025 11:10
@pelikhan pelikhan marked this pull request as ready for review October 20, 2025 11:16
@pelikhan pelikhan merged commit 35da244 into main Oct 20, 2025
5 checks passed
@pelikhan pelikhan deleted the copilot/add-shared-agentic-workflow branch October 20, 2025 11:16
@github-actions
Copy link
Copy Markdown
Contributor

Agentic Changeset Generator triggered by this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants