
Image Viewer
io.github.OguntolaIbrahim由 GitHub 帳號 OguntolaIbrahim 發布v1.0.1更新於 Oct 24, 2026
InChat Image Viewer MCP - View images inline in AI chat by just providing the file path
概覽
一個本機 MCP 伺服器,讓 AI 助理依純文字檔案路徑讀取圖片,並在對話中直接顯示。
- 可以做什麼
- 透過 view_image 工具(文中唯一提到的工具)依純文字路徑讀取圖片並內嵌回傳,讓助理直接看到影像。支援 PNG、JPEG、GIF、BMP、WebP 等常見格式。隨圖片回傳檔名、位元組大小等基本資訊。可在 VS Code Copilot Chat、Claude Desktop 等用戶端使用,省去手動拖曳圖片。
- 適用情境
- 適用於所用聊天用戶端無法從檔案路徑讀取圖片(例如 VS Code Copilot Chat)的情況,希望助理分析截圖、測試失敗圖片或前後對照圖,而不必每次手動拖入檔案。
- 執行需求
- 以本機程序方式透過 stdio 執行,使用 npx 從 npm 套件 inchat-image-viewer-mcp 啟動,需 Node.js 及取得該套件的網路存取。未宣告驗證、環境變數或標頭。僅限桌面用戶端,不能作為網頁執行。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Image Viewer,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
InChat Image Viewer MCP
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.
Why This Exists
What DOESN'T Work in VS Code Copilot Chat
❌ Plain file paths → AI can't see them
Result: AI sees text, not the image
❌ #file: references → Unreliable for images
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
What This MCP Solves
✅ Plain file paths with MCP → AI sees images instantly
Result: AI calls view_image tool and displays the image inline—no manual steps
How It Works: Before vs After
WITHOUT InChat Image Viewer MCP
You: "Analyze C:\test-results\failure-screenshot.png"
AI receives:
Just sees the text path—no image data.
What you have to do: Stop, drag the file into chat, drop it, then ask again.
WITH InChat Image Viewer MCP
You: "#image-viewer Analyze C:\test-results\failure-screenshot.png"
AI receives:
AI sees the full image inline automatically.
What you do: Nothing extra—just type naturally with #image-viewer.
Features
- 📸 Path-to-image: Type the path, AI sees the image
- 🖼️ Multi-format: PNG, JPEG, GIF, BMP, WebP
- ⚡ Zero-config:
npx inchat-image-viewer-mcpjust works - 🔌 Works with: VS Code Copilot Chat, Claude Desktop
Quick Start
1. Install (Optional)
2. Add to Your AI Tool
VS Code Copilot Chat – mcp.json:
Claude Desktop – Config file (%APPDATA%\Claude\claude_desktop_config.json on Windows):
3. Restart
Reload VS Code or restart Claude Desktop to load the MCP server.
Usage Examples
The AI automatically uses the view_image tool—no manual attachment needed.
Supported Formats
PNG · JPEG · GIF · BMP · WebP
License
MIT
Made with 🤖 by Ibrahim Oguntola
來源:README.md,提交 9d9b1a2
工具
0版本歷史
1- v1.0.1最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。