Skip to content

refactor: import MCP core from autofit[mcp] instead of a local copy#21

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/graduate-mcp-autofit-extra
Jul 21, 2026
Merged

refactor: import MCP core from autofit[mcp] instead of a local copy#21
Jammy2211 merged 1 commit into
mainfrom
feature/graduate-mcp-autofit-extra

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Companion to PyAutoLabs/PyAutoFit#1403. Deletes 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 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

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>
@Jammy2211
Jammy2211 merged commit 89811c2 into main Jul 21, 2026
1 check failed
@Jammy2211
Jammy2211 deleted the feature/graduate-mcp-autofit-extra branch July 21, 2026 16:20
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.

1 participant