You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
Eager-connect is now the default. The server connects to MT5 at startup on
the main thread, before entering the transport loop, instead of lazily on the
first tool call - so stdio clients (Claude Desktop / Claude Code) and HTTP
agents no longer hit a multi-minute first call while the MetaTrader5
C-extension initialises on FastMCP's asyncio event-loop thread. The startup
connect is non-fatal: if the terminal isn't up yet the server still starts and
falls back to the lazy path. Disable with serve --no-eager-connect or [mt5] eager_connect = false; the serve --eager-connect flag still works.
.mcp.json is no longer committed. It is per-user Claude Code install
config; register the server yourself with claude mcp add --transport stdio --scope project mt5-mcp -- python -m mt5_mcp serve (see docs/clients.md).
Cloning the repo still auto-loads the .claude/skills/.
Packaging
License metadata now uses the SPDX expression license = "MIT" (PEP 639)
instead of the deprecated table form plus license classifier.
The published source distribution is leaner: demo media, CI workflows, and
editor/agent config are excluded from the sdist (the wheel was already clean).
Added
CI runs ruff check as a lint gate.
Documentation
Clarified the Linux host-side bridge as a best-effort / unsupported alternative
to the recommended all-in-one Docker image; fixed broken setup-doc anchors and
stale version references; switched repo text to ASCII.