image-reader-mcp
The Image Reader MCP Server is a simple MCP server built with FastMCP that allows users to list image files in a specified directory and read the content of a specific image file. It supports multiple image formats and provides functionality for listing images and retrieving image content in Base64 format.
GitHub Stars
4
User Rating
Not Rated
Favorites
0
Views
26
Forks
1
Issues
0
Image Reader MCP Server
A simple MCP server built with FastMCP that provides tools to:
- List image files in a specified directory.
- Read a specific image file and return its content.
Tools
This server provides the following tools:
list_images
- Description: List image files in a specified directory.
- Parameters:
directoryPath(string): The absolute path to the directory to scan for images.
- Returns: A list of image filenames found in the directory or a message indicating no images were found.
- Supported Extensions:
.jpg,.jpeg,.png,.gif,.bmp,.webp,.svg
read_image
- Description: Reads a specific image file and returns its content as base64.
- Parameters:
filePath(string): The absolute path to the image file to read.
- Returns: An object containing the image content suitable for display (using
imageContenthelper fromfastmcp). - Supported Extensions:
.jpg,.jpeg,.png,.gif,.bmp,.webp,.svg
Setup
To configure an MCP client, add the imageReader entry to the mcpServers object. It should look something like this:
{
"mcpServers": {
// ... other servers might be here ...
"imageReader": {
"command": "npx",
"args": ["image-reader-mcp"],
"env": {}
}
}
}
Important Note: When using this server with Cursor, it currently seems to function only when Claude Sonnet is selected (other models don't seem to have vision enabled).
1
Followers
17
Repositories
8
Gists
0
Total Contributions
MCP Tasks is an efficient task management tool designed to minimize tool confusion and maximize LLM budget efficiency. It offers powerful search, filtering, and organization capabilities across multiple file formats, including Markdown, JSON, and YAML. Users can easily manage their tasks with its intuitive interface.
The Local History MCP server connects AI assistants with editor local history, enhancing data recovery and context awareness. Current AI assistants cannot access local history data, leading to potential work loss. This server captures file snapshots at save points, preserving work that would otherwise be lost.