@skedulo/memory-hub-mcp 0.2.6 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,12 +7,12 @@ set -u
7
7
  # The team's one deployed memory-hub function. MEMORY_HUB_FUNCTION_URL only needs to
8
8
  # be set to override this (e.g. pointing at a local `sked function dev` instance).
9
9
  FUNCTION_URL="${MEMORY_HUB_FUNCTION_URL:-https://dev-api.test.skl.io/function/memory-hub/memory-hub}"
10
- TOKEN="${MEMORY_HUB_MCP_TOKEN:-}"
10
+ TOKEN="${MEMORY_HUB_MCP_TOKEN:-${CLAUDE_PLUGIN_OPTION_TOKEN:-}}"
11
11
 
12
12
  if [ -z "$TOKEN" ]; then
13
13
  # A plugin install has no setup step of its own, so it says how to add the token.
14
14
  if [ -n "${CLAUDE_PLUGIN_ROOT:-}" ]; then
15
- printf '%s\n' '{"hookSpecificOutput": {"hookEventName": "SessionStart", "additionalContext": "memory-hub plugin: MEMORY_HUB_MCP_TOKEN is not set, so memory is off this session. Tell the user to run `npx -y @skedulo/memory-hub-mcp setup --code` in a terminal, then restart Claude Code."}}'
15
+ printf '%s\n' '{"hookSpecificOutput": {"hookEventName": "SessionStart", "additionalContext": "memory-hub plugin: MEMORY_HUB_MCP_TOKEN is not set, so memory is off this session. Tell the user to run `npx -y @skedulo/memory-hub-mcp setup --code` in a terminal (it logs in with sked and stores a token), or to paste a Skedulo API token with /plugin configure memory-hub@se-ai-memory-hub. Then restart Claude Code."}}'
16
16
  fi
17
17
  exit 0
18
18
  fi
@@ -4,7 +4,7 @@
4
4
  # degrades to injecting nothing.
5
5
  set -u
6
6
 
7
- TOKEN="${MEMORY_HUB_MCP_TOKEN:-}"
7
+ TOKEN="${MEMORY_HUB_MCP_TOKEN:-${CLAUDE_PLUGIN_OPTION_TOKEN:-}}"
8
8
  [ -n "$TOKEN" ] || exit 0
9
9
  command -v jq >/dev/null 2>&1 || exit 0
10
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skedulo/memory-hub-mcp",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "MCP server for the SE AI Memory Hub: recall and save developer memory from Claude Code and Claude Desktop.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {