Skip to content

memory_slot_* tools return 500 on latest v0.9.27 — PR #894 fix not released #1068

Closed

Description

@pgjh

Describe the bug

All memory_slot_* MCP tools (memory_slot_list, memory_slot_create, etc.) return 500 Internal Server Error on the latest published version v0.9.27.

Environment

  • agentmemory MCP proxy: v0.9.27 (latest npm)
  • iii backend: v0.11.2
  • AGENTMEMORY_SLOTS=true set in ~/.agentmemory/.env

Root cause

PR #894 already contains the fix — MCP proxy needs to check isSlotsEnabled() before dispatching slot tools. Without this check, the proxy registers slot tools unconditionally, dispatches them to iii, and iii returns 500 because the mem::slot-* SDK handlers aren't registered when slots are disabled.

Expected behavior

  • When AGENTMEMORY_SLOTS=true: slot tools should work
  • When AGENTMEMORY_SLOTS is unset: slot tools should be hidden from tools/list, not return 500

Workaround

None. The fix is merged in PR #894 but hasn't been released yet. Please cut a new release (v0.9.28?) that includes this fix.

Activity

  1. pgjh commented on Jul 18, 2026

    @pgjh
    Author

    PR #894 has the fix merged. Awaiting release > v0.9.27.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions