home / mcp / flux ui mcp server
Provides MCP access to Flux UI component data by listing components, retrieving details, showing examples, and enabling searches
Configuration
View docs{
"mcpServers": {
"iannuttall-flux-ui-mcp": {
"command": "npx",
"args": [
"-y",
"fluxui-mcp-server"
]
}
}
}You can run Flux UI MCP Server to provide reference data for Flux UI components to MCP clients. It exposes a set of tools that let you list components, fetch details and examples, and search by keyword, making it easy to integrate Flux UI documentation into AI assistants and code editors.
Connect your MCP client to Flux UI MCP Server to access component data. You can run the server locally and then point your client to the local process or to a remote instance if you deploy the server elsewhere. The server exposes tools to list components, retrieve details, get usage examples, and search by keyword, enabling you to fetch component information and code samples on demand.
# Prerequisites
- Node.js is installed on your system (recommended via Node Version Manager).
- npm is available with Node.js.
# Install dependencies for the MCP server project
npm install
# Build the server for local run
npm run build
# Optional: start in watch mode for auto-rebuild during development
npm run watchTwo practical ways to run the Flux UI MCP Server are available. Use the local build approach if you want to run the server from your filesystem, or use npx to launch the server without a local install. Both methods expose the same MCP interfaces to your clients.
Below are the explicit MCP connection configurations that you can use. One describes running the server via a local build, and the other shows running the server with npx. Each configuration uses stdio to start the server process.
{
"mcpServers": {
"fluxui-mcp_local": {
"type": "stdio",
"name": "fluxui_mcp_local",
"command": "node",
"args": ["build/index.js"]
},
"fluxui-mcp_npx": {
"type": "stdio",
"name": "fluxui_mcp_npx",
"command": "npx",
"args": ["-y", "fluxui-mcp-server"]
}
}
}Retrieve a list of all available Flux UI components so you can present options to users or filter results programmatically.
Fetch detailed information about a specific Flux UI component, including props, descriptions, and usage notes.
Obtain usage examples for a specific component to demonstrate correct usage and integration patterns.
Search components by keyword to help users discover relevant Flux UI components quickly.