inspector icon indicating copy to clipboard operation
inspector copied to clipboard

Some base64 causes error to show

Open odrobnik opened this issue 7 months ago • 0 comments

Describe the bug I found that for a few MCP resources, like mp3 or pdf instead of base64 showing up in the inspector on the blob field, instead a weird error message shows. I believe this to be a regressions, I hadn't noticed that previously.

To Reproduce return the contents of an mp3 file

Expected behavior I expect to see a result like this:

Image

But instead I see this:

Image

The problem appears for files of sizes like 4.2 MB or 5.1 MB. Could it be that your base64 validation cannot handle those sizes?

odrobnik avatar May 24 '25 22:05 odrobnik