Closed
Description
Describe the feature or problem you’d like to solve
mcpcurl
does not support pretty-printing JSONL text responses:
Proposed solution
Fallback to unmarshalling the text response into []map[string]interface{}
.
Additional context
Example:
$ ./mcpcurl --stdio-server-cmd "./github-mcp-server stdio" tools list_pull_requests --owner github --repo github-mcp-server --page 1 --perPage 1 --pretty
error printing response: failed to parse text content: json: cannot unmarshal array into Go value of type map[string]interface {}