Skip to main content
Glama

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 imageContent helper from fastmcp).

  • 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).

Install Server
A
license - permissive license
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Enables image generation using Google Gemini models like Gemini 2.0 Flash and Imagen 3.0 with support for custom aspect ratios and negative prompts. It also allows users to list and manage generated images stored in local directories.
    2
    12
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Provides secure access to local files from specified directories. Enables listing files, reading contents, and configurable file size and extension filtering.
    1
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Provides tools to encode files to Base64 strings and decode Base64 content back to files, supporting both text and binary formats.
    2
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • Generate, render, and host Slidev presentations from markdown

  • List, share, upload, and manage Slideless HTML presentations from any MCP host.

  • Upload, organize, search, and transform images, videos, and files with AI-powered tools.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/moiri-gamboni/image-reader-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server