stencil-mcp
Provides tools for interacting with StencilJS projects, including detecting the Stencil version, retrieving decorator and lifecycle references, and enforcing best practices for Stencil component development.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@stencil-mcpHow should I use @Listen to avoid manual event listeners?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@stencil/mcp
A Model Context Protocol server that gives AI coding agents accurate, version-aware knowledge of a StencilJS project.
Proof-of-concept for stenciljs/core#6518.
Why
AI agents frequently suggest non-idiomatic Stencil code — e.g. manually adding a
window.addEventListener in componentWillLoad instead of using the built-in
@Listen() decorator, or mutating a @Prop. This server exposes Stencil's real
API surface and best practices to the agent so it can self-correct, and tells it
which Stencil version the project is actually running.
Related MCP server: Context7 MCP
Tools
Tool | Purpose |
| Resolves the version from |
| Signatures, idiomatic examples, and anti-patterns for |
| The component lifecycle hooks and when each fires. |
| Concrete "wrong vs right" rules so agents use built-in Stencil features. |
All reference content is sourced from Stencil's own public runtime type declarations, so it matches the framework rather than guessing.
Usage
npm install && npm run buildRegister with an MCP-capable client (Claude Desktop, Cursor, VS Code, etc.):
{
"mcpServers": {
"stencil": {
"command": "npx",
"args": ["-y", "@stencil/mcp"]
}
}
}Develop
npm run build # compile TypeScript
npm test # unit tests (node:test)
node test/smoke.mjs # end-to-end MCP stdio testLicense
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides reference information for Flux UI components, enabling AI assistants to access component documentation and examples from the Flux UI design system.Last updated44393MIT
- AlicenseAqualityDmaintenanceProvides up-to-date, version-specific documentation and code examples for libraries and frameworks directly into AI prompts, eliminating outdated code generation and hallucinated APIs.Last updated21,139,612MIT
- AlicenseBqualityDmaintenanceProvides AI assistants with tools to grade, generate, and validate UI components against the components.build specification. Supports searching documentation, checking compliance, and generating framework-agnostic accessible components.Last updated1129Apache 2.0
- AlicenseAqualityDmaintenanceProvides AI coding assistants with on-demand access to component specs, test scenarios, accessibility requirements, and build guides from the Web UI Component Specification.Last updated10MIT
Related MCP Connectors
Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…
@latest documentation and code examples to 9000+ libraries for LLMs and AI code editors in a singl…
Get up-to-date, version-specific documentation and code examples from official sources directly in…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Arul1998/stencil-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server