Skip to content

bug: log viewer MCP server returns empty results after JSON logging changes #1035

@myakove

Description

@myakove

Problem

The log viewer MCP servers (github-webhook-logs-myakove, github-webhook-logs-redhat-) return 0 entries for all queries via mcpl. Direct HTTP queries to the same server work correctly.

Steps to Reproduce

# Via MCP — returns 0 entries
mcpl call github-webhook-logs-redhat- get_log_entries '{"limit": 5}'

# Direct HTTP — returns entries correctly  
curl -s "http://192.168.10.44:5001/logs/api/entries?limit=5"

Likely Cause

This started after the unified JSON logging changes in PR #1031. The MCP server may be using a different parsing path or the response format may have changed in a way the MCP bridge doesn't handle.

Expected Behavior

MCP get_log_entries should return the same results as the direct HTTP API.

Deliverables

  • Investigate MCP server bridge configuration
  • Fix response format compatibility
  • Verify MCP queries return correct results

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions