acoustic-carpenter-78188
07/22/2026, 12:12 PMflyte-skills now also registers a Flyte MCP server, so Claude can act on the user's cluster rather than only advising about it.
It is tenant-agnostic by construction: the server calls flyte.init_from_config(), so it targets whatever control plane the user's flyte CLI is already authenticated against. Nothing is hardcoded to a cluster — which is what makes it publishable in the first place.
A cluster is optional
The server always starts, and picks its surface from what is actually reachable:
| Tools | Needs | |
| --------------- | ------------------------------------------------------------ | -------------------------------- |
| Not connected | 3 search — grep Flyte SDK examples, docs examples, llms.txt | nothing |
| Connected | all 16 — plus run/inspect tasks, manage runs, apps, triggers | config with project and domain |
The search tools are a filesystem grep (_search_files never touches flyte.remote), so they work from the very first install.
This matters because of an ordering problem: someone who installs this plugin to deploy their first Flyte cluster has no config yet. A server that failed at startup would look broken at exactly the moment they were learning the tool — and the config only appears after they run one of this plugin's own deploy skills, so the failure preceded its own fix. Now they get docs/example search immediately, and the control-plane tools appear once they are logged in (restart required; the mode is decided at startup).
"Connected" deliberately requires project and domain, not merely a successful init: init_from_config() succeeds even when it finds no config file at all, after which every control-plane tool fails with project_id.domain: must be at least 1 characters — which reads as a broken tool rather than missing setup.
Why a bundled launcher instead of flyte-mcp
Two reasons, one temporary and one not:
1. Temporary — flyte[mcp] ≤ 2.5.11 has no working stdio transport. MCPAppEnvironment accepts transport="stdio" but __post_init__ builds the Starlette app and points _server at uvicorn for every value, so "stdio" silently serves HTTP. Fixed upstream in flyteorg/flyte-sdk#1319.
2. Ongoing — flyte-mcp has no `--project`/`--domain`, no allowlist flags, and no notion of degrading when no cluster is reachable.
Retiring scripts/flyte_mcp_stdio.py needs the CLI to grow those flags plus an explicit opt-in such as --fallback-tool-groups search. At that point .mcp.json can invoke flyte-mcp directly, which also drops the ${CLAUDE_PLUGIN_ROOT} path that currently keeps the bundled server Claude Code-only (Codex does not expand it — openai/codex#22842).
Fixes to the flyte-mcp-server skill
The skill documented things that do not exist:
• It taught claude mcp add --transport stdio ... flyte-mcp, which cannot work on any released version (see above). Now version-scoped, with the HTTP path for older versions and native stdio for newer.
• Its tool table listed build_image, build_uv_script_image_remote, run_uv_script_remote, flyte_uv_script_format and flyte_uv_script_example under `build`/`script` groups. Those were removed in flyte-sdk v2.3.6, and two code samples passed tool_groups=[…, "script"], which now raises Unknown tool group(s).
• Added a warning against `uvx --with "flyte[mcp]"`: uvx <cmd> resolves the package from the command name, and flyte-mcp is an unrelated third-party project on PyPI, so --with installs and runs that instead of the SDK.
Unrelated bug fixed in passing
flyte-sdk-author/SKILL.md had an unescaped apostrophe inside a single-quoted YAML scalar (aligned to the user's constraints). The frontmatter did not parse, so that skill was not loading at all. Found by validating all 15; the other 14 are fine.
Testing
scripts/smoke_test_mcp.py spawns the server exactly as Claude Code does (reading .mcp.json and expanding ${CLAUDE_PLUGIN_ROOT}), completes a real MCP handshake, and exercises a tool. Both modes verified end-to-end:
No cluster : 3 tools; search_flyte_sdk_examples("TaskEnvironment") -> 6461 chars, matches
Connected : 16 tools; search works AND list_runs -> 3 real runs from a live cluster
Also: claude plugin validate . passes, all 5 JSON manifests parse, all 15 skills' frontmatter parses, ruff clean.
The search corpus (~120 MB shallow clone of flyte-sdk + unionai-examples + llms.txt, measured at ~9s cold) is fetched via the SDK's own cache helper, which stages into a .partial directory and renames atomically so an interrupted fetch cannot leave a half-populated cache. A failed fetch degrades to "no search tools" rather than taking the server down; FLYTE_MCP_NO_SEARCH skips it.
🤖 Generated with Claude Code
flyteorg/flyte-agent-pluginsacoustic-carpenter-78188
07/23/2026, 10:15 AMacoustic-carpenter-78188
07/23/2026, 9:38 PM