Skip to content

remove pretty print json flag #179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 8, 2025
Merged

remove pretty print json flag #179

merged 1 commit into from
Apr 8, 2025

Conversation

mntlty
Copy link
Collaborator

@mntlty mntlty commented Apr 8, 2025

Reverts #114

This change breaks the protocol, which expects json to be separated by newlines. To avoid confusion, this is being reverted.
Instead, users are encouraged to use:

  1. mcpcurl
  2. use script/prettyprint-log to format log results

@Copilot Copilot AI review requested due to automatic review settings April 8, 2025 14:12
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR reverts the changes introduced in PR #114, restoring the previous JSON output behavior that separates JSON messages by newlines.

  • Reverts deletion of newline-separated JSON to comply with protocol requirements
  • Removes the "pretty-print-json" flag from configuration and associated code changes

Copy link
Collaborator

@juruen juruen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@mntlty mntlty merged commit 936b24c into main Apr 8, 2025
16 checks passed
@mntlty mntlty deleted the remove_pretty_print_json branch April 8, 2025 15:19
manian0430 pushed a commit to ChrisLally/github-mcp-server that referenced this pull request Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants