mirror of
https://github.com/thedotmack/claude-mem
synced 2026-04-26 01:25:10 +02:00
The mcp-server.cjs script requires bun:sqlite, a Bun-specific built-in that is unavailable in Node.js. When Claude Code spawns the script using the shebang (#!/usr/bin/env node), the import fails with: Error: Cannot find module 'bun:sqlite' Fix: explicitly invoke bun as the command and pass the script as an arg, so the correct runtime is used regardless of the shebang line.
10 lines
162 B
JSON
10 lines
162 B
JSON
{
|
|
"mcpServers": {
|
|
"mcp-search": {
|
|
"type": "stdio",
|
|
"command": "bun",
|
|
"args": ["${CLAUDE_PLUGIN_ROOT}/scripts/mcp-server.cjs"]
|
|
}
|
|
}
|
|
}
|