Supercharge your AI coding assistants with web component information from your workspace and dependencies. Generate accurate component code using your actual custom elements, properties, and APIs.
- Accelerate UI development by facilitating AI agents to build using your custom elements and web component libraries
- Expose documentation of your web components and libraries through AI chat
- Discovers components from both local code and installed packages
- Scans your workspace for
custom-elements.json
manifest files - Analyzes
package.json
files to find component libraries in dependencies
- Starts a local MCP server with multiple transport options (HTTP and SSE)
- Provides real-time access to component information for AI assistants
- Automatically generates configuration for easy AI assistant integration
- Compatible with Copilot, Cursor, Windsurf, Claude Code, and other MCP-enabled AI tools
- Provides rich component context for accurate code generation
- Enables AI assistants to understand your specific component APIs
- Search Components: Find components by name, tag, or description
- Get Component Details: Retrieve complete component metadata including attributes, properties, methods, and events
- List All Components: Browse all available components in your workspace
- Component Resources: Access structured component data via MCP resources
Install this extension by clicking Install
on the banner above, or from the Extensions side bar in VS Code by searching for d13.vscode-web-components-ai
.
Be sure to have VS Code 1.99.0 or higher installed.
See the Integrating with the MCP Server guide on how to integrate with your preferred AI assistants including Copilot, Cursor, Windsurf, Claude Code, and many more.
Have questions or concerns? Let's talk directly through the GitHub Discussions page. Having a positive experience? Feel free to write a review.
search-components
: Search for components by class name, tag name, or descriptionget-component-details-by-tag-name
: Get detailed information about a specific component by tag nameget-component-details-by-class-name
: Get detailed information about a specific component by class namelist-all-components
: List all available components with optional detailed information
manifest://components
: Access to all component data in JSON formatmanifest://components/{tag}
: Access to specific component data by tag name
If you have any questions or want to share your experiences, please join-in on our GitHub Discussions page.
If you encounter any issues or have feature requests, please report them on the GitHub Issues page.
We welcome contributions! Please see our Contributing Guide for more information.
- Custom Elements Manifest - Standard for describing custom elements
- Model Context Protocol - Protocol for AI assistant integrations
- Web Components Toolkit - Utilities for working with Custom Elements Manifests
See LICENSE file for details.