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
{{ message }}
Repository navigation
Route pylink-square-mcp through J-Link Remote Server backend #52
The pylink-square MCP server crashes periodically. Root cause hypothesis: every tool call creates a fresh pylink.JLink(), opens USB, connects, and discards -> repeated DLL load/unload + USB churn in a long-lived process.
Goal:
Make J-Link Remote Server on localhost (default port 19020) the default connection backend for all scripts in tools/pylink-square-mcp.
mcp_server.py should launch JLinkRemoteServer (-Port, optional -USB <serial/nickname>) on startup if it is not already listening, then persist across MCP restarts.
Per SEGGER KB (https://kb.segger.com/J-Link_Remote_Server), JLinkRemoteServerCLExe takes -Port and -USB (S/N or nickname) options; device/speed stay client-side in pylink connect(). Client connects via jlink.open(ip_addr='127.0.0.1:').
Activity
emrainey commentedon Aug 11, 2026
Implemented on branch
issue-52→ PR #53.mcp_server.pynow launchesJLinkRemoteServer -Port <port> [-USB <serial>]on startup if not listening and leaves it running across MCP restarts.--device/--speed/--remote-port/--usb-serialCLI opts withJLINK_MCP_*env fallbacks.tools(pylink-square-mcp): route through persistent J-Link Remote Serv…
Route pylink-square-mcp through a persistent J-Link Remote Server (#53)