NiceGUI MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NiceGUI MCPanalyze my dialog code for common issues"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
NiceGUI MCP
NiceGUI MCP is a docs-first Model Context Protocol server for local NiceGUI development. It bundles curated guidance, searches that guidance, analyzes pasted NiceGUI code for common problems, applies a narrow safe fixer set, and generates starter patterns for real app workflows.
What It Does
Guidance lookup for common NiceGUI problem areas
Topic search across bundled docs
Static analysis for layout, scrolling, async, dialog, styling, and architecture issues
Deterministic safe fixes for a small allowlisted set of patterns
Starter generation for layout shells, dialogs, async flows, forms, tables, and controller/service splits
Related MCP server: MCP Documentation Server
What It Does Not Do
repo-wide indexing
arbitrary code execution
browser automation
embeddings or vector search
hosted multi-user deployment
large-scale automated refactors
Bundled Topics
layout_spacing_scrollingasync_tasks_performancestyling_themingdialogsstate_managementcomponent_architectureforms_validationdata_views_tables_chartstestingdeployment_runtime
Tools
list_topics()get_guidance(topic)search_guidance(query, topics=None)analyze_nicegui_code(code, focus=None, filename=None, context=None)fix_nicegui_code(code, aggressive=False)generate_nicegui_component(kind, mode='default', details_json=None)
Resources
nicegui://topics/indexnicegui://guidance/{topic}
Recommended Workflow
Search or read guidance for the problem area.
Analyze the relevant NiceGUI snippet.
Apply safe fixes where the fixer set supports them.
Reanalyze the updated code.
Generate a better pattern when the issue is architectural rather than local.
Installation
uv syncRun
uv run nicegui-mcpTest
uv run pytest -qExample MCP Client Config
{
"mcpServers": {
"nicegui-mcp": {
"command": "uv",
"args": ["run", "--directory", "/path/to/nicegui-mcp", "nicegui-mcp"]
}
}
}Project Layout
nicegui_mcp/
├── analyzers.py
├── docs/
├── fixers.py
├── generators.py
├── models.py
├── profile.py
├── registry.py
└── server.pyThis server cannot be installed
Maintenance
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/start-trek/nicegui-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server