Skip to content

Supercharge your AI coding assistants with web component information from your workspace and dependencies.

License

Notifications You must be signed in to change notification settings

d13/vscode-web-components-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Component AI Tools

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.

🚀 Benefits

  • 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

✨ Features

🔍 Automatic Component Discovery

  • 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

📡 Model Context Protocol Server

  • 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

🤖 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

🛠️ Powerful Component Tools

  • 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

🚀 Getting Started

Installation

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.

AI Assistant Integration

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.

🛠️ Available Tools & Resources

MCP Tools

  • search-components: Search for components by class name, tag name, or description
  • get-component-details-by-tag-name: Get detailed information about a specific component by tag name
  • get-component-details-by-class-name: Get detailed information about a specific component by class name
  • list-all-components: List all available components with optional detailed information

MCP Resources

  • manifest://components: Access to all component data in JSON format
  • manifest://components/{tag}: Access to specific component data by tag name

🤝 Community

Discussions & Feedback

If you have any questions or want to share your experiences, please join-in on our GitHub Discussions page.

Issues & Feature Requests

If you encounter any issues or have feature requests, please report them on the GitHub Issues page.

Contributing

We welcome contributions! Please see our Contributing Guide for more information.

🔗 Related Projects

📝 License

See LICENSE file for details.

About

Supercharge your AI coding assistants with web component information from your workspace and dependencies.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks