M
MCP Image Reader
作者 @Chen188
An MCP server that reads image files and returns them as base64-encoded content for visual analysis by LLMs.
创建于 3/2/2026
更新于 about 6 hours ago
README
Repository documentation and setup instructions
mcp-image-reader
An MCP server that reads image files and returns them as base64-encoded content for visual analysis by LLMs.
Requirements
- Python 3.10+
- uv
Installation
git clone <repo-url>
cd mcp-image-reader
uv sync
MCP Configuration
Add to your .kiro/settings/mcp.json (or equivalent MCP client config):
{
"mcpServers": {
"image-reader": {
"command": "uv",
"args": ["run", "--project", "/path/to/mcp-image-reader", "mcp-image-reader"],
"autoApprove": ["read_image"]
}
}
}
Tools
read_image
Reads an image file and returns it as base64-encoded content.
| Parameter | Type | Description |
|-----------|------|-------------|
| path | str | Absolute or relative path to the image file |
Supported formats: JPEG, PNG, GIF, WebP.
快速设置
此服务器的安装指南
安装包 (如果需要)
uvx mcp-image-reader
Cursor 配置 (mcp.json)
{
"mcpServers": {
"chen188-mcp-image-reader": {
"command": "uvx",
"args": [
"mcp-image-reader"
]
}
}
}