# Vscode Web Components Ai

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

- **Type:** MCP server
- **Install:** `agentstack add mcp-d13-vscode-web-components-ai`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [d13](https://agentstack.voostack.com/s/d13)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [d13](https://github.com/d13)
- **Source:** https://github.com/d13/vscode-web-components-ai
- **Website:** https://marketplace.visualstudio.com/items?itemName=d13.vscode-web-components-ai

## Install

```sh
agentstack add mcp-d13-vscode-web-components-ai
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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](https://github.com/d13/vscode-web-components-ai/blob/main/docs/configure-mcp.md)** guide on how to integrate with your preferred AI assistants including Copilot, Cursor, Windsurf, Claude Code, and many more.

VS Code `>=1.101.0` registers the MCP server automatically with AI chat, run `MCP: List Servers` in the command palette to see the server listed.

> Have questions or concerns? Let's talk directly through the [GitHub Discussions page](https://github.com/d13/vscode-web-components-ai/discussions). Having a positive experience? Feel free to [write a review](https://marketplace.visualstudio.com/items?itemName=d13.vscode-web-components-ai&ssr=false#review-details).

## 🛠️ 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](https://github.com/d13/vscode-web-components-ai/discussions).

### Issues & Feature Requests

If you encounter any issues or have feature requests, please report them on the [GitHub Issues page](https://github.com/d13/vscode-web-components-ai/issues).

### Contributing

We welcome contributions! Please see our [Contributing Guide](https://github.com/d13/vscode-web-components-ai/blob/main/CONTRIBUTING.md) for more information.

## 🔗 Related Projects

- [Custom Elements Manifest](https://custom-elements-manifest.open-wc.org/) - Standard for describing custom elements
- [Model Context Protocol](https://modelcontextprotocol.io/) - Protocol for AI assistant integrations
- [Web Components Toolkit](https://wc-toolkit.com/) - Utilities for working with Custom Elements Manifests

## 📝 License

See [LICENSE](LICENSE) file for details.

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [d13](https://github.com/d13)
- **Source:** [d13/vscode-web-components-ai](https://github.com/d13/vscode-web-components-ai)
- **License:** MIT
- **Homepage:** https://marketplace.visualstudio.com/items?itemName=d13.vscode-web-components-ai

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-d13-vscode-web-components-ai
- Seller: https://agentstack.voostack.com/s/d13
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
