Open
Description
Describe the bug
Every endpoint returns only TextContent. Other content types like ImageContent or EmbeddedRessource are ignored.
[
{
"type": "text",
"text": "'utf-8' codec can't decode byte 0x89 in position 0: invalid start byte"
}
]
To Reproduce
Implement an endpoint that returns an image.
Affected Code*
The method FastApiMCP._execute_api_tool only (lines 418-444 of fastapi_mcp/server.py) returns only TextContent.