home / mcp / daisyui mcp server
A token-efficient local MCP server that serves DaisyUI component docs and examples for AI assistants.
Configuration
View docs{
"mcpServers": {
"birdseyevue-daisyui-mcp": {
"command": "C:/Users/username/Downloads/fastmcp/venv/Scripts/python.exe",
"args": [
"C:/Users/username/Downloads/fastmcp/mcp_server.py"
]
}
}
}You run a token-efficient local MCP server that exposes DaisyUI component documentation to your AI assistants. It serves structured component data and examples, while keeping prompts concise and fast to execute.
Launch and interact with the DaisyUI MCP Server from your MCP client to access component docs, fetch updates, and explore individual components. The server exposes two core capabilities: listing available components and retrieving full documentation for a specific component. Use these tools to build responsive UIs, generate examples, and quickly browse the DaisyUI library.
Prerequisites you need before installing: Python 3.8+ and Git.
git clone https://github.com/birdseyevue/daisyui-mcp.git
cd daisyui-mcppython -m venv venv
# Windows
venv\Scripts\activate
# macOS/Linux
source venv/bin/activatepip install -r requirements.txtFirst-time setup requires fetching the latest component docs. Run the update command to populate the local docs.
python update_components.pyStart the MCP server to begin serving component docs.
python mcp_server.pyTo update docs after DaisyUI releases changes, re-run the update command.
python update_components.pyConfigure your MCP client to connect to your local DaisyUI MCP Server using one of the provided runtime commands for your environment. The server runs locally via a Python process, so you will point your client to the appropriate local runtime invocation.
{
"servers": {
"daisyui": {
"command": "<path-to-venv>/bin/python" ,
"args": ["<path-to-repo>/mcp_server.py"]
}
}
}If you are on Windows, use the Python executable from your virtual environment and point to mcp_server.py as shown in the example configuration. If you are on macOS or Linux, use the corresponding Python from your venv and the path to mcp_server.py. Keep your venv activated when you start the server to ensure dependencies are available.
Lists all available DaisyUI components with short descriptions
Gets the full documentation for a specific component (classes, syntax, examples)