@ui5/webcomponents-react-mcp
v2.23.1
Published
MCP server for UI5 Web Components for React - Developer documentation and API assistance
Readme
UI5 Web Components for React MCP Server
MCP server providing development assistance and API documentation for UI5 Web Components for React.
What is this?
This MCP server gives AI assistants direct access to UI5 Web Components for React documentation, component APIs, and utility information. It helps developers get accurate, up-to-date information about the library without leaving their IDE.
Setup
This server is available in the MCP Registry, which allows compatible clients to install it directly.
Claude Code
claude mcp add ui5-wcr -- npx @ui5/webcomponents-react-mcp@latestVS Code / Cursor
Add to .vscode/mcp.json:
{
"servers": {
"ui5-wcr": {
"command": "npx",
"args": ["@ui5/webcomponents-react-mcp@latest"]
}
}
}Pinning a Specific Version
The MCP server is available since @ui5/[email protected]. It shares the same version number and bundles documentation and API data for that specific release. Pinning the version to match your project ensures the AI assistant provides accurate information for the components and APIs you are actually using.
Append @<version> to install a specific version. Note that after updating @ui5/webcomponents-react, you need to update the pinned MCP server version accordingly.
npx @ui5/[email protected]To match the version of @ui5/webcomponents-react installed in your project, run from the project root:
This requires @ui5/webcomponents-react to be installed in the project's node_modules.
npx @ui5/webcomponents-react-mcp@$(node -p "require('@ui5/webcomponents-react/package.json').version")Features
Tools
create_app- Scaffold a new application from an official template- Vite (TypeScript), Next.js App Router, Next.js Pages Router
- Returns step-by-step setup instructions using
degit
list_components- Browse all available components- Filter by category (Data Display, Layouts & Floorplans, Inputs, Modals & Popovers, User Feedback, Charts, AI Components, Web Components)
- Filter by package (
@ui5/webcomponents-react,@ui5/webcomponents-react-charts,@ui5/webcomponents-ai-react) - Includes descriptions and import examples
get_component_api- Full component API documentation- Props with TypeScript types, descriptions, and defaults
- Event detail parameters (fields available on
e.detail) - Ref methods and return types
- CSS
::part()selectors for shadow DOM styling - Sub-type documentation for complex props (e.g. AnalyticalTable column definitions)
- Upstream documentation links for components with complex behavioral logic
- Case-insensitive component name matching
- Returns structured JSON output
get_documentation- Documentation, guides, and knowledge base- Browse by section name or search by keyword across all docs
- Getting Started, Knowledge Base (styling, i18n, SSR, slots, FAQ, accessibility, and more), project templates
- Full content read from bundled local files (no network required)
- Line-range support (
startLine/endLine) for large documents
get_public_utils- Public utilities from@ui5/webcomponents-react-base- Device API (device detection, responsive breakpoints, resize/orientation handlers)
- useI18nBundle hook (internationalization)
- useViewportRange hook (responsive breakpoint detection)
- ThemingParameters (CSS variables in JavaScript)
Resources
llms.txt- LLM-friendly documentation index with scope, key concepts, and quick-reference links
Usage
Once configured, your AI assistant will have access to the tools. You can ask questions like:
Create:
- "Create a new Vite app with UI5 Web Components for React"
- "Scaffold a Next.js app with a simple dashboard"
Documentation:
- "How do I style components?"
- "How do slots work?"
Components:
- "List all available components"
- "Show me chart components"
- "What layout components are available?"
- "Show me the API for AnalyticalTable"
- "How do I use the DynamicPage component?"
Contributing
See CONTRIBUTING.md for development setup, scripts, architecture, and build pipeline details.
