Image Reader MCP Server
moiri-gamboni/image-reader-mcp · 12 stars · TypeScript · GPL-3.0
MCP server An MCP (Model Context Protocol) server (using FastMCP) to provide tools for listing local image files and reading their content. Designed for LLM agent integration.
Install
The repo has no one-line install. Follow its README.
Files
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).
Facts
- Kind
- MCP server
- Group
- Uncategorized
- Stars
- 12
- License
- GPL-3.0
- Language
- TypeScript
- Last push
- 2025-05-04
- Forks
- 5
- Topics
- cursor, fastmcp, llm, mcp, mcp-server
- 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
- 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
- 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
- 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
- 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k