mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-10 07:39:10 +02:00
13 lines
313 B
Python
13 lines
313 B
Python
"""File upload — bypass the LLM context window to get files onto the server.
|
|
|
|
Usage:
|
|
uv run python file_upload_server.py
|
|
"""
|
|
|
|
from fastmcp import FastMCP
|
|
from fastmcp.apps.file_upload import FileUpload
|
|
|
|
mcp = FastMCP("File Upload Server", providers=[FileUpload()])
|
|
|
|
if __name__ == "__main__":
|
|
mcp.run()
|