Solves a specific pain point in VS Code Copilot Chat and Claude Desktop: AI models can't see images when you just paste file paths. Instead of dragging and dropping screenshots every time, you reference this server with #image-viewer followed by a path, and it exposes a view_image tool that converts the file to base64 and injects it inline. Supports PNG, JPEG, GIF, BMP, and WebP. Reach for this when you're debugging test failures with screenshots, comparing visual diffs, or analyzing UI bugs and want to stay in the flow without manual attachment steps. Runs via npx with zero config.
The Problem: GitHub Copilot Chat can't see images from file paths—only drag-and-drop works, breaking your workflow.
The Solution: Give AI the file path in plain text, and it sees the image instantly using this MCP.
❌ Plain file paths → AI can't see them
Show me C:\screenshots\bug.png
Result: AI sees text, not the image
❌ #file: references → Unreliable for images
#file:screenshot.png
Result: Empty <attachments> - AI sees nothing
✅ Drag-and-drop → Works, but manual and disruptive Result: AI sees image as base64 attachment, but you have to manually drag every single image
✅ Plain file paths with MCP → AI sees images instantly
#image-viewer Show me C:\screenshots\bug.png
Result: AI calls view_image tool and displays the image inline—no manual steps
You: "Analyze C:\test-results\failure-screenshot.png"
AI receives:
<attachments></attachments> <!-- Empty! -->
Just sees the text path—no image data.
What you have to do: Stop, drag the file into chat, drop it, then ask again.
You: "#image-viewer Analyze C:\test-results\failure-screenshot.png"
AI receives:
{
"content": [
{
"type": "text",
"text": "Image: failure-screenshot.png (124,433 bytes)"
},
{
"type": "image",
"data": "iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4CAIAAABnsVYU...",
"mimeType": "image/png"
}
]
}
AI sees the full image inline automatically.
What you do: Nothing extra—just type naturally with #image-viewer.
npx inchat-image-viewer-mcp just worksnpm install -g inchat-image-viewer-mcp
# or use npx (no install needed)
VS Code Copilot Chat – mcp.json:
{
"servers": {
"image-viewer": {
"command": "npx",
"args": ["inchat-image-viewer-mcp"]
}
}
}
Claude Desktop – Config file (%APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"image-viewer": {
"command": "npx",
"args": ["inchat-image-viewer-mcp"]
}
}
}
Reload VS Code or restart Claude Desktop to load the MCP server.
#image-viewer What's in C:\Users\me\screenshot.png?
#image-viewer Compare before.jpg and after.jpg in the results folder
#image-viewer Debug this error screenshot: D:\projects\test-failures\2026-01-20.png
The AI automatically uses the view_image tool—no manual attachment needed.
PNG · JPEG · GIF · BMP · WebP
MIT
Made with 🤖 by Ibrahim Oguntola
io.github.mindstone/mcp-server-microsoft-teams
com.mintmcp/outlook-email
helbertparanhos/resend-email-mcp
marlinjai/email-mcp
io.github.mindstone/mcp-server-email-imap
io.github.osamahassouna/email-playbook-mcp