mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-10 07:39:10 +02:00
13 lines
282 B
Python
13 lines
282 B
Python
"""Multiple choice — let the user pick from options instead of typing.
|
|
|
|
Usage:
|
|
uv run python choice_server.py
|
|
"""
|
|
|
|
from fastmcp import FastMCP
|
|
from fastmcp.apps.choice import Choice
|
|
|
|
mcp = FastMCP("Choice Demo", providers=[Choice()])
|
|
|
|
if __name__ == "__main__":
|
|
mcp.run()
|