chicuong2k3.LumexUI.McpServer 1.0.0

dotnet tool install --global chicuong2k3.LumexUI.McpServer --version 1.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local chicuong2k3.LumexUI.McpServer --version 1.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=chicuong2k3.LumexUI.McpServer&version=1.0.0
                    
nuke :add-package chicuong2k3.LumexUI.McpServer --version 1.0.0
                    

LumexUI MCP Server

An MCP (Model Context Protocol) server for the LumexUI Blazor component library. Enables AI assistants to query component documentation, generate code snippets, and access theming information.

Quick Start (1 command)

dotnet tool install -g LumexUI.McpServer

Then configure your MCP client:

Claude Code

claude mcp add lumexui -- lumexui-mcp

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "lumexui": {
      "command": "lumexui-mcp"
    }
  }
}

VS Code (Copilot)

Add to .vscode/settings.json:

{
  "mcp": {
    "servers": {
      "lumexui": {
        "command": "lumexui-mcp"
      }
    }
  }
}

Update

dotnet tool update -g LumexUI.McpServer

Uninstall

dotnet tool uninstall -g LumexUI.McpServer

Prerequisites

Features

MCP Tools (5)

Tool Description
list_components List all 34 LumexUI components by category
get_component Get full API reference + documentation for a component
search_components Search components by keyword
get_theming Get theming/design token documentation
generate_code Generate Blazor .razor code snippets

MCP Resources

URI Description
lumexui://components List all component resource URIs
lumexui://components/{name} Full component data + docs (JSON)
lumexui://theming List theming topics
lumexui://theming/{topic} Theming documentation (Markdown)

Build from Source

git clone https://github.com/user/LumexUI.McpServer.git
cd LumexUI.McpServer/src/LumexUI.McpServer
dotnet build
dotnet run

Or install as local tool:

dotnet pack -o ./nupkg
dotnet tool install -g --add-source ./nupkg LumexUI.McpServer

Tech Stack

  • .NET 10 / C# 14
  • ModelContextProtocol v1.4.0
  • stdio transport
  • 34 embedded component docs (offline ready)

Project Structure

src/LumexUI.McpServer/
├── Program.cs
├── Models/          (ComponentInfo, Parameter, Event, EnumInfo)
├── Data/
│   ├── ComponentCatalog.cs    # Component registry
│   ├── ComponentDocs.cs       # Markdown docs loader
│   ├── ThemingData.cs         # Theming documentation
│   ├── Components/            # 34 JSON data files
│   └── Docs/                  # 34 markdown doc files
├── Tools/           (5 MCP tools)
└── Resources/       (2 resource providers)

Components Covered

All 34 LumexUI components with full API reference + usage docs:

Input: Textbox, Textarea, Numbox, Datebox, Checkbox, CheckboxGroup, RadioGroup, Switch, Select, Listbox

Layout: Accordion, Card, Collapse, Divider, Navbar, Tabs

Feedback: Alert, Progress, Spinner, Skeleton, ToastProvider

Overlay: Modal, Dropdown, Popover, Tooltip

Display: Avatar, Badge, Chip, User, DataGrid

Other: Button, Code, Kbd, Link

License

MIT

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.0.0 141 6/27/2026