Skip to main content

Flyte

flyte-mcp

Flyte V2 knowledge, patterns, plugins, and runtime — exposed to every AI coding assistant via the Model Context Protocol.

PyPI Python MCP License Stars

Claude Code using flyte-mcp

Install in one click

Install in Cursor   Install in VS Code   Install in VS Code Insiders

Claude Code

claude mcp add flyte -- uvx flyte-mcp

Claude Desktop / any MCP client

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

Add this to ~/.claude.json, ~/.cursor/mcp.json, or your client's config file.


Why it exists

Ask any AI assistant "write a Flyte V2 task with caching and 4 GPUs" and you get confidently wrong code: V1 imports, invented decorators, hallucinated resource kwargs. The assistant has no reliable channel into the Flyte ecosystem, so it fills the gap with training-data guesses.

flyte-mcp is that channel. It ships a versioned knowledge pack built directly from the flyte-sdk source tree and the Flyte Plugin Registry, plus a thin runtime bridge for executing tasks when a cluster is configured. The assistant stops guessing and starts answering.

What your assistant can do

Capability Tools
Learn the V2 API get_flyte_symbol · search_flyte_api · list_flyte_symbols
Find canonical examples find_flyte_example_for · get_flyte_pattern · list_flyte_patterns
Pick the right plugin suggest_flyte_plugin_for · list_flyte_plugins · get_flyte_plugin
Port V1 code to V2 migrate_v1_to_v2
Get oriented get_flyte_overview · get_flyte_features · get_flyte_install_guide · get_flyte_version
Run on a cluster run_flyte_task · get_flyte_execution_status · list_flyte_recent_runs

All tools are pure Python, stdio transport, zero network calls unless you explicitly use the runtime bridge.

Example prompts that just work

  • How do I cache a task and invalidate on input change?
  • Show me a distributed PyTorch training example with A100s.
  • Which Flyte plugin do I use for Snowflake, and what's the import?
  • Migrate this flytekit V1 workflow to V2.
  • What's the signature of TaskEnvironment?

Your assistant picks the right tools and assembles accurate answers.

Rebuilding the knowledge pack

Contributors and release automation can regenerate the pack from source:

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 used:

  • flyte-sdk/src/flyte/__init__.py — public symbols via AST
  • flyte-sdk/examples/* — canonical patterns by theme
  • flyte-sdk/README.md, FEATURES.md, CONTRIBUTING.md — meta docs
  • flyte-plugin-registry — curated plugin catalog

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

Relationship to other Flyte MCP projects

  • wherobots/flyte-mcp — runtime-only. Discovers and executes tasks on a deployed Flyte instance via API key. Complementary, not competing.
  • unionai/claude-agents-public — Claude Code custom agents (system prompts, not an MCP server). Compose freely.

This project focuses on authoring: the moment a developer types a prompt asking about Flyte.

Roadmap

  • GitHub Action to auto-rebuild the knowledge pack on every flyte-sdk release
  • Listing in the official MCP Registry
  • Local semantic search via small sentence-transformer model
  • AST-based migration codemod (replacing the current regex pass)
  • Log streaming tool (get_flyte_execution_logs) with tail support

License

Apache-2.0 — same license as Flyte itself.

Disclaimer

Independent community project. Not officially affiliated with or endorsed by Flyte or Union.ai. The Flyte name and logo are trademarks of their respective owners.

Metadata

Release files for flyte-mcp 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flyte-mcp 0.1.1
File Size Uploaded Provenance
flyte_mcp-0.1.1.tar.gz 143.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for flyte-mcp 0.1.1
File Interpreter ABI Platform
flyte_mcp-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 243.2 kB

Release files / flyte_mcp-0.1.1.tar.gz

Download URL flyte_mcp-0.1.1.tar.gz
Size 143.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f5b0e2ad5770442be55358517902b47650c94d7736f4de93531c8c910eeb5287
BLAKE2b-256 checksum
How to use checksums
62f3b44801198323fde41b54726b9b0cb0c15154c005ff6c0a49d5b68bbf948f
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / flyte_mcp-0.1.1-py3-none-any.whl

Download URL flyte_mcp-0.1.1-py3-none-any.whl
Size 99.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9a81ee474256938b1cb9af09a38e0cf494f682ca62b98c05b406f1032278723
BLAKE2b-256 checksum
How to use checksums
4e5a94ee728c863a6d39ad5dbd174fa876194b0e37e58f2ee3bdf5ad3f0d3e26
Upload date
Uploaded using Trusted Publishing?
What is 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}

Security for flyte-mcp 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page