Skip to content
Skillpedia
βœ“ Official Β· OpenImageDebugger● Free and open sourceπŸ’» LocalπŸ”“ No API keyProgramming

OpenImageDebugger MCP

Lets your AI agent look at image buffers in a live gdb or lldb debugging session.

251 stars on GitHubby OpenImageDebuggerLicense MITUpdated 22 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add oid -- uvx oid-mcp

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Show me the buffer named input_image at this breakpoint.
Does the output buffer look the same as the reference buffer?

What it is

OpenImageDebugger is a tool that shows in-memory image buffers, such as OpenCV Mat or Eigen matrices, while you debug with GDB or LLDB. This MCP server gives AI agents eyes on those buffers in a live session. The readme provided covers the viewer, not the MCP tool names.

What it can do

  • View in-memory image buffers during a debug session
  • Work with OpenCV Mat and Eigen matrices and custom types
  • Inspect pixel values and contrast
  • Export buffers as PNG or matrix files

When to use

  • β€ΊWhen you are debugging image code and want the AI to see what a buffer looks like
  • β€ΊWhen you want to compare two image buffers at a breakpoint
  • β€ΊWhen you need to check unusual pixel values in a buffer

What you need

GDB 15.0.50+ or LLDB 18.1.3+ and Open Image Debugger built and loaded (CMake, a C++20 compiler, Python and OpenGL 2.1+). It is also available as a VS Code and JetBrains extension.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes. The project is open source on GitHub.

Which debuggers work?

GDB and LLDB, with Ubuntu as the main target and experimental macOS and Windows support.

Which buffer types work?

uint8, int16, uint16, int32, uint32, float and double, with up to four channels.

Can I use it in an IDE?

Yes. There are extensions for VS Code and its forks, and a plugin for CLion and Android Studio.

Can I define my own types?

Yes, you can describe them in a .oid/types.json file instead of writing Python.

Does it have tests?

The readme says there are currently no automated tests for any OS.

If it does not work

  • β€ΊRun python3 oid.py --test to check the installation shows the sample buffers.
  • β€ΊCheck the version needs: GDB 15.0.50+ or LLDB 18.1.3+, CMake 3.28.3+ and Python 3.12.3+.
  • β€ΊOn macOS use the Homebrew python3 and lldb, not the Xcode ones.

5 new skills a week. 1 minute to read.