Svelte MCP Power
Svelte MCP server power for Kiro, providing up-to-date documentation, code analysis, and playground integration for building better Svelte applications with AI assistance.
What is this?
This is a Kiro Power that integrates the official Svelte MCP server into your development workflow. It enables AI assistants to:
- Access up-to-date Svelte documentation directly from svelte.dev
- Analyze Svelte code and provide best practice suggestions
- Generate playground links for quick testing
- Stay current with Svelte 5 features and patterns
Installation
Via Kiro Powers UI (Recommended)
- Open Kiro
- Open the Powers panel (Command Palette → "Powers: Open Panel")
- Click "Add Custom Power"
- Choose one of these options:
- GitHub URL:
https://github.com/coreyx/svelte-mcp-power
- Local Directory: Point to the
svelte-mcp-power directory
Manual Installation
Clone this repository and add the power via local directory:
git clone https://github.com/coreyx/svelte-mcp-power.git
cd svelte-mcp-power
Then in Kiro:
- Open Powers panel
- Click "Add Custom Power"
- Select "Local Directory"
- Provide the full path to
svelte-mcp-power
What's Included
MCP Server Configuration
The power automatically configures the Svelte MCP server (@sveltejs/mcp) when installed. No manual MCP setup required!
Documentation
Comprehensive documentation covering:
- Onboarding: Installation and verification
- Workflows: 4 complete workflows for common tasks
- Tools Reference: Detailed documentation for all 4 MCP tools
- Troubleshooting: Solutions for common issues
- Best Practices: Guidelines for effective usage
Once installed, you'll have access to these MCP tools:
- list-sections: Browse available Svelte documentation sections
- get-documentation: Fetch full documentation content
- svelte-autofixer: Analyze code and get improvement suggestions
- playground-link: Generate shareable Svelte playground links
Usage
After installation, simply mention Svelte-related topics in your conversations with Kiro, and the power will automatically activate. The AI assistant will use the MCP tools to:
- Fetch relevant Svelte documentation
- Generate Svelte 5 code with best practices
- Analyze and fix code issues
- Create playground links for testing
Example Requests
- "Create a counter component using Svelte 5 runes"
- "Show me how to use $derived in Svelte 5"
- "Analyze this Svelte component and suggest improvements"
- "Generate a playground link for this code"
Requirements
- Kiro IDE
- Node.js 16+ (for npx)
- Internet connection (for fetching documentation)
About Svelte MCP
This power wraps the official Svelte MCP server maintained by the Svelte team. The server provides real-time access to Svelte documentation and code analysis tools.
Contributing
Contributions are welcome! Please feel free to submit issues or pull requests.
License
This power documentation is provided as-is. The Svelte MCP server itself is maintained by the Svelte team under their license terms.
Author
Created by coreyx
Keywords: svelte, svelte5, documentation, code-analysis, playground