docs: FastMCP + Prefab/MCP Apps migration feasibility study#18
Open
willwebster5 wants to merge 1 commit into
Open
docs: FastMCP + Prefab/MCP Apps migration feasibility study#18willwebster5 wants to merge 1 commit into
willwebster5 wants to merge 1 commit into
Conversation
Research-only design doc evaluating migration from the official `mcp` SDK's FastMCP helper to PrefectHQ `fastmcp` (v3.2+) with Prefab UI, motivated by NGSIEM context-window pressure and the prospect of in-chat interactive tables and charts. Recommends a staged migration (v4.4 framework port, v4.5 NGSIEM Prefab pilot) pending a transport/middleware parity spike. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mcpPython SDK's built-inFastMCPhelper to PrefectHQfastmcp(v3.2+) with Prefab / MCP Apps for interactive in-chat UImcp.server.fastmcp.FastMCP(official SDK), not the PrefectHQ package that ships PrefabFastMCPApp's@app.ui()/@app.tool()split lets bulk CQL results render in a sandboxed iframe without entering the model's context, which directly addresses the pressure behind thengsiem-alert-analysis-timeout-fixandngsiem-read-expansionworkWhat's in the doc
server.py,modules/base.py, and one module — imports, decorator behavior,add_tool, resources, transports, ASGI middleware, registry, testsPath
docs/superpowers/specs/2026-04-21-fastmcp-prefab-migration-feasibility.mdTest plan
server.py/modules/base.pyNo code changes — pure design doc.
🤖 Generated with Claude Code