Skip to content

File upload and download in HTTP format #1526

@wanggei

Description

@wanggei

Description

Hello, my current MCP service is initiated via HTTP. I would like to implement the ability to upload files to the server and download files to the client through the MCP service. Is fastmcp supported now? I noticed there is fastapi in the documentation. If I convert it using the mcp.formt_mcp method, will the model send a request when calling this API? Could you please clarify this for me? Thank you

Example Code

Version Information

2.11.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateDuplicates an existing open issue. Reference the original issue when applying.httpRelated to HTTP transport, networking, or web server functionality.needs more infoIssue lacks detail to reproduce or understand. Waiting for reporter to provide context.serverRelated to FastMCP server implementation or server-side functionality.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions