Skip to content

The cause of the freeze lies in the last line of the log #26

@muort521

Description

@muort521

json:
[R2 -> App (Message)] {"jsonrpc":"2.0","id":"0f80...","result":{"content":["0x000366c0 entry0",""]}}

The issue stems from the format of content:
The MCP protocol stipulates that content must be an array of objects, such as [{"type": "text", "text": "content..."}].
However, what was actually received was ["0x000366c0 entry0", ""] — which is an array of strings.
This is a bug in the r2mcp tool itself (it took a shortcut when handling list_entrypoints and directly inserted strings). The AI App received a data format it couldn't interpret, causing the parser to crash and the UI to freeze.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions