This release adds 1 notable feature for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
+13 more
ReleasePort's take
Light signalCodeAbra/iai-mcp v0.4.1 fixes GIL contention between REM cycles and MCP requests that prevented memory_recall timeouts. The _tick_body now yields the REM loop on mcp_socket activity.
Why it matters: Upgrade to v0.4.1 if memory_recall operations are timing out due to concurrent REM cycle and MCP request activity.
Summary
AI summaryFixed GIL contention between REM cycles and MCP requests preventing memory_recall timeouts.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Feature | Medium |
IAI_MCP_SESSION_CAPTURE_CLI env var overrides CLI binary path in session hook IAI_MCP_SESSION_CAPTURE_CLI env var overrides CLI binary path in session hook Source: llm_adapter@2026-05-21 Confidence: low |
— |
| Bugfix | Medium |
_tick_body yields REM loop on mcp_socket activity, preventing memory_recall timeouts _tick_body yields REM loop on mcp_socket activity, preventing memory_recall timeouts Source: llm_adapter@2026-05-21 Confidence: high |
— |
| Refactor | Medium |
INTERRUPT_RECENT_ACTIVITY_WINDOW_SEC constant moved to module scope INTERRUPT_RECENT_ACTIVITY_WINDOW_SEC constant moved to module scope Source: llm_adapter@2026-05-21 Confidence: low |
— |
| Refactor | Medium |
Two regression tests added for MCP-yield branch Two regression tests added for MCP-yield branch Source: llm_adapter@2026-05-21 Confidence: low |
— |
Full changelog
What's changed
Fixed
- GIL contention between REM cycles and MCP requests:
_tick_bodynow yields the REM loop whenmcp_socketreports active connections or recent activity, preventingmemory_recalltimeouts during long consolidation runs. INTERRUPT_RECENT_ACTIVITY_WINDOW_SECpromoted to module scope (was duplicated as a local insidemain()).
Added
IAI_MCP_SESSION_CAPTURE_CLIenv var for developer-override of the CLI binary path in the session-capture hook.- 2 regression tests for the MCP-yield branch.
Full changelog: https://github.com/CodeAbra/iai-mcp/blob/main/CHANGELOG.md#041--2026-05-14
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About CodeAbra/iai-mcp
All releases →Related context
Related tools
Earlier breaking changes
- v0.4.0 Hook log marker format changed from 'cache-hit fresh' to 'cache-hit age='
- v0.4.0 Deferred-capture retry replaces old rename-once-and-skip behavior
- v0.4.0 Removed 24-hour staleness cap from session-recall hook
- v0.2.0 IAI_MCP_EMBED_QUANTIZE accepts only int8 (lowercase) or unset; other values crash daemon at startup.
Beta — feedback welcome: [email protected]