refactor: import MCP core from autofit[mcp] instead of a local copy#21
Merged
Conversation
Delete the byte-identical `autoassistant/mcp/tools.py`; `server.py` is now a thin launcher that pins config (autonerves-only, before any autofit import) and builds `autofit.mcp.core_server()`. Core test moves to PyAutoFit. Marker-opt the launcher out of the skill-API audit (it is not skill-API surface). Skill install line -> `pip install autofit[mcp]`. Part of PyAutoLabs/PyAutoFit#1403 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Companion to PyAutoLabs/PyAutoFit#1403. Deletes the byte-identical
autoassistant/mcp/tools.py;server.pyis now a thin launcher that pins config (autonerves-only, before any autofit import) and buildsautofit.mcp.core_server(). Core test moved to PyAutoFit. Launcher marker-opted-out of the skill-API audit (not skill-API surface); skill install line ->pip install autofit[mcp].Verified: MCP stdio handshake from a neutral CWD + minimal env (7 tools, gaussian-first, clean stdout); config-pin overrides a poison CWD config. Merge after PyAutoLabs/PyAutoFit#1403.
Part of PyAutoLabs/PyAutoFit#1403
🤖 Generated with Claude Code