Viewfinder

⭐ — (2 endorsements) 📥 242 downloads 📌 vv2.1.3+26.2 📅 3/31/2026
🟡 Updated this year

By xirreal · fabric

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 8/24/2026 📅 Created: 3/31/2026
⚠️ Install Order · 2 steps
1🛠️ Forge — Minecraft Forge (mod loader) Download ↗
2🛠️ Fabric — Fabric Loader Download ↗

Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.

🔍 Analysis

  • 🏆 #890 of 909 fabric mods in this game by downloads

📋 About This Mod

# Viewfinder A shader debugging mod for (https://irisshaders.dev/) on Fabric that exposes an MCP server and in-game commands for AI agents to inspect, test, and automate shader development workflows. ## Features - **Shader reload and error list** - trigger shader reloads and capture compilation errors - **On-demand GPU profiles** - collect hierarchical per-pass timings over a fixed frame window without permanent query overhead - **Pipeline and program inspection** - observe nested Iris passes and reflect linked program uniforms, UBOs, and SSBOs - **Texture dumping** - inspect or export main/alternate colortex, depth, shadow, noise, and custom textures - **SSBO buffer dumping** - dump shader storage buffer objects to disk for analysis - **Screenshot scheduling** - schedule screenshots with configurable frame delay (for PT) - **Patched shader listing** - find which patched shader errored programmatically by listing all and searching for "errored" - **Interactive chat output** - copy paths, open dumped files, and insert follow-up commands from chat - **Agent diagnostics snapshot** - one JSON payload with shaderpack, render, errors, metrics, textures, SSBOs, and suggested next actions - **Bounded inspection probes** - inspect texture stats/pixels and SSBO byte previews before dumping large GPU resources - **Pass output capture** - export framebuffer attachments at the end of a selected Iris pass - **Shader mutation** - edit directory-pack sources or options and reload with structured diagnostics - **Deterministic scenes** - position the authoritative singleplayer player, set time/weather, and freeze or step ticks ## Installation 1. Install (https://fabricmc.net/) for Minecraft 26.1 or 26.2 2. Install (https://modrinth.com/mod/fabric-api) and (https://modrinth.com/mod/iris) (which requires (https://modrinth.com/mod/sodium)) 3. Drop the Viewfinder `.jar` matching your Minecraft version into your `mods/` folder 4. For MCP installation, (https://github.com/xirreal/viewfinder). ## Usage ### In-game commands All commands are registered under `/viewfinder`: | Command | Description | |---|---| | `/viewfinder status` | Show current shaderpack name, error count, and MCP address | | `/viewfinder snapshot` | Summarize the agent diagnostics snapshot | | `/viewfinder reload` | Reload shaders and report any compilation errors | | `/viewfinder errors` | List all captured shader errors | | `/viewfinder errors all` | List the full captured error buffer | | `/viewfinder errors clear` | Clear captured shader errors | | `/viewfinder screenshot ` | Take a screenshot (optionally delayed by N frames) | | `/viewfinder screenshot result` | Show the path of the last screenshot | | `/viewfinder metrics` | Display the last captured GPU timings | | `/viewfinder metrics capture ` | Profile the next fixed number of frames | | `/viewfinder metrics reset` | Clear collected GPU timing samples | | `/viewfinder ssbo list` | List active SSBO buffers | | `/viewfinder ssbo inspect <index> ` | Preview SSBO bytes as hex, int, uint, and float values | | `/viewfinder ssbo dump <index>` | Dump an SSBO buffer to `ssbo_dumps/` | | `/viewfinder texture list` | List available colortex and custom textures | | `/viewfinder texture inspect name <name> ` | Probe texture metadata, samples, and channel statistics by name | | `/viewfinder texture inspect id <id> ` | Probe texture metadata, samples, and channel statistics by GL id | | `/viewfinder texture sample name <name> <x> <y> ` | Read a specific texture pixel by name | | `/viewfinder texture sample id <id> <x> <y> ` | Read a specific texture pixel by GL id | | `/viewfinder texture dump name <name> ` | Dump a texture by name (PNG or raw) | | `/viewfinder texture dump id <id> ` | Dump a texture by GL id (PNG or raw) | | `/viewfinder patched_shaders` | List Iris patched shader files | Chat output uses clickable controls where Minecraft supports them: dumped file paths can be opened or copied, list output includes dump command suggestions, and captured errors include copy buttons for full messages and stack traces. ### MCP server When the Minecraft client starts, Viewfinder automatically starts a stateless Streamable HTTP MCP server at: ```text http://127.0.0.1:7150/mcp ```

# Viewfinder

A shader debugging mod for (https://irisshaders.dev/) on Fabric that exposes an MCP server and in-game commands for AI agents to inspect, test, and automate shader development workflows.

## Features

  • Shader reload and error list - trigger shader reloads and capture compilation errors
  • On-demand GPU profiles - collect hierarchical per-pass timings over a fixed frame window without permanent query overhead
  • Pipeline and program inspection - observe nested Iris passes and reflect linked program uniforms, UBOs, and SSBOs
  • Texture dumping - inspect or export main/alternate colortex, depth, shadow, noise, and custom textures
  • SSBO buffer dumping - dump shader storage buffer objects to disk for analysis
  • Screenshot scheduling - schedule screenshots with configurable frame delay (for PT)
  • Patched shader listing - find which patched shader errored programmatically by listing all and searching for "errored"
  • Interactive chat output - copy paths, open dumped files, and insert follow-up commands from chat
  • Agent diagnostics snapshot - one JSON payload with shaderpack, render, errors, metrics, textures, SSBOs, and suggested next actions
  • Bounded inspection probes - inspect texture stats/pixels and SSBO byte previews before dumping large GPU resources
  • Pass output capture - export framebuffer attachments at the end of a selected Iris pass
  • Shader mutation - edit directory-pack sources or options and reload with structured diagnostics
  • Deterministic scenes - position the authoritative singleplayer player, set time/weather, and freeze or step ticks

## Installation

1. Install (https://fabricmc.net/) for Minecraft 26. 1 or 26. 2 2. Install (https://modrinth.com/mod/fabric-api) and (https://modrinth.com/mod/iris) (which requires (https://modrinth.com/mod/sodium)) 3. Drop the Viewfinder `.jar` matching your Minecraft version into your `mods/` folder 4. For MCP installation, (https://github.com/xirreal/viewfinder).

### In-game commands

All commands are registered under `/viewfinder`:

| Command | Description | |---|---| | `/viewfinder status` | Show current shaderpack name, error count, and MCP address | | `/viewfinder snapshot` | Summarize the agent diagnostics snapshot | | `/viewfinder reload` | Reload shaders and report any compilation errors | | `/viewfinder errors` | List all captured shader errors | | `/viewfinder errors all` | List the full captured error buffer | | `/viewfinder errors clear` | Clear captured shader errors | | `/viewfinder screenshot ` | Take a screenshot (optionally delayed by N frames) | | `/viewfinder screenshot result` | Show the path of the last screenshot | | `/viewfinder metrics` | Display the last captured GPU timings | | `/viewfinder metrics capture ` | Profile the next fixed number of frames | | `/viewfinder metrics reset` | Clear collected GPU timing samples | | `/viewfinder ssbo list` | List active SSBO buffers | | `/viewfinder ssbo inspect ` | Preview SSBO bytes as hex, int, uint, and float values | | `/viewfinder ssbo dump ` | Dump an SSBO buffer to `ssbo_dumps/` | | `/viewfinder texture list` | List available colortex and custom textures | | `/viewfinder texture inspect name ` | Probe texture metadata, samples, and channel statistics by name | | `/viewfinder texture inspect id ` | Probe texture metadata, samples, and channel statistics by GL id | | `/viewfinder texture sample name ` | Read a specific texture pixel by name | | `/viewfinder texture sample id ` | Read a specific texture pixel by GL id | | `/viewfinder texture dump name ` | Dump a texture by name (PNG or raw) | | `/viewfinder texture dump id ` | Dump a texture by GL id (PNG or raw) | | `/viewfinder patched_shaders` | List Iris patched shader files |

Chat output uses clickable controls where Minecraft supports them: dumped file paths can be opened or copied, list output includes dump command suggestions, and captured errors include copy buttons for full messages and stack traces.

### MCP server

When the Minecraft client starts, Viewfinder automatically starts a stateless Streamable HTTP MCP server at:

```text http://127. 0. 0. 1:7150/mcp ```

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Mods
Author
xirreal
Version
v2.1.3+26.2
Downloads
242
Endorsements
2
Category
fabric
Created
3/31/2026
Updated
8/24/2026
Game Versions
26.2
Tags
utility

🔧 How to Install Minecraft Mods Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Mods →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Mods versions does Viewfinder support?

The author lists 26.2. Other versions may work but are untested by the author.

What is the latest version of Viewfinder?

Version v2.1.3+26.2, published 2026-08-24 with 242 downloads recorded at the source.

Keep browsing — more Minecraft Mods mods await

📋 All Minecraft Mods Mods 🏆 Top 25 📂 More fabric 👤 More by xirreal 🔎 Similar Mods 🌐 Best fabric (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods