Skip to content

No UI tools #3792

@mulka

Description

@mulka

What happened?

Getting an error from fastmcp dev apps.

Error message: "No UI tools found on this server. Use @app.ui() to register entry-point tools."

My requirements.txt:

fastmcp[apps] @ git+ssh://git@github.com/jlowin/fastmcp.git@8ee81b3037d28a86063e763e6be8830d5b5e7b1f
pydocket==0.17.9

Example Code

from prefab_ui.app import PrefabApp
from prefab_ui.components import Text
from fastmcp import FastMCP

mcp = FastMCP("Hello Prefab")

@mcp.tool(app=True)
def hello_prefab() -> PrefabApp:
    return PrefabApp(view=Text("Hello, world!"))

Version Information

FastMCP version:                                                   3.2.1.dev22+8ee81b30
MCP version:                                                                     1.27.0
Python version:                                                                 3.12.11
Platform:                                                    macOS-26.4-arm64-arm-64bit
FastMCP root path: /Users/mulka/Code/mcp-app-example/.venv/lib/python3.12/site-packages

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working. Reports of errors, unexpected behavior, or broken functionality.mcp appsRelated to MCP Apps - user-facing applications with frontend bundles served by MCP servers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions