UW

ui5/webcomponents-mcp-server

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

20 stars 2 forks Качество 76 Тренд 18Apache-2.0

The UI5 Web Components MCP Server improves the developer experience when working with agentic AI and the UI5 Web Components framework.

Обзор

A Model Context Protocol server for UI5 Web Components development. - Node.js Version v20.17.0, v22.9.0 or higher - npm Version v8.0.0 or higher - An MCP client, such as VS Code (GitHub Copilot), Claude Code, Codex, or any other MCP-compatible client This configuration works for most MCP clients: Special configuration for native Windows On native Windows (not WSL), you might need to prefix npx with cmd /c: Besides the general configuration outlined above, some MCP clients offer shortcuts for installing MCP servers. Once set up, ask your AI assistant things like: - "Show me the API for ui5-button" - "How do I use UI5 Web Components with React?" - "Show me the available documentation" - "Get the theming documentation" Fetch API docs for any UI5 Web Component (properties, slots, events, methods). Searches across @ui5/webcomponents, @ui5/webcomponents-fiori, and @ui5/webcomponents-ai packages.

README

Показан фрагмент оригинального README. Открыть оригинал.

UI5 Web Components MCP Server

A Model Context Protocol server for UI5 Web Components development.

Requirements

  • Node.js Version v20.17.0, v22.9.0 or higher
  • npm Version v8.0.0 or higher
  • An MCP client, such as VS Code (GitHub Copilot), Claude Code, Codex, or any other MCP-compatible client

Setup

Standard Configuration for Most Clients

This configuration works for most MCP clients:

{
  "mcpServers": {
    "@ui5/webcomponents-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@ui5/webcomponents-mcp-server"]
    }
  }
}

Specific MCP Clients

Besides the general configuration outlined above, some MCP clients offer shortcuts for installing MCP servers.

VS Code

code --add-mcp '{"name":"@ui5/webcomponents-mcp-server","type":"stdio","command":"npx","args":["-y","@ui5/webcomponents-mcp-server"]}'

Claude Code

claude mcp add --transport stdio --scope user ui5-webc-mcp-server -- npx -y @ui5/webcomponents-mcp-server

Codex

codex mcp add --transport stdio ui5-webc-mcp-server -- npx -y @ui5/webcomponents-mcp-server

Usage

Once set up, ask your AI assistant things like:

  • “Show me the API for ui5-button”
  • “How do I use UI5 Web Components with React?”
  • “Show me the available documentation”
  • “Get the theming documentation”

Available Tools

get_component_api

Fetch API docs for any UI5 Web Component (properties, slots, events, methods).
Searches across @ui5/webcomponents, @ui5/webcomponents-fiori, and @ui5/webcomponents-ai packages.

get_guidelines

Get integration guides for React, Angular, or native JavaScript.
Includes installation, imports, and usage examples.

list_docs

List all available UI5 Web Components documentation with summaries.

get_doc

Fetch full content of specific documentation files.

Development

npm run build         # Build TypeScript
npm run dev           # Run locally
npm run test          # Run tests
npm run inspector     # Debug with MCP inspector
npm run prepare:docs  # Fetch latest docs from GitHub

Support, Feedback, Contributing

Открыть полный README на GitHub

Установка

npx -y @ui5/webcomponents-mcp-server
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "@ui5/webcomponents-mcp-server": { "type": "stdio", "command": "npx", "args": ["-y", "@ui5/webcomponents-mcp-server"] } } }