flet-mcp-server
# Flet MCP Server [](https://pypi.org/project/flet-mcp-server/) [](https://pepy.tech/project/flet-mcp-server)   An auto-updating Model Context Protocol (MCP) server that dynamically fetches, caches, and serves the official Flet documentation and ecosystem packages directly from GitHub and PyPI. ## Features * **GitHub Tree Sync**: Maps documentation in real-time. * **Intelligent Caching**: Uses `diskcache` for fast responses. * **Ecosystem Discovery**: Finds and verifies official and community Flet packages. * **AI-Optimized**: Tool definitions designed for LLM understanding. ## Tools Included ### 1. `list_flet_controls` List all available Flet UI controls. ### 2. `search_flet_docs(query)` Search the documentation index. ### 3. `get_flet_doc(doc_path)` Get raw Markdown for a specific doc. ### 4. `list_official_packages()` List official Flet extension packages. ### 5. `search_flet_ecosystem(query)` Search for verified community Flet components. ### 6. `get_package_details(package_name)` Fetch version and installation info from PyPI. ## Client Configuration Examples ### π Antigravity / Cascade Add this to your `mcp_config.json`: ```json { "mcpServers": { "flet-mcp-server": { "command": "uvx", "args": ["flet-mcp-server"] } } } ``` ### π€ Claude Desktop Add this to your `claude_desktop_config.json`: ```json { "mcpServers": { "flet-mcp-server": { "command": "uvx", "args": ["flet-mcp-server"] } } } ``` ### π» Cursor / Windsurf In your IDE's MCP settings, add a new server: - **Name**: Flet MCP - **Type**: Command - **Command**: `uvx flet-mcp-server`