Remove hardcoding of logging and repositlories. Config options now. - #12
Open
RandyChihuahua wants to merge 1 commit into
Open
RandyChihuahua wants to merge 1 commit into
RandyChihuahua wants to merge 1 commit into
Conversation
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.
Configurable workspace paths and logging for the MCP host
The MCP server no longer guesses which repo it edits or where it logs — paths and log
destination come from flags or
TORTOOLS_*env vars, and it prints what it resolved andfrom which source on every startup. Two TOR_Core checkouts on one machine is normal, and
nothing in the output used to say which one was being written to.
Precedence: command line → environment → saved config → auto-detection, applied per path.
Behaviour changes
true);--verboserestores it.C:\Program Files (x86)\Steam\...removed — dead on anynon-C: install. The
<repo>/.logs/mcp.logdefault is unchanged.Worth knowing
Console.WriteLine, which on astdio server lands on the JSON-RPC channel — 54 non-JSON lines before the handshake.
Redirected
Console.Outto stderr in the host rather than touching 111 shared call sites.ModelContextProtocol0.2.0-preview.2 → 2.2.0, source-compatible, no code changes.Tested: manual, against the real workspace — both override paths, log fallback, a
deliberately wrong path, and over the wire via
claude mcp add(strings_queryreturned236 hits from
tor_strings.xml). Existing suite passes.