flet-mcp-server
The Flet MCP Server provides AI agents with tools to explore, search, and retrieve official Flet UI framework documentation, controls, and ecosystem packages.
list_flet_controls: Get a comprehensive list of all available Flet UI controls to discover what UI elements can be built.search_flet_docs(query): Search the official Flet docs index by keyword (e.g., 'dropdown', 'layout') to find relevant documentation file paths.get_flet_doc(doc_path): Fetch the full Markdown content of a specific documentation page using a file path.list_official_packages: Retrieve all official Flet extension packages (e.g.,flet-audio,flet-video).search_flet_ecosystem(query): Search for community-built third-party Flet packages and components (e.g., 'calendar', 'auth').get_package_details(package_name): Fetch PyPI details including the current version and installation instructions for any Flet-related package.
Flet MCP Server dynamically fetches and serves official Flet documentation, controls, packages, and ecosystem resources for AI agents and MCP-compatible clients.
Features
GitHub Tree Sync: Maps documentation in real-time.
Intelligent Caching: Uses
diskcachefor 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
🌌 VSCode
Add this to your .vscode/mcp.json:
{
"servers": {
"flet-mcp-server": {
"command": "uvx",
"args": ["flet-mcp-server"]
}
}
}🌌 Antigravity / Cascade
Add this to your mcp_config.json:
{
"mcpServers": {
"flet-mcp-server": {
"command": "uvx",
"args": ["flet-mcp-server"]
}
}
}🤖 Claude Desktop
Add this to your claude_desktop_config.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
Development
Directory Structure
flet-mcp-server/
├── .github/
│ └── workflows/
│ ├── ci.yml
│ └── publish.yml
├── docs/
│ ├── ARCHITECTURE.md
│ └── CONTRIBUTING.md
├── src/
│ └── flet_mcp/
│ ├── services/
│ │ ├── github_docs.py
│ │ ├── packages.py
│ │ └── __init__.py
│ ├── main.py
│ ├── server.py
│ └── __init__.py
├── tests/
│ └── test_fetcher.py
├── LICENSE
├── README.md
├── pyproject.toml
└── uv.lockInstall
git clone https://github.com/Nwokike/flet-mcp-server.git
cd flet-mcp-server
uv syncTest
uv run pytestLicense
MIT
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/Nwokike/flet-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server