LR

linkingooo/renderdoc-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

188 stars 25 forks 质量 63 趋势 1

linkingooo/renderdoc-mcp 是从 https://github.com/linkingooo/renderdoc-mcp. 导入的 MCP 候选服务器

概览

linkingooo/renderdoc-mcp 是从 https://github.com/linkingooo/renderdoc-mcp. 导入的 MCP 候选服务器

概述(AI 翻译)

⚠️ 免责声明

$\Large\color{#ff69b4}{\textsf{这是个人的 }}$\Large\color{#ff69b4}{\mathtt{ ✨ vibe\text{-}编码 ✨ }}$\Large\color{#ff69b4}{\textsf{项目 —}}$ $\Large\color{#ff69b4}{\textsf{为娱乐而造,不用于生产。}}$

$\small\color{gray}{\textsf{我真不明白为什么这个仓库有这么多星星…}}$

RenderDoc 的 MCP 服务器——让 AI 助手分析 GPU 帧捕获(.rdc 文件)进行图形调试和性能分析。

基于模型上下文协议构建,支持Claude Desktop、Claude Code以及任何兼容MCP的客户端。

特色

  • 42个工具涵盖完整的RenderDoc分析工作流程
  • **10个用于单调用分析的高级工具(绘制调用状态、帧概览、差分、批量导出、像素区域采样等)
  • 3 内置引导调试提示
  • 人类可读输出 — 混合模式、深度函数、拓扑以名称而非数字表示
  • GPU 个性检测 — 通过驱动名称自动识别 Adreno/Mali/PowerVR/Apple 特定陷阱
  • Headless — 无需图形界面,完全通过RenderDoc的Python重放API运行
  • 纯Python — 单pip install,无构建步骤

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

renderdoc-mcp

MCP server for RenderDoc — let AI assistants analyze GPU frame captures (.rdc files) for graphics debugging and performance analysis.

Built on the Model Context Protocol, works with Claude Desktop, Claude Code, and any MCP-compatible client.

Features

  • 42 tools covering the full RenderDoc analysis workflow
  • 10 high-level tools for one-call analysis (draw call state, frame overview, diff, batch export, pixel region sampling, etc.)
  • 3 built-in prompts for guided debugging
  • Human-readable output — blend modes, depth functions, topology shown as names not numbers
  • GPU quirk detection — auto-identifies Adreno/Mali/PowerVR/Apple-specific pitfalls from driver name
  • Headless — no GUI needed, runs entirely via RenderDoc’s Python replay API
  • Pure Python — single pip install, no build step
  • Supports D3D11, D3D12, OpenGL, Vulkan, OpenGL ES captures

Quick Start

1. Prerequisites

  • Python 3.10+
  • RenderDoc installed (download)
    • You need the renderdoc.pyd (Windows) or renderdoc.so (Linux) Python module
    • It ships with every RenderDoc installation

2. Install

git clone https://github.com/Linkingooo/renderdoc-mcp.git
cd renderdoc-mcp
pip install -e .

3. Find your renderdoc.pyd path

The Python module is in your RenderDoc install directory:

Platform Typical path
Windows C:\Program Files\RenderDoc\renderdoc.pyd
Linux /usr/lib/renderdoc/librenderdoc.so or where you built it

You need the directory containing this file.

4. Configure your MCP client

# Set the module path
export RENDERDOC_MODULE_PATH="/path/to/renderdoc"   # Linux/macOS
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "renderdoc": { "command": "python", "args": ["-m", "renderdoc_mcp"], "env": { "RENDERDOC_MODULE_PATH": "C:\\Program Files\\RenderDoc" } } } }