Skip to content

CodeAbra/iai-mcp

v0.4.1 Feature

This release adds 1 notable feature for engineering teams evaluating rollout.

Published 20d MCP Developer Tools
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

ai-agents ai-memory claude claude-code embeddings episodic-memory
+13 more
lancedb llm-tools local-first long-term-memory mcp mcp-server memory model-context-protocol openclaw python semantic-search sentence-transformers vector-db

ReleasePort's take

Light signal
editorial:auto 13d

CodeAbra/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 summary

Fixed GIL contention between REM cycles and MCP requests preventing memory_recall timeouts.

Changes in this release

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_body now yields the REM loop when mcp_socket reports active connections or recent activity, preventing memory_recall timeouts during long consolidation runs.
  • INTERRUPT_RECENT_ACTIVITY_WINDOW_SEC promoted to module scope (was duplicated as a local inside main()).

Added

  • IAI_MCP_SESSION_CAPTURE_CLI env 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

Track CodeAbra/iai-mcp

Get notified when new releases ship.

Sign up free

About CodeAbra/iai-mcp

All releases →

Related context

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]