1. Conduid
  2. Search
  3. Fastmcp Apps SDK
MCP server · Search

Fastmcp Apps SDK

A convenient widget decorator for FastMCP for implementing OpenAI Apps SDK, with examples

Unclaimed search
34Low

Scored 7 months ago · breakdown

About Fastmcp Apps SDK

Fastmcp Apps SDK is an MCP server in the Search category: a convenient widget decorator for FastMCP for implementing OpenAI Apps SDK, with examples.

Install

From source
git clone https://github.com/Gan-Tu/fastmcp-apps-sdk

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Fastmcp Apps SDK

Powered by Claude · Grounded in docs

I know everything about Fastmcp Apps SDK. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

fastmcp-apps-sdk

Widgets SDK for FastMCP targeting OpenAI Apps SDK. It provides a simple @widget(...) decorator and helpers to:

  • Register a text/html+skybridge resource with CSP hints
  • Expose a tool with openai/outputTemplate and widget metadata
  • Return structured content + narration with build_widget_tool_response

Install

  • pip: pip install fastmcp-apps-sdk
  • uv: uv add fastmcp-apps-sdk

Usage

from fastmcp import FastMCP
from fastmcp_apps_sdk import widget, build_widget_tool_response, register_decorated_widgets

@widget(
    identifier="pizza-map",
    title="Show Pizza Map",
    template_uri="ui://widget/pizza-map.html",
    invoking="Hand-tossing a map",
    invoked="Served a fresh map",
    html=(
        '<div id="pizzaz-root"></div>\n'
        '<link rel="stylesheet" href="https://persistent.oaistatic.com/ecosystem-built-assets/pizzaz-0038.css">\n'
        '<script type="module" src="https://persistent.oaistatic.com/ecosystem-built-assets/pizzaz-0038.js"></script>'
    ),
    description="Show Pizza Map",
)
def show_pizza_map_widget(pizza_topping: str):
    normalized = pizza_topping.strip()
    if not normalized:
        raise ValueError("Provide a pizza topping to render the widget.")
    return build_widget_tool_response(
        response_text="Rendered a pizza map!",
        structured_content={"pizza_topping": normalized},
    )

mcp = FastMCP(name="demo", instructions="Demo widgets")
register_decorated_widgets(mcp)
mcp.run(transport="http", host="0.0.0.0", port=8080)

Publish to PyPI

See PUBLISH.md for publishing instructions.

Examples / Demo

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Fastmcp Apps SDK

How do I install Fastmcp Apps SDK?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Fastmcp Apps SDK safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Fastmcp Apps SDK still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.