Skip to main content

MCP server exposing Flyte V2 SDK knowledge (symbols, patterns, examples) to AI assistants.

Project description

flyte-mcp

MCP server exposing Flyte V2 SDK knowledge, plugin registry, and optional runtime control to AI assistants (Claude Desktop, Claude Code, Cursor).

Gives IDE-embedded AI accurate, versioned answers about Flyte V2 without scraping READMEs or hallucinating import paths.

Tools

Overview & meta

Tool Purpose
get_flyte_version Knowledge pack info (SDK version, counts)
get_flyte_overview Full flyte-sdk README
get_flyte_features FEATURES.md capability list
get_flyte_install_guide CLI help + pip install + quickstart snippet

Python API

Tool Purpose
list_flyte_symbols Public API inventory (optional kind filter)
get_flyte_symbol Signature, params, docstring, module
search_flyte_api Keyword search over symbols

Example patterns

Tool Purpose
list_flyte_patterns Canonical example themes from flyte-sdk/examples/
get_flyte_pattern README + code snippets for a theme
find_flyte_example_for Natural-language match over example themes

Plugin registry

Tool Purpose
list_flyte_plugins All plugins (optional category filter)
get_flyte_plugin Plugin detail by slug
suggest_flyte_plugin_for Natural-language plugin recommendation, prefers V2

Migration

Tool Purpose
migrate_v1_to_v2 Rewrite flytekit V1 code to flyte-sdk V2 syntax

Runtime (requires flyte installed + configured)

Tool Purpose
run_flyte_task Submit task to configured cluster
get_flyte_execution_status Fetch run status by id
list_flyte_recent_runs Recent runs

Install

pip install flyte-mcp
# or
uvx flyte-mcp

Use with Claude Code / Claude Desktop

~/.claude/mcp.json:

{
  "mcpServers": {
    "flyte": {
      "type": "stdio",
      "command": "uvx",
      "args": ["flyte-mcp"]
    }
  }
}

Cursor ~/.cursor/mcp.json same shape.

Rebuilding the knowledge pack

python scripts/build_knowledge.py \
  --sdk-path /path/to/flyte-sdk \
  --registry /path/to/flyte-plugin-registry/src/data/plugins.json \
  --out src/flyte_mcp/data/flyte-v2-knowledge.json

Sources:

  • flyte-sdk/src/flyte/__init__.py - public symbols
  • flyte-sdk/examples/<theme>/ - canonical patterns
  • flyte-sdk/README.md, FEATURES.md, CONTRIBUTING.md - meta docs
  • flyte-sdk/.venv/bin/flyte --help - CLI surface (if available)
  • flyte-plugin-registry plugins.json - plugin catalog

flytesnacks is intentionally excluded: V2 consolidated examples in-tree.

Roadmap

  • CI: auto-rebuild knowledge pack on each flyte-sdk release
  • Semantic search via local embeddings (Transformers.js / small model)
  • Richer codemod (AST-based, not just regex)
  • Log streaming tool (get_flyte_execution_logs)

License

Apache-2.0

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

flyte_mcp-0.1.0.tar.gz (140.8 kB view details)

Uploaded Source

Built Distribution

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

flyte_mcp-0.1.0-py3-none-any.whl (97.8 kB view details)

Uploaded Python 3

File details

Details for the file flyte_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: flyte_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 140.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for flyte_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 645e0d2eaac8b067b334e4f434de7dc8a0328cd5530386c1f96a81dc59cda975
MD5 ad6fe012c5c8ecb504f22de9ae9f120e
BLAKE2b-256 1e7b86fe203a0b07fad2bf5b139583f948f7d11e30dc5b573bea115aea0b8864

See more details on using hashes here.

File details

Details for the file flyte_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: flyte_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 97.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for flyte_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c8c7b0c1b210bc9ef8a6ac8a1020a9e273cdb89cd7b9b71b899036e2af40b9f0
MD5 dd0670375e72e9cfb077df9b4d860b9e
BLAKE2b-256 8a9e84fd02445516c93dec784eb98f140e603832e5d18293e53ce3a4bd2529ee

See more details on using hashes here.

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