Skip to main content
Glama
ZylNice

RenderDoc MCP Server

by ZylNice

RenderDoc MCP Server

作为RenderDoc UI扩展运行的MCP服务器。AI助手可以访问RenderDoc的捕获数据,协助进行图形调试。

架构

Claude/AI Client (stdio)
        │
        ▼
MCP Server Process (Python + FastMCP 2.0)
        │ File-based IPC (%TEMP%/renderdoc_mcp/)
        ▼
RenderDoc Process (Extension)

由于RenderDoc内置的Python没有socket模块,因此使用基于文件的IPC进行通信。

Related MCP server: RenderDoc MCP Server

设置

1. 安装RenderDoc扩展

python scripts/install_extension.py

扩展将安装到 %APPDATA%\qrenderdoc\extensions\renderdoc_mcp_bridge

2. 在RenderDoc中启用扩展

  1. 启动RenderDoc

  2. 工具 > 管理扩展

  3. 启用“RenderDoc MCP Bridge”

3. 安装MCP服务器

uv tool install
uv tool update-shell  # PATHに追加

重新启动shell后,即可使用 renderdoc-mcp 命令。

注意:添加 --editable 后,源代码的更改会立即生效(开发时很方便)。 若要安装为稳定版,请使用 uv tool install .

4. 配置MCP客户端

Claude Desktop

添加到 claude_desktop_config.json

{
  "mcpServers": {
    "renderdoc": {
      "command": "renderdoc-mcp"
    }
  }
}

Claude Code

添加到 .mcp.json

{
  "mcpServers": {
    "renderdoc": {
      "command": "renderdoc-mcp"
    }
  }
}

使用方法

  1. 启动RenderDoc并打开捕获文件(.rdc)

  2. 从MCP客户端(如Claude)访问RenderDoc的数据

MCP工具列表

工具

说明

get_capture_status

检查捕获的加载状态

get_draw_calls

以层级结构获取绘制调用列表

get_draw_call_details

获取特定绘制调用的详细信息

get_shader_info

获取着色器的源代码・常量缓冲区的值

get_buffer_contents

获取缓冲区的内容(Base64)

get_texture_info

获取纹理的元数据

get_texture_data

获取纹理的像素数据(Base64)

get_pipeline_state

获取管线状态

使用示例

获取绘制调用列表

get_draw_calls(include_children=true)

获取着色器信息

get_shader_info(event_id=123, stage="pixel")

获取管线状态

get_pipeline_state(event_id=123)

获取纹理数据

# 2Dテクスチャのmip 0を取得
get_texture_data(resource_id="ResourceId::123")

# 特定のmipレベルを取得
get_texture_data(resource_id="ResourceId::123", mip=2)

# キューブマップの特定の面を取得 (0=X+, 1=X-, 2=Y+, 3=Y-, 4=Z+, 5=Z-)
get_texture_data(resource_id="ResourceId::456", slice=3)

# 3Dテクスチャの特定の深度スライスを取得
get_texture_data(resource_id="ResourceId::789", depth_slice=5)

部分获取缓冲区数据

# バッファ全体を取得
get_buffer_contents(resource_id="ResourceId::123")

# オフセット256から512バイト取得
get_buffer_contents(resource_id="ResourceId::123", offset=256, length=512)

要求

  • Python 3.10+

  • uv

  • RenderDoc 1.20+

注意:仅在Windows + DirectX 11环境下进行了操作确认。 在Linux/macOS + Vulkan/OpenGL环境下也可能运行,但尚未验证。

许可证

MIT

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Live browser debugging for AI assistants — DOM, console, network via MCP.

  • Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only

  • Provides AI assistants with direct access to Mapbox developer APIs and documentation.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ZylNice/RenderdocMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server