Back to course

Daily Repetition 9: The 'Image Info' Tool

Model Context Protocol (MCP) Server Engineering

Daily Repetition: Tool #9

Expose metadata about files. Use the sharp library to read image dimensions and metadata.

Assignment: Create a tool that takes an image path and returns its width, height, and format.