-
Couldn't load subscription status.
- Fork 2.7k
Open
Labels
P0Broken core functionality, security issues, critical missing featureBroken core functionality, security issues, critical missing featurebugSomething isn't workingSomething isn't workingready for workEnough information for someone to start working onEnough information for someone to start working on
Milestone
Description
So basically, I am trying to follow the simple quickstart guide on how to work with images.
from mcp.server.fastmcp import FastMCP, Image
from PIL import Image as PILImage
mcp = FastMCP("My App")
@mcp.tool()
def create_thumbnail(image_path: str) -> Image:
"""Create a thumbnail from an image"""
img = PILImage.open(image_path)
img.thumbnail((100, 100))
return Image(data=img.tobytes(), format="png")
However, it does not seem straigthforward how to use this in a conversation with Claude. I have properly configured the MCP server in Claude, and those tools not using images are properly working.
Is there any way of uploading an image to Claude so that it is then used by an MCP tool?
llermaly, deeplook and adamlass
Metadata
Metadata
Assignees
Labels
P0Broken core functionality, security issues, critical missing featureBroken core functionality, security issues, critical missing featurebugSomething isn't workingSomething isn't workingready for workEnough information for someone to start working onEnough information for someone to start working on
Type
Projects
Status
To triage