Skip to main content

MCP Server

The Model Context Protocol (MCP) server gives your AI assistant direct access to UI5 Web Components documentation, component APIs, and integration guides โ€” no copy-pasting needed.

Setupโ€‹

Add the following entry to your MCP client configuration (e.g. mcp.json):

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

One-Click Setupโ€‹

VS Code (GitHub Copilot) โ€” paste the JSON config above into your .vscode/mcp.json, or run:

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"

Available Toolsโ€‹

ToolDescription
get_component_apiFetch API docs for any component โ€” properties, slots, events, methods
get_guidelinesGet integration guides for React, Angular, or vanilla JavaScript
list_docsList all available documentation with summaries
get_docFetch full content of a specific documentation page

Example Promptsโ€‹

Once the MCP server is configured, try asking your AI assistant:

  • "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"

View on npm ยท GitHub