Skip to main content

Auto-updating MCP server for Flet documentation and packages

Project description

Flet MCP Server logo

Flet MCP Server

Model Context Protocol server that serves official Flet resources to AI agents.

PyPI version Downloads CI status Python >= 3.10 Nwokike/flet-mcp-server MCP server


Flet MCP Server dynamically fetches and serves official Flet documentation, controls, packages, and ecosystem resources for AI agents and MCP-compatible clients.

Nwokike/flet-mcp-server MCP server

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:

{
  "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.lock

Install

git clone https://github.com/Nwokike/flet-mcp-server.git
cd flet-mcp-server
uv sync

Test

uv run pytest

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flet_mcp_server-0.1.1.tar.gz (75.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flet_mcp_server-0.1.1-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file flet_mcp_server-0.1.1.tar.gz.

File metadata

  • Download URL: flet_mcp_server-0.1.1.tar.gz
  • Upload date:
  • Size: 75.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for flet_mcp_server-0.1.1.tar.gz
Algorithm Hash digest
SHA256 546a6b2a29ab0a0cfe196115ed4a4003af7476e6ce840b2cdd92dfb063384407
MD5 f787b5d15085f2b2d267297076627eeb
BLAKE2b-256 c876ae8b60b9e913ef01e153aba9dfb883a177efe83400fd84f7ff12a07fc2ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for flet_mcp_server-0.1.1.tar.gz:

Publisher: publish.yml on Nwokike/flet-mcp-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file flet_mcp_server-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for flet_mcp_server-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 69b20f4bf2121ae548dbe67337157e492073db01d5218a813416a75d82ce497a
MD5 965efc01a6d7547043ad5e807e3d2a7e
BLAKE2b-256 97357b591287c89c9a07d154c26d098e7702480b55e82507fa470df45ea025f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for flet_mcp_server-0.1.1-py3-none-any.whl:

Publisher: publish.yml on Nwokike/flet-mcp-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page