mcp-reasoner 2.0.0 (new formula)#1387
Open
chenrui333 wants to merge 1 commit into
Open
Conversation
Owner
chenrui333
commented
Aug 27, 2025
Signed-off-by: Rui Chen <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new Homebrew formula for the mcp-reasoner npm package (v2.0.0) to install and expose an mcp-reasoner executable.
Changes:
- Added
Formula/m/mcp-reasoner.rbdefining the new formula (npm source, Node dependency). - Installs the package via
npm installand provides abin/mcp-reasonerwrapper. - Adds a basic JSON-RPC initialization/tools-list formula test using
pipe_output.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| #!/bin/bash | ||
| exec "#{Formula["node"].opt_bin}/node" \ | ||
| "#{libexec}/lib/node_modules/@mseep/mcp-reasoner/dist/index.js" "$@" | ||
| SH |
There was a problem hiding this comment.
The wrapper script written to bin/"mcp-reasoner" is created via Pathname#write, which does not set the executable bit. As a result, the installed mcp-reasoner entrypoint will typically be non-executable (mode 0644) and the formula’s test/runtime invocation will fail. Make the script executable (e.g., chmod it) or use a Homebrew helper that writes an executable wrapper.
Suggested change
| SH | |
| SH | |
| (bin/"mcp-reasoner").chmod 0o755 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.